4.19 SDO_TOPO_MAP.GET_EDGE_COORDS
Format
SDO_TOPO_MAP.GET_EDGE_COORDS( topology IN VARCHAR2, topo_map IN VARCHAR2, edge_id IN NUMBER ) RETURN SDO_NUMBER_ARRAY;
Description
Returns an array with the coordinates of the start node, shape points, and end node for the specified edge.
Parameters
- topology
-
Name of the topology that contains the edge, or a null value, as explained in Using GET_xxx Topology Functions. Must not exceed 20 characters.
- topo_map
-
Name of the TopoMap object, or a null value, as explained in Using GET_xxx Topology Functions. (TopoMap objects are explained in TopoMap Objects.)
- edge_id
-
Edge ID value of the edge.
Usage Notes
The topology or topo_map parameter should specify a valid name, as explained in Using GET_xxx Topology Functions.
This function is equivalent to using the getEdgeCoords method of the TopoMap class of the client-side Java API (described in Topology Data Model Java Interface).
Examples
The following example returns the coordinates of the start node, shape points, and end node for the edge whose edge ID value is 1. The returned array contains coordinates for six points. (The example refers to definitions and data from Topology Built from Topology Data.)
SELECT SDO_TOPO_MAP.GET_EDGE_COORDS(null, 'CITY_DATA_TOPOMAP', 1) FROM DUAL; SDO_TOPO_MAP.GET_EDGE_COORDS(NULL,'CITY_DATA_TOPOMAP',1) -------------------------------------------------------------------------------- SDO_NUMBER_ARRAY(8, 30, 16, 30, 16, 38, 3, 38, 3, 30, 8, 30)
Parent topic: SDO_TOPO_MAP Package Subprograms