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.WrappedCoverageSlicesCatalog
IMAGE_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, purge
public WrappedCoverageSlicesCatalog(DataStoreConfiguration config, File file, Repository repository) throws IOException
IOException
public List<CoverageSlice> getGranules(Query q) throws IOException
getGranules
in class CoverageSlicesCatalog
IOException
public void computeAggregateFunction(Query query, FeatureCalc function) throws IOException
computeAggregateFunction
in class CoverageSlicesCatalog
IOException
public void removeGranules(String typeName, Filter filter, Transaction transaction) throws IOException
removeGranules
in class CoverageSlicesCatalog
IOException
Copyright © 1996–2019 Geotools. All rights reserved.