10.12.2012 Views

Oracle Spatial User's Guide and Reference - InfoLab

Oracle Spatial User's Guide and Reference - InfoLab

Oracle Spatial User's Guide and Reference - InfoLab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example of LRS Functions<br />

SDO_LRS.VALID_LRS_PT(SDO_GEOMETRY(3301,NULL,NULL,SDO_ELEM_INFO_ARRAY<br />

------------------------------------------------------------------------------<br />

TRUE<br />

SQL> -- Locate the point on Route1 at measure 9, offset 0.<br />

SQL> SELECT SDO_LRS.LOCATE_PT(route_geometry, 9, 0)<br />

2 FROM lrs_routes WHERE route_id = 1;<br />

SDO_LRS.LOCATE_PT(ROUTE_GEOMETRY,9,0)(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), S<br />

--------------------------------------------------------------------------------<br />

SDO_GEOMETRY(3301, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1), SDO_ORDINATE_ARRAY(<br />

9, 4, 9))<br />

Linear Referencing System 7-33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!