Let's assume I have the following situation:
Node1 X----------X Node 2 -- > way 1 sidewalk
Node1 X----------X Node 2 Node3 X-----------X Node 4 -- > relation 1
route (way1, way2)
(way1) (way2)
Which could be written in the following pseudo osm representation:
<node id=1>
<node id=2>
<node id=3>
<node id=4>
<way id=1>
<nd ref=1>
<nd ref=2>
<tag sidewalk>
<way id=2>
<nd ref=3>
<nd ref=4>
<relation id=1>
<member type=way ref=1>
<member type=way ref=2>
<tag scenic route>
Then the user goes ahead and deletes the sidewalk feature meaning deleting
way1. What happens to the relation1 and how is the modification expressed in
the changeset of the JOSM file format?
Is it:
<way id=1 action=delete>
Or
<way id=1 action=delete>
<relation id=1 action=modify>
<member type=way ref=2>
<tag scenic route>
Or
<node id=1 action=delete>
<node id=2 action=delete> (which would make way1 being deleted but what about
relation1?)
Or
???
At what level (node/way/relation) do I need to apply the action and how does it
affect other connected entities?
Thanks,
- Thomas
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev