Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.util
Class Adapters

java.lang.Object
  extended by oracle.spatial.util.Adapters


public class Adapters
extends java.lang.Object

Constructor Summary
Adapters()
           

 

Method Summary
static STRUCT affineTransforms(STRUCT geom, java.lang.String translation, NUMBER tx, NUMBER ty, NUMBER tz, java.lang.String scaling, STRUCT Psc1, NUMBER sx, NUMBER sy, NUMBER sz, java.lang.String rotation, STRUCT P1, STRUCT line1, NUMBER angle, NUMBER dir, java.lang.String shearing, NUMBER SHxy, NUMBER SHyx, NUMBER SHxz, NUMBER SHzx, NUMBER SHyz, NUMBER SHzy, java.lang.String reflection, STRUCT Pref, STRUCT lineR, NUMBER dirR, java.lang.String planeR, SdoNumberArray n, SdoNumberArray bigD)
           
static java.lang.String anyInteract(STRUCT geom1, STRUCT geom2, java.lang.String is_g3d, NUMBER tolerance)
           
static NUMBER area(STRUCT geom, NUMBER tolerance)
           
static STRUCT buffer(STRUCT geom, NUMBER bufferWidth, NUMBER sma, NUMBER iflat, NUMBER arcT)
           
static STRUCT centroid_3d(STRUCT geom, NUMBER tolerance)
           
static STRUCT closestPoints(STRUCT geom1, STRUCT geom2, NUMBER tolerance)
           
static NUMBER distance(STRUCT geom1, STRUCT geom2, NUMBER tolerance)
           
static STRUCT expandG3Dgeoms(STRUCT geom)
           
static STRUCT extract3d(STRUCT geom, java.lang.String label)
           
static STRUCT extrusion2(STRUCT polygon, SdoNumberArray grdHeight, SdoNumberArray height, NUMBER tolerance, NUMBER optional3dSrid)
           
static java.lang.String getlabelbyelement(STRUCT source_Geom, STRUCT qry_Element, NUMBER tolerance)
           
static STRUCT gml311ToSTRUCT(CLOB gml)
           
static STRUCT gml311ToSTRUCT(CLOB gml, java.lang.String srsNameSpace)
           
static STRUCT gml311ToSTRUCT(java.lang.String gml)
           
static STRUCT gml311ToSTRUCT(java.lang.String gml, java.sql.Connection conn)
           
static STRUCT gml311ToSTRUCT(java.lang.String gml, java.lang.String srsNameSpace)
           
static STRUCT gmlToSTRUCT(CLOB gml)
           
static STRUCT gmlToSTRUCT(CLOB gml, java.lang.String srsNameSpace)
           
static STRUCT gmlToSTRUCT(java.lang.String gml)
           
static STRUCT gmlToSTRUCT(java.lang.String gml, java.sql.Connection conn)
           
static STRUCT gmlToSTRUCT(java.lang.String gml, java.lang.String srsNameSpace)
           
static java.lang.String inside3d(STRUCT geom1, STRUCT geom2, java.lang.String is_g3d, NUMBER tolerance)
           
static STRUCT kmlToSTRUCT(CLOB kml)
           
static STRUCT kmlToSTRUCT(java.lang.String kml)
           
static STRUCT kmlToSTRUCT(java.lang.String kml, java.sql.Connection conn)
           
static NUMBER length(STRUCT geom, NUMBER count_shared_edges, NUMBER tolerance)
           
static BLOB pctrclip(STRUCT qry, STRUCT attr_qry, BLOB pts, NUMBER npts, NUMBER numdim, BLOB trs, NUMBER ntrs, NUMBER tolerance)
           
static void readpts(BLOB ptlob, int numpts, int ndim, oracle.spatial.util.Adapters.Ptclass[] ptarr)
           
static STRUCT ringUnionApprox(STRUCT polygon, NUMBER tolerance)
           
static BLOB structToWkb(STRUCT geom)
           
static BLOB structToWkb(STRUCT geom, java.sql.Connection conn)
           
static CLOB structToWkt(STRUCT geom)
           
static CLOB structToWkt(STRUCT geom, java.sql.Connection conn)
           
static java.lang.String structToWktString(STRUCT geom)
           
static NUMBER validate_layer_with_context_3D(java.lang.String geomTableName, java.lang.String geomColumnName, java.lang.String resultTableName, NUMBER commit_interval, java.lang.String conditional, NUMBER chck3dsrid, NUMBER tolerance)
           
static java.lang.String validateGeom(STRUCT geom, java.lang.String conditional, NUMBER chck3dsrid, NUMBER tolerance)
           
static java.lang.String validateWkb(BLOB wkb)
           
static java.lang.String validateWkb(BLOB wkb, java.sql.Connection conn)
           
static java.lang.String validateWkt(CLOB wkt)
           
static java.lang.String validateWkt(CLOB wkt, java.sql.Connection conn)
           
static NUMBER volume(STRUCT geom, NUMBER tolerance)
           
static STRUCT wkbToSTRUCT(BLOB wkb)
           
static STRUCT wkbToSTRUCT(BLOB wkb, java.sql.Connection conn)
           
static STRUCT wktToSTRUCT(CLOB wkt)
           
static STRUCT wktToSTRUCT(CLOB wkt, java.sql.Connection conn)
           
static STRUCT wktToSTRUCT(java.lang.String wkt)
           
static STRUCT wktToSTRUCT(java.lang.String wkt, java.sql.Connection conn)
           
static void writepts(BLOB ptlob, int numpts, int ndim, oracle.spatial.util.Adapters.Ptclass[] ptarr)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Adapters

public Adapters()

Method Detail

wkbToSTRUCT

public static STRUCT wkbToSTRUCT(BLOB wkb)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wkbToSTRUCT

public static STRUCT wkbToSTRUCT(BLOB wkb,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wktToSTRUCT

public static STRUCT wktToSTRUCT(CLOB wkt)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wktToSTRUCT

public static STRUCT wktToSTRUCT(CLOB wkt,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wktToSTRUCT

public static STRUCT wktToSTRUCT(java.lang.String wkt)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

wktToSTRUCT

public static STRUCT wktToSTRUCT(java.lang.String wkt,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

gmlToSTRUCT

public static STRUCT gmlToSTRUCT(java.lang.String gml)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

gml311ToSTRUCT

public static STRUCT gml311ToSTRUCT(java.lang.String gml)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

kmlToSTRUCT

public static STRUCT kmlToSTRUCT(java.lang.String kml)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

buffer

public static STRUCT buffer(STRUCT geom,
                            NUMBER bufferWidth,
                            NUMBER sma,
                            NUMBER iflat,
                            NUMBER arcT)
                     throws java.sql.SQLException,
                            java.lang.Exception
Throws:
java.sql.SQLException
java.lang.Exception

anyInteract

public static java.lang.String anyInteract(STRUCT geom1,
                                           STRUCT geom2,
                                           java.lang.String is_g3d,
                                           NUMBER tolerance)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

distance

public static NUMBER distance(STRUCT geom1,
                              STRUCT geom2,
                              NUMBER tolerance)
                       throws java.lang.Exception
Throws:
java.lang.Exception

length

public static NUMBER length(STRUCT geom,
                            NUMBER count_shared_edges,
                            NUMBER tolerance)
                     throws java.lang.Exception
Throws:
java.lang.Exception

area

public static NUMBER area(STRUCT geom,
                          NUMBER tolerance)
                   throws java.lang.Exception
Throws:
java.lang.Exception

volume

public static NUMBER volume(STRUCT geom,
                            NUMBER tolerance)
                     throws java.lang.Exception
Throws:
java.lang.Exception

validateGeom

public static java.lang.String validateGeom(STRUCT geom,
                                            java.lang.String conditional,
                                            NUMBER chck3dsrid,
                                            NUMBER tolerance)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

closestPoints

public static STRUCT closestPoints(STRUCT geom1,
                                   STRUCT geom2,
                                   NUMBER tolerance)
                            throws java.lang.Exception
Throws:
java.lang.Exception

affineTransforms

public static STRUCT affineTransforms(STRUCT geom,
                                      java.lang.String translation,
                                      NUMBER tx,
                                      NUMBER ty,
                                      NUMBER tz,
                                      java.lang.String scaling,
                                      STRUCT Psc1,
                                      NUMBER sx,
                                      NUMBER sy,
                                      NUMBER sz,
                                      java.lang.String rotation,
                                      STRUCT P1,
                                      STRUCT line1,
                                      NUMBER angle,
                                      NUMBER dir,
                                      java.lang.String shearing,
                                      NUMBER SHxy,
                                      NUMBER SHyx,
                                      NUMBER SHxz,
                                      NUMBER SHzx,
                                      NUMBER SHyz,
                                      NUMBER SHzy,
                                      java.lang.String reflection,
                                      STRUCT Pref,
                                      STRUCT lineR,
                                      NUMBER dirR,
                                      java.lang.String planeR,
                                      SdoNumberArray n,
                                      SdoNumberArray bigD)
                               throws java.lang.Exception
Throws:
java.lang.Exception

gmlToSTRUCT

public static STRUCT gmlToSTRUCT(java.lang.String gml,
                                 java.lang.String srsNameSpace)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

gmlToSTRUCT

public static STRUCT gmlToSTRUCT(java.lang.String gml,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

gmlToSTRUCT

public static STRUCT gmlToSTRUCT(CLOB gml)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

gmlToSTRUCT

public static STRUCT gmlToSTRUCT(CLOB gml,
                                 java.lang.String srsNameSpace)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

gml311ToSTRUCT

public static STRUCT gml311ToSTRUCT(java.lang.String gml,
                                    java.lang.String srsNameSpace)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

gml311ToSTRUCT

public static STRUCT gml311ToSTRUCT(java.lang.String gml,
                                    java.sql.Connection conn)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

gml311ToSTRUCT

public static STRUCT gml311ToSTRUCT(CLOB gml)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

gml311ToSTRUCT

public static STRUCT gml311ToSTRUCT(CLOB gml,
                                    java.lang.String srsNameSpace)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

kmlToSTRUCT

public static STRUCT kmlToSTRUCT(java.lang.String kml,
                                 java.sql.Connection conn)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

kmlToSTRUCT

public static STRUCT kmlToSTRUCT(CLOB kml)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkb

public static BLOB structToWkb(STRUCT geom)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkb

public static BLOB structToWkb(STRUCT geom,
                               java.sql.Connection conn)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkt

public static CLOB structToWkt(STRUCT geom)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWktString

public static java.lang.String structToWktString(STRUCT geom)
                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

structToWkt

public static CLOB structToWkt(STRUCT geom,
                               java.sql.Connection conn)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

validateWkt

public static java.lang.String validateWkt(CLOB wkt)

validateWkt

public static java.lang.String validateWkt(CLOB wkt,
                                           java.sql.Connection conn)

validateWkb

public static java.lang.String validateWkb(BLOB wkb)

validateWkb

public static java.lang.String validateWkb(BLOB wkb,
                                           java.sql.Connection conn)

validate_layer_with_context_3D

public static NUMBER validate_layer_with_context_3D(java.lang.String geomTableName,
                                                    java.lang.String geomColumnName,
                                                    java.lang.String resultTableName,
                                                    NUMBER commit_interval,
                                                    java.lang.String conditional,
                                                    NUMBER chck3dsrid,
                                                    NUMBER tolerance)
                                             throws java.sql.SQLException,
                                                    java.lang.Exception
Throws:
java.sql.SQLException
java.lang.Exception

centroid_3d

public static STRUCT centroid_3d(STRUCT geom,
                                 NUMBER tolerance)
                          throws java.lang.Exception,
                                 java.sql.SQLException
Throws:
java.lang.Exception
java.sql.SQLException

extrusion2

public static STRUCT extrusion2(STRUCT polygon,
                                SdoNumberArray grdHeight,
                                SdoNumberArray height,
                                NUMBER tolerance,
                                NUMBER optional3dSrid)
                         throws java.lang.Exception,
                                java.sql.SQLException
Throws:
java.lang.Exception
java.sql.SQLException

ringUnionApprox

public static STRUCT ringUnionApprox(STRUCT polygon,
                                     NUMBER tolerance)
                              throws java.lang.Exception,
                                     java.sql.SQLException
Throws:
java.lang.Exception
java.sql.SQLException

extract3d

public static STRUCT extract3d(STRUCT geom,
                               java.lang.String label)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getlabelbyelement

public static java.lang.String getlabelbyelement(STRUCT source_Geom,
                                                 STRUCT qry_Element,
                                                 NUMBER tolerance)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

inside3d

public static java.lang.String inside3d(STRUCT geom1,
                                        STRUCT geom2,
                                        java.lang.String is_g3d,
                                        NUMBER tolerance)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

readpts

public static void readpts(BLOB ptlob,
                           int numpts,
                           int ndim,
                           oracle.spatial.util.Adapters.Ptclass[] ptarr)
                    throws java.sql.SQLException,
                           java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

writepts

public static void writepts(BLOB ptlob,
                            int numpts,
                            int ndim,
                            oracle.spatial.util.Adapters.Ptclass[] ptarr)
                     throws java.sql.SQLException,
                            java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

pctrclip

public static BLOB pctrclip(STRUCT qry,
                            STRUCT attr_qry,
                            BLOB pts,
                            NUMBER npts,
                            NUMBER numdim,
                            BLOB trs,
                            NUMBER ntrs,
                            NUMBER tolerance)
                     throws java.sql.SQLException,
                            java.io.IOException,
                            java.lang.Exception
Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception

expandG3Dgeoms

public static STRUCT expandG3Dgeoms(STRUCT geom)
                             throws java.lang.Exception
Throws:
java.lang.Exception

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.