Skip to main content
Skip table of contents

Operation: LineSimplificationPercent / LineSimplificationKilometer

With the operation LineSimplificationPercent and LineSimplificationKilometer polylines/polygons can be simplified according to the Douglas Peucker algorithm in order to remove waypoints within a corridor that are not necessary for a map view. The corridor width can be defined relative to the total route or as absolute value in kilometers.

Input

For the operation LineSimplificationPercent and LineSimplificationKilometer the adapter expects the same input XML structure as for operation LineConversion, where you can define any polylines, each within an element Polyline, or any polygones, each within an element Polygon. Additional attributes will be taken over to the result XML document.

Output

For the operation LineSimplificationPercent and LineSimplificationKilometer an XML document will be output that has the same structure as the input XML document and contains all attributes that have been defined within the element Polygon or Polyline without modification. Depending on the corridor width (defined within the parameters percent or kilometer), the polylines/polygons will be simplified. Depending on the selected output format, the point definitions will be converted into the formats  GeoDecimalGeoE5 or GooglePoint; or polylines will be converted into the GoogleLine format and deposited in the corresponding elements.

JavaScript errors detected

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

If this problem persists, please contact our support.