org.h2gis.h2spatial.internal.function.spatial.crs
Class SpatialRefRegistry

java.lang.Object
  extended by org.h2gis.h2spatial.internal.function.spatial.crs.SpatialRefRegistry
All Implemented Interfaces:
org.cts.registry.Registry

public class SpatialRefRegistry
extends Object
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

Constructor Summary
SpatialRefRegistry()
           
 
Method Summary
 Map<String,String> getParameters(String code)
           
 String getRegistryName()
           
 Set<String> getSupportedCodes()
           
 void setConnection(Connection connection)
          Set the database connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialRefRegistry

public SpatialRefRegistry()
Method Detail

getRegistryName

public String getRegistryName()
Specified by:
getRegistryName in interface org.cts.registry.Registry

getParameters

public Map<String,String> getParameters(String code)
                                 throws org.cts.registry.RegistryException
Specified by:
getParameters in interface org.cts.registry.Registry
Throws:
org.cts.registry.RegistryException

getSupportedCodes

public Set<String> getSupportedCodes()
                              throws org.cts.registry.RegistryException
Specified by:
getSupportedCodes in interface org.cts.registry.Registry
Throws:
org.cts.registry.RegistryException

setConnection

public void setConnection(Connection connection)
Set the database connection

Parameters:
connection -


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.