mls_length
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.