wiki:Help/Action/SimplifyWay

Tools > Simplify Way

source:/trunk/images/simplify.png Keyboard shortcut: Shift+Y

Reduce the number of nodes in a way, but keep the general shape.

Implementation details

After simplification, all of the deleted nodes will be closer than 3 m to the simplified way. In other words, the old and the new way will never be more than 3 m apart.

The tool uses the Ramer–Douglas–Peucker algorithm for way simplification, but makes sure that tagged nodes and nodes with more than one parent way are not deleted.

Advanced Preferences

You can configure distance between two nodes in the advanced preferences (simplify-way.max-error, in meters, default value is 3). A lower threshold makes the simplification less aggressive.

See also

  • /pluginicon/SimplifyArea.jar/images/preferences/simplifyArea.png SimplifyArea plugin - despite the name, also simplifies ways. Uses a different algorithm and has more parameters for tuning. In particular for nodes A, B, C the node B is not deleted unless
    • area of the triangle ABC is lower than 5 m2
    • distance of B to the line AC is lower than 3 m
    • angle ABC doesn't deviate more than 10° from 180°
  • source:trunk/images/distribute.png Distribute Nodes

Back to Menu Tools
Back to Main Help

Last modified 21 months ago Last modified on 2016-03-09T00:31:50+01:00