Table 3-1 lists SQL Multimedia functions and the comparable Oracle Spatial and Graph SDO_GEOMETRY method or Spatial and Graph function, procedure, operator. Note that in some cases the Oracle Spatial and Graph counterpart has more features than the SQL Multimedia function.
Table 3-1 ST_xxx Functions and Spatial and Graph Counterparts
SQL Multimedia Function | Comparable Oracle Spatial and Graph Interface |
---|---|
FROM_WKB |
|
FROM_WKT |
|
GET_WKB |
SDO_GEOMETRY.Get_WKB |
GET_WKT |
SDO_GEOMETRY.Get_WKT |
ST_BUFFER |
|
ST_CENTROID |
|
ST_CONTAINS |
SDO_GEOM.RELATE with |
ST_CONVEXHULL |
|
ST_COORDDIM |
SDO_GEOMETRY.Get_Dims and SDO_GEOMETRY.ST_CoordDim (equivalent) |
ST_CROSS |
(None predefined; requires using SDO_GEOM.RELATE with a complex mask) |
ST_CROSSES |
(None predefined; requires using SDO_GEOM.RELATE with a complex mask) |
ST_DIFFERENCE |
|
ST_DIMENSION |
SDO_GEOMETRY.Get_Dims |
ST_DISJOINT |
SDO_GEOM.RELATE with |
ST_DISTANCE |
|
ST_ENVELOPE |
|
ST_EQUALS |
SDO_GEOM.RELATE with |
ST_GEOMETRYTYPE |
SDO_GEOMETRY.Get_GType |
ST_INTERSECTION |
|
ST_INTERSECTS |
SDO_GEOM.RELATE with |
ST_ISVALID |
|
ST_OVERLAP |
SDO_GEOM.RELATE with |
ST_RELATE |
|
ST_SYMDIFFERENCE |
|
ST_SYMMETRICDIFFERENCE |
|
ST_TOUCH |
SDO_GEOM.RELATE with |
ST_TOUCHES |
SDO_GEOM.RELATE with |
ST_UNION |
|
ST_WITHIN |
SDO_GEOM.RELATE with |