Class HomogeneousCRSAcceptor
Object
HomogeneousCRSAcceptor
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
accepts
(GridCoverage2DReader reader, String inputCoverageName, File fileBeingProcessed, ImageMosaicConfigHandler mosaicConfigHandler)
-
Constructor Details
-
HomogeneousCRSAcceptor
public HomogeneousCRSAcceptor()
-
-
Method Details
-
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
-