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.Registry
This class builds a registry based on a spatial_ref_sys table stored in the
H2 database.
- Author:
- Erwan Bocher
-
Field Summary
Fields inherited from class org.cts.registry.AbstractProjRegistry
projParser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParameters(String code) voidsetConnection(Connection connection) Set the database connectionMethods inherited from class org.cts.registry.AbstractProjRegistry
getCoordinateReferenceSystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cts.registry.Registry
getCoordinateReferenceSystem
-
Constructor Details
-
SpatialRefRegistry
public SpatialRefRegistry()
-
-
Method Details
-
getRegistryName
- Specified by:
getRegistryNamein interfaceorg.cts.registry.Registry
-
getParameters
- Specified by:
getParametersin classorg.cts.registry.AbstractProjRegistry- Throws:
org.cts.registry.RegistryException
-
getSupportedCodes
- Specified by:
getSupportedCodesin interfaceorg.cts.registry.Registry- Throws:
org.cts.registry.RegistryException
-
setConnection
Set the database connection- Parameters:
connection-
-