This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

About save change on related elements

1

Hi all

I have a problem on how do osm save changes if two elements related to each other. As a case with a node included in a way, if there is a change made to that node, will the way also change? (both version numbers will change?)

Thanks for help.

Martin

asked 06 Feb '14, 13:41

Digmaa's gravatar image

Digmaa
1006711
accept rate: 0%


One Answer:

3

If you move a node, or add tags to a node, and the node is part of a way, then the way will not change - the way will still be "last modified 2 years ago" even if - due to the changed location of the member node - the way will have looked totally different on the map yesterday.

The same is true for modifying a node or way or relation which are part of a relation - the parent relation will not change.

answered 06 Feb '14, 14:08

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

so that can I say the change made on each type of element is "isolated", in other words, the changes on different types elements are exclusive to each other?

(06 Feb '14, 15:55) Digmaa
1

@Digma: Yes. You only change what you (helped by your editor) change. Have a look at one of your changesets and view the osmChange XML (link on bottom of each changeset page). Ways are just a list of nodes – see elements in our wiki.

(06 Feb '14, 17:19) aseerel4c26 ♦

Source code available on GitHub .