Skip to main content
Skip table of contents

Operation: LineLength

With the operation LineLength the length of polylines or the edge length of polygons can be calculated in kilometers.

Input

For the operation LineLength the adapter expects the same input XML structure as for the operation LineConversion, where polygones and/or polylines are specified as well as additional (optional) attributes.

Output

For the operation LineLength an XML document with the following structure will be output. For each element Polygon or Polyline that has been defined within the input XML structure and that contains a polygon or polyline, an element Length will be generated that specifies the polyline length or the polyline edge length in kilometers.

All attributes that were defined in the input XML within the elements Polygon or Polyline will be output without modification.

HTML/XML
<Data>
   <!-- For each polygon/polyline element -->
   <Length attribut="value"><!--Length in kilometers (with 3 decimal places)--></Length>
</Data>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.