Changes between Initial Version and Version 1 of Help/Action/ReplaceGeometry


Ignore:
Timestamp:
2026-10-08T14:32:25+02:00 (4 weeks ago)
Author:
BathoryPeter
Comment:

copy from OSM wiki JOSM/Plugins/utilsplugin2

Legend:

Unmodified
Added
Removed
Modified
  • Help/Action/ReplaceGeometry

    v1 v1  
     1[[TranslatedPages]]
     2
     3= Plugin -> UtilsPlugin2 -> Replace Geometry =
     4
     5[[JOSMImage(plugins/utilsplugin2/images/dumbutils/replacegeometry,link=,middle,48,margin-right=20)]] ''Keyboard shortcut:'' **`Ctrl+Shift+G`**
     6
     7**Substitutes the geometry of one object for another retaining as much metadata and history as possible.** Replaces one [[JOSMImage(data/way)]] [wikitr:/Help/Concepts/Object#Ways way] with another [[JOSMImage(data/way)]] way or a [[JOSMImage(data/node)]] [wikitr:/Help/Concepts/Object#Nodes node] with a [[JOSMImage(data/way)]] way.
     8
     9== Replace one way with another way ==#ReplaceNodeWithWay
     10
     11In some cases it may be faster or more convenient to draw a new way rather than adjust the existing one, but you want to retain the history.
     12
     13Replace geometry moves some or all nodes of the old way to positions of the new ones, and transfers some nodes between ways. Then the new way is deleted, having played its role. This is done to preserve way and node history as much as possible. For example:
     14
     151. Choose a poorly drawn way in OSM database that you want to fix.
     162. Draw a new way, neat and correct, with all the correct angles.
     173. Select both ways.
     184. Use Replace geometry action.
     19
     20This transfers tags and history of the old way to the new way and as much as possible re-uses the nodes of the old way. After uploading to OSM, it will appear as if the old object was simply adjusted a bit, rather than entirely replaced.
     21
     22== Replace a node with a way ==#ReplaceNodeWithWay
     23
     24Sometimes you may encounter a node for a feature, like a restaurant, but you have imagery with sufficient detail that you can trace the building outline. Or perhaps you've encountered a situation where the same feature is represented with both a node and a way, violating the principle of [https://wiki.openstreetmap.org/wiki/One_feature,_one_OSM_element One feature, one OSM element].
     25
     26In either case, select the node and the way, and the Replace Geometry action will replace (upgrade) the node with the way, retaining as much history as is possible.
     27
     28Note that any combination of uploaded/new node and way is accepted. The node is always replaced in favor of the way.
     29
     30----
     31Back to [wikitr:/Help/Plugin/UtilsPlugin2 UtilsPlugin2 Help] \\
     32Back to [wikitr:/Help Main Help]