Changes between Version 7 and Version 15 of Help/Action/SimplifyWay
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Action/SimplifyWay
v7 v15 3 3 = Tools > Simplify Way = 4 4 5 [[ Image(source:/trunk/images/simplify.png)]] ''Keyboard shortcut:'' '''{{{Shift+Y}}}'''5 [[JOSMImage(simplify,48,link=,middle,margin-right=20)]] ''Keyboard shortcut:'' **`Shift+Y`** 6 6 7 '''Reduce the number of nodes in a way, but keep the general shape.''' 7 **Reduce the number of nodes in a way, but keep the general shape.** 8 8 9 9 10 == Implementation details == 11 After simplification, all of the deleted nodes will be closer than the in the popup specifed distance (e.g. 3 m) to the simplified way. In other words, the old and the new way will never be more than e.g. 3 m apart. 10 12 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. 13 The tool uses the [https://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. 12 14 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. 15 [[Image(Simplify_way.png,link=)]] 14 16 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.16 17 17 18 == See also == 18 19 * [[Image(/pluginicon/SimplifyArea.jar/images/preferences/simplifyArea.png,20)]] 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 19 * [[Image(/pluginicon/SimplifyArea.jar/images/preferences/simplifyArea.png,24,link=,middle)]] 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 20 * area of the triangle ABC is lower than 5 m^2 21 21 * distance of B to the line AC is lower than 3 m 22 22 * angle ABC doesn't deviate more than 10° from 180° 23 * [[Image(source:trunk/images/distribute.png,20)]] [DistributeNodes Distribute Nodes] 23 * [[JOSMImage(distribute)]] [wikitr:/Help/Action/DistributeNodes Distribute Nodes] 24 24 25 ---- 25 Back to [Menu/Tools Menu Tools][[Br]] 26 Back to [wiki:/Help Main Help] 26 Back to [wikitr:/Help/Menu/Tools Menu Tools] \\ 27 Back to [wikitr:/Help/Menu Main Menu] \\ 28 Back to [wikitr:/Help Main Help]