Interface TiledResource
- All Superinterfaces:
Resource
- All Known Subinterfaces:
WritableTiledResource
- All Known Implementing Classes:
TiledGridCoverageResource
A resource which content can be accessed by smaller chunks called tiles.
The use of
TiledResource is not strictly necessary for efficient data loading because
Resource implementations should automatically take advantage of tiling when answering requests.
However, clients may use this information for optimizing their loading strategy.
A TiledResource may contain multiple TileMatrixSet instances,
each one for a different CoordinateReferenceSystem.
Most format specifications only support a single TileMatrixSet,
but a few ones like WMTS may have several.
- Since:
- 1.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface Resource
Resource.FileSetModifier and TypeInterfaceDescriptionstatic classPaths to the files potentially used by the enclosing resource. -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends TileMatrixSet> Returns the collection of all available tile matrix sets in this resource.Methods inherited from interface Resource
addListener, getFileSet, getIdentifier, getMetadata, removeListenerModifier and TypeMethodDescriptiondefault <T extends StoreEvent>
voidaddListener(Class<T> eventType, StoreListener<? super T> listener) Registers a listener to notify when the specified kind of event occurs in this resource or in children.default Optional<Resource.FileSet> Gets the paths to the files potentially used by this resource.default Optional<GenericName> Returns the resource persistent identifier.Returns information about this resource.default <T extends StoreEvent>
voidremoveListener(Class<T> eventType, StoreListener<? super T> listener) Unregisters a listener previously added to this resource for the given type of events.
-
Method Details
-
getTileMatrixSets
Returns the collection of all available tile matrix sets in this resource. The returned collection typically contains exactly one instance. It may be an empty collection if the implementation supports tiling, but this particular resource instance is untiled.- Returns:
- all available
TileMatrixSetinstances, or an empty collection if none. - Throws:
DataStoreException- if an error occurred while fetching the tile matrix sets.
-