mls_length

geometric-functions mls_length

syntax

  • mls_length(mls_dataitem, valuesunit of coordinate system)

definition

mls_length(multi-linestring dataitem, valuesUnit) calculates the total length for each [[multi-linestring]] value in a data-item mls_dataitem.

The resulting values-unit is configured as second argument. This gives an interpretation to the resulting values. It does not convert them. For example, if the coordinate system is in meters, then the resulting output are meter, but you should also configure it to be interpreted as meters. If you want kilometers as output, you’ll have to manually convert it to km.

see also