Package org.h2gis.functions.spatial.crs
Class SpatialRefRegistry
- java.lang.Object
-
- org.cts.registry.AbstractProjRegistry
-
- org.h2gis.functions.spatial.crs.SpatialRefRegistry
-
- All Implemented Interfaces:
org.cts.registry.Registry
public class SpatialRefRegistry extends org.cts.registry.AbstractProjRegistry implements org.cts.registry.RegistryThis class builds a registry based on a spatial_ref_sys table stored in the H2 database.- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description SpatialRefRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getParameters(String code)StringgetRegistryName()Set<String>getSupportedCodes()voidsetConnection(Connection connection)Set the database connection
-
-
-
Method Detail
-
getRegistryName
public String getRegistryName()
- Specified by:
getRegistryNamein interfaceorg.cts.registry.Registry
-
getParameters
public Map<String,String> getParameters(String code) throws org.cts.registry.RegistryException
- Specified by:
getParametersin classorg.cts.registry.AbstractProjRegistry- Throws:
org.cts.registry.RegistryException
-
getSupportedCodes
public Set<String> getSupportedCodes() throws org.cts.registry.RegistryException
- Specified by:
getSupportedCodesin interfaceorg.cts.registry.Registry- Throws:
org.cts.registry.RegistryException
-
setConnection
public void setConnection(Connection connection)
Set the database connection- Parameters:
connection-
-
-