Package org.geotools.coverage.io.catalog
Interface CoverageSlicesCatalog.SliceProvider
- All Known Implementing Classes:
NetCDFSliceProvider
- Enclosing class:
- CoverageSlicesCatalog
public static interface CoverageSlicesCatalog.SliceProvider
Resolver that can translate GeoTools
Query objects into a stream of matching slices.
Implementations are expected to:
- Recognize TIME/ELEVATION (and other dimension) constraints in
Query#getFilter() - Compute the matching tuples and their
imageIndexwithout materializing all slices - Build
CoverageSliceinstances (or at least their originatorSimpleFeature) lazily
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReferencedEnvelopeOptional fast-path for bounds.default intOptional fast-path for counts.Return the SliceIterator object to iterate on the CoverageSlices resulting from the provided Query.
-
Method Details
-
iterate
Return the SliceIterator object to iterate on the CoverageSlices resulting from the provided Query.- Throws:
IOException
-
count
Optional fast-path for counts. Implementations may return-1to indicate that the catalog should fall back to counting by iteration.- Throws:
IOException
-
bounds
Optional fast-path for bounds. Implementations may returnnullto indicate that the catalog should fall back to computing bounds by iteration.- Throws:
IOException
-