Download Oracle Spatial User's Guide and Reference
Transcript
SDO_LRS.TRANSLATE_MEASURE SDO_LRS.TRANSLATE_MEASURE Format SDO_LRS.TRANSLATE_MEASURE( geom_segment IN SDO_GEOMETRY, translate_m IN NUMBER ) RETURN SDO_GEOMETRY; or SDO_LRS.TRANSLATE_MEASURE( geom_segment IN SDO_GEOMETRY, dim_array IN SDO_DIM_ARRAY, translate_m IN NUMBER ) RETURN SDO_GEOMETRY; Description Returns a new geometric segment by translating the original geometric segment (that is, shifting the start and end measures by a specified value). Parameters geom_segment Cartographic representation of a linear feature. dim_array Dimensional information array corresponding to geom_segment, usually selected from one of the xxx_SDO_GEOM_METADATA views (described in Section 2.8). translate_m Distance measured from the start point of a geometric segment to the start point of the linear feature. Usage Notes This function adds translate_m to the start and end measures of geom_segment. For example, if geom_segment has a start measure of 50 and an end measure of 100, and if translate_m is 10, the returned geometric segment has a start measure of 60 and an end measure of 110, as shown in Figure 25–1. Figure 25–1 Translating a Geometric Segment M = 50 M = 100 M = 60 M = 110 Translate (10) An exception is raised if geom_segment has an invalid geometry type or dimensionality. 25-78 Oracle Spatial Developer’s Guide