logo-header

 
 

syntax

definition

arc_length(seq, valuesunit) calculates the length of an arc or the outline of a polygon data item seq. The resulting valuesunit is configured as second argument.

applies to

Point data item seq with fpoint or dpoint value type and composition type arc or polygon.

since version

5.15

example

attribute<m> road_length (Road) := arc_length(road/geometry, m);
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

OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904