Class HomogeneousCRSAcceptor
- Object
-
- HomogeneousCRSAcceptor
-
- All Implemented Interfaces:
GranuleAcceptor
public class HomogeneousCRSAcceptor extends Object implements GranuleAcceptor
Check for homogeneous CRS in the upcoming granule.If the upcoming granules has a CRS which is not homogenenous with the one for the mosaic we have to discard it.
-
-
Constructor Summary
Constructors Constructor Description HomogeneousCRSAcceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(GridCoverage2DReader reader, String inputCoverageName, File fileBeingProcessed, ImageMosaicConfigHandler mosaicConfigHandler)
-
-
-
Method Detail
-
accepts
public boolean accepts(GridCoverage2DReader reader, String inputCoverageName, File fileBeingProcessed, ImageMosaicConfigHandler mosaicConfigHandler) throws IOException
- Specified by:
accepts
in interfaceGranuleAcceptor
- Parameters:
reader
- the coverage being added to the cataloginputCoverageName
- the name of the coverage being addedfileBeingProcessed
- File handle of the coverage being handledmosaicConfigHandler
- the mosaic config handler being used- Returns:
- whether coverage should be added to the mosaic or not
- Throws:
IOException
-
-