Class SpatialDataSource
java.lang.Object
com.kheops.jmap.server.datasources.SpatialDataSource
- Direct Known Subclasses:
- RasterDataSource,- VectorDataSource
This abstract class represents a source of spatial data. Spatial data can be
 either vector data or raster data. Spatial data sources are used in
 JMapServer to read spatial data.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidclose()abstract voiddelete()Thedelete()method is called when a spatial data source is being deleted in order to free and delete all resources used.abstract DataSetextractAttributes(QueryFilter[] queryFilters, Attribute[] attributes, Map<String, ?> extraParameters) abstract Attribute[]abstract SpatialDataSourceInfoReturns the spatial data source info that was used to initialize this spatial data source.abstract Rectangleabstract StringgetName()Returns the name of the current spatial data source.abstract voidinit(SpatialDataSourceInfo dataSourceInfo) protected booleanabstract voidupdate()protected voidvalidateProjection(QueryFilter[] queryFilters) 
- 
Constructor Details- 
SpatialDataSourcepublic SpatialDataSource()
 
- 
- 
Method Details- 
getExtent- Throws:
- Exception
 
- 
getDataSourceInfoReturns the spatial data source info that was used to initialize this spatial data source.- Returns:
- the related SpatialDataSourceInfo instance.
 
- 
getAttributeMetaData- Throws:
- Exception
 
- 
getNameReturns the name of the current spatial data source.- Returns:
- the name of the spatial data source.
 
- 
update- Throws:
- Exception
 
- 
init- Throws:
- Exception
 
- 
close- Throws:
- Exception
 
- 
deleteThedelete()method is called when a spatial data source is being deleted in order to free and delete all resources used.- Throws:
- Exception
 
- 
extractAttributespublic abstract DataSet extractAttributes(QueryFilter[] queryFilters, Attribute[] attributes, Map<String, ?> extraParameters) throws Exception- Throws:
- Exception
 
- 
validateProjection
- 
isCancelledprotected boolean isCancelled()
 
-