public class HomogeneousCRSAcceptor extends Object implements GranuleAcceptor
If the upcoming granules has a CRS which is not homogenenous with the one for the mosaic we have to discard it.
| Constructor and Description |
|---|
HomogeneousCRSAcceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(GridCoverage2DReader coverage,
String inputCoverageName,
File fileBeingProcessed,
ImageMosaicConfigHandler mosaicConfigHandler) |
public boolean accepts(GridCoverage2DReader coverage, String inputCoverageName, File fileBeingProcessed, ImageMosaicConfigHandler mosaicConfigHandler) throws IOException
accepts in interface GranuleAcceptorcoverage - 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 usedIOExceptionCopyright © 1996–2019 Geotools. All rights reserved.