3.2 ST_xxx Functions and Spatial Counterparts
The following table lists SQL Multimedia functions and the comparable Spatial SDO_GEOMETRY method or Spatial function, procedure, operator.
Note that in some cases the Oracle Spatial counterpart has more features than the SQL Multimedia function.
Table 3-1 ST_xxx Functions and SSpatial Counterparts
SQL Multimedia Function | Comparable Oracle Spatial Interface |
---|---|
FROM_WKB |
|
FROM_WKT |
|
GET_WKB |
SDO_GEOMETRY.Get_WKB |
GET_WKT |
SDO_GEOMETRY.Get_WKT |
ST_BUFFER |
|
ST_CENTROID |
|
ST_CONTAINS |
|
ST_CONVEXHULL |
|
ST_COORDDIM |
SDO_GEOMETRY.Get_Dims and SDO_GEOMETRY.ST_CoordDim (equivalent) |
ST_CROSS |
(None predefined; requires using SDO_RELATE with a complex mask) |
ST_CROSSES |
(None predefined; requires using SDO_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 |
|
ST_GEOMETRYTYPE |
SDO_GEOMETRY.Get_GType |
ST_INTERSECTION |
|
ST_INTERSECTS |
|
ST_ISVALID |
|
ST_OVERLAP |
SDO_RELATE with |
ST_RELATE |
|
ST_SYMDIFFERENCE |
|
ST_SYMMETRICDIFFERENCE |
|
ST_TOUCH |
|
ST_TOUCHES |
|
ST_UNION |
|
ST_WITHIN |
SDO_RELATE with |
Parent topic: SQL Multimedia Type Support