Changes between Version 5 and Version 6 of Help/Action/SimplifyWay


Ignore:
Timestamp:
2012-02-12T16:42:22+01:00 (14 years ago)
Author:
bastiK
Comment:

improve doc

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/SimplifyWay

    v5 v6  
    55[[Image(source:/trunk/images/simplify.png)]] ''Keyboard shortcut:'' '''{{{Shift+Y}}}'''
    66
    7 '''Delete unnecessary nodes from a way.'''
     7'''Reduce the number of nodes in a way, but keep the general shape.'''
     8
     9== Implementation details ==
     10
     11After 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.
     12
     13You can configure this threshold in the [wiki:Help/Preferences/Advanced advanced preferences] ({{{simplify-way.max-error}}}, in meters, default value is 3). A lower threshold makes the simplification less aggressive.
     14
     15The tool uses the [http://en.wikipedia.org/wiki/Ramer–Douglas–Peucker_algorithm Ramer–Douglas–Peucker algorithm] for way simplification, but makes sure that tagged nodes and nodes with more than one parent way are not deleted.
    816
    917== See also ==
    1018
    11 [[Image(source:trunk/images/distribute.png,20)]] [Action/DistributeNodes Distribute Nodes]
     19SimplifyArea 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
     20* area of the triangle ABC is lower than 5 m^2
     21* distance of B to the line AC is lower than 3 m
     22* angle ABC doesn't deviate more than 10° from 180°
    1223
    1324----