This is the old version of our wiki. We advice to visit: https://www.geodms.nl

Arc length

From ObjectVision

Jump to: navigation, search

Geometric functions arc_length

Contents

syntax

  • arc_length(arc_poly_dataitem, valuesunit)

definition

arc_length(arc_poly_dataitem, valuesunit) calculates the length of an arc or the outline of a polygon data item arc_poly_dataitem.

The resulting values unit is configured as second argument.

applies to

since version

5.15

example

attribute<meter> road_length (Road) := arc_length(road/geometry, m);
<tbody> </tbody>
road/geometry   road_length
{2 {399246, 112631}{398599, 111866}} 1001.92
{3 {398599, 111866}{399495, 111924} {401801,111524}} 3238.31
{2 {401529, 114921}{398584, 114823}} 2946.63

domain Road, nr of rows = 3

Personal tools