mls_length - ObjectVision/GeoDMS GitHub Wiki
Geometric functions mls_length
syntax
- mls_length(mls_dataitem, valuesunit of coordinate system)
- mls_length(mls_dataitem)
definition
mls_length(multi-linestring dataitem, valuesUnit) calculates the total length for each arc value in a data item mls_dataitem.
The resulting values unit is configured as second argument, and the lengths are converted to it. The argument may be left out: mls_length(mls_dataitem) derives the resulting values unit from the coordinates themselves, so m for a coordinate system in metres. That single-argument form also works on coordinates that have a metric, which is the normal case for a projected SpatialReference. arc_length describes both rules in full.
since version
The conversion to the values unit of the second argument, and the form without that argument, since 20.3.0. The form without a values unit on coordinates that have a metric since 20.19.2.