Changes between Version 5 and Version 6 of Help/Action/SimplifyWay
- Timestamp:
- 2012-02-12T16:42:22+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/SimplifyWay
v5 v6 5 5 [[Image(source:/trunk/images/simplify.png)]] ''Keyboard shortcut:'' '''{{{Shift+Y}}}''' 6 6 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 11 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. 12 13 You 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 15 The 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. 8 16 9 17 == See also == 10 18 11 [[Image(source:trunk/images/distribute.png,20)]] [Action/DistributeNodes Distribute Nodes] 19 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 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° 12 23 13 24 ----
