org.deegree.sqldialect.oracle.sdo
Class SDOGeometryConverter

java.lang.Object
  extended by org.deegree.sqldialect.oracle.sdo.SDOGeometryConverter

public class SDOGeometryConverter
extends Object

Convert between Oracle JDBC STRUCT and deegree Geometry

Version:
$Revision: 31323 $, $Date: 2011-07-19 16:15:16 +0200 (Tue, 19 Jul 2011) $
Author:
Stephan Reichhelm

Constructor Summary
SDOGeometryConverter()
           
 
Method Summary
 Object fromGeometry(oracle.jdbc.OracleConnection conn, int srid, Geometry geometry)
          Deprecated. 
 Object fromGeometry(oracle.jdbc.OracleConnection conn, int srid, Geometry geometry, boolean allowJTSfallback)
           
 Geometry toGeometry(oracle.sql.STRUCT sdoStruct, ICRS crs)
          Convert SDO_GEOMETRY (from Oracle STRUCT) to deegree Geometry NOTE 1 (polygon) Polygons (simple, multiple or compound) will be treated to have at least one exterior or unknown ring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDOGeometryConverter

public SDOGeometryConverter()
Method Detail

toGeometry

public Geometry toGeometry(oracle.sql.STRUCT sdoStruct,
                           ICRS crs)
                    throws SQLException
Convert SDO_GEOMETRY (from Oracle STRUCT) to deegree Geometry

NOTE 1 (polygon)

Parameters:
sdoStruct - Database Object of type oracle.sql.STRUCT
crs - SRS or null for automatic recognition from srid
Returns:
Geometry
Throws:
SQLException

fromGeometry

@Deprecated
public Object fromGeometry(oracle.jdbc.OracleConnection conn,
                                      int srid,
                                      Geometry geometry)
                    throws SQLException
Deprecated. 

Throws:
SQLException

fromGeometry

public Object fromGeometry(oracle.jdbc.OracleConnection conn,
                           int srid,
                           Geometry geometry,
                           boolean allowJTSfallback)
                    throws SQLException
Throws:
SQLException


Copyright © 2011. All Rights Reserved.