public class OracleSpatialUtils extends Object
OracleSpatialUtils provides utility methods for Oracle Spatial.| Modifier and Type | Field and Description |
|---|---|
static String |
EPSG_TO_ORACLE_FUNCTION
The Oracle function that converts an EPSG SRID to the corresponding Oracle SRID.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getOracleSrid(String srid,
Database database)
Converts the given EPSG SRID to the corresponding Oracle SRID.
|
static String |
getOracleWkt(String wkt)
Converts the given Well-Known Text string to one that will work in Oracle.
|
static String |
loadOracleSrid(String srid,
Database database)
Queries to the database to convert the given EPSG SRID to the corresponding Oracle SRID.
|
public static final String EPSG_TO_ORACLE_FUNCTION
public static String getOracleWkt(String wkt)
' || TO_CLOB(...) || '".wkt - the Well-Known Text string to convert.TO_CLOB concatenation of the WKT.public static String getOracleSrid(String srid, Database database)
srid - the EPSG SRID.database - the database instance.Copyright © 2014–2015. All rights reserved.