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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SDO_GEOM.SDO_LENGTH<br />

Format<br />

Description<br />

Parameters<br />

SDO_GEOM.SDO_LENGTH(<br />

geom IN SDO_GEOMETRY,<br />

dim IN SDO_DIM_ARRAY<br />

[, unit IN VARCHAR2]<br />

) RETURN NUMBER;<br />

or<br />

SDO_GEOM.SDO_LENGTH(<br />

geom IN SDO_GEOMETRY,<br />

tol IN NUMBER<br />

[, unit IN VARCHAR2]<br />

) RETURN NUMBER;<br />

Returns the length or perimeter of a geometry object.<br />

geom<br />

Geometry object.<br />

SDO_GEOM.SDO_LENGTH<br />

dim<br />

Dimensional information array corresponding to geom, usually selected from one of<br />

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

unit<br />

Unit of measurement: a quoted string with unit= <strong>and</strong> an SDO_UNIT value from<br />

the MDSYS.SDO_DIST_UNITS table (for example, 'unit=KM'). See Section 2.6 for<br />

more information about unit of measurement specification.<br />

If this parameter is not specified, the unit of measurement associated with the data<br />

is assumed. For geodetic data, the default unit of measurement is meters.<br />

Geometry Subprograms 13-29

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

Saved successfully!

Ooh no, something went wrong!