public static class CoverageSlicesCatalog.WrappedCoverageSlicesCatalog extends CoverageSlicesCatalog
Starting from 14.x it also can be setup on top of a shared PostGIS datastore.
Using a PostGIS shared index, we need to add a LOCATION attribute to distinguish the different granules, as well as add a Filter setting the LOCATION value to each query from a reader (1 reader <-> 1 file <-> 1 location)
CoverageSlicesCatalog.WrappedCoverageSlicesCatalogIMAGE_INDEX_ATTR| Constructor and Description |
|---|
WrappedCoverageSlicesCatalog(DataStoreConfiguration config,
File file,
Repository repository) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeAggregateFunction(Query query,
FeatureCalc function) |
List<CoverageSlice> |
getGranules(Query q) |
void |
removeGranules(String typeName,
Filter filter,
Transaction transaction) |
addGranule, addGranules, createType, createType, dispose, finalize, getBounds, getQueryCapabilities, getSchema, getTypeNames, hasTypeName, purgepublic WrappedCoverageSlicesCatalog(DataStoreConfiguration config, File file, Repository repository) throws IOException
IOExceptionpublic List<CoverageSlice> getGranules(Query q) throws IOException
getGranules in class CoverageSlicesCatalogIOExceptionpublic void computeAggregateFunction(Query query, FeatureCalc function) throws IOException
computeAggregateFunction in class CoverageSlicesCatalogIOExceptionpublic void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException
removeGranules in class CoverageSlicesCatalogIOExceptionCopyright © 1996–2019 Geotools. All rights reserved.