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.

SDO_LRS.GEOM_SEGMENT_START_MEASURE<br />

SDO_LRS.GEOM_SEGMENT_START_MEASURE<br />

Format<br />

Description<br />

Parameters<br />

Usage Notes<br />

Examples<br />

SDO_LRS.GEOM_SEGMENT_START_MEASURE(<br />

geom_segment IN SDO_GEOMETRY<br />

[, dim_array IN SDO_DIM_ARRAY]<br />

) RETURN NUMBER;<br />

Returns the start measure of a geometric segment.<br />

geom_segment<br />

Geometric segment whose start measure is to be returned.<br />

dim_array<br />

Dimensional information array corresponding to geom_segment, usually selected<br />

from one of the xxx_SDO_GEOM_METADATA views (described in Section 2.4).<br />

This function returns the start measure of geom_segment.<br />

An exception is raised if geom_segment has an invalid geometry type or<br />

dimensionality.<br />

The _3D format of this function (SDO_LRS.GEOM_SEGMENT_START_MEASURE_<br />

3D) is available. For information about _3D formats of LRS functions, see<br />

Section 7.4.<br />

The following example returns the start measure of the geometric segment<br />

representing Route 1. (This example uses the definitions from the example in<br />

Section 7.7.)<br />

SELECT SDO_LRS.GEOM_SEGMENT_START_MEASURE(route_geometry)<br />

FROM lrs_routes WHERE route_id = 1;<br />

16-44 <strong>Oracle</strong> <strong>Spatial</strong> User’s <strong>Guide</strong> <strong>and</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!