[openstreetmap/openstreetmap-website] Deleting a relation (and just that) creates a changeset without a bounding box (#2020)

mmd notifications at github.com
Tue Oct 9 09:44:22 UTC 2018


I believe this is editor specific. iD as an example provides all previous relation members even for the delete call (although it wouldn't be necessary at all). This tricks the logic in Rails to believe there's no change... 


```
<osmChange version="0.6" generator="iD"><create/><modify/><delete if-unused="true"><relation id="80000000303" version="1"><member type="way" role="from" ref="4000212050"/><member type="way" role="to" ref="4000212051"/><member type="node" role="via" ref="5003081799"/><tag k="restriction" v="no_right_turn"/><tag k="type" v="restriction"/></relation></delete></osmChange>
```

@simonpoole : thanks a lot for testing! If people find recursing down relations one level helpful, I think this could also be added.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2020#issuecomment-428129204
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181009/2c07c4ea/attachment.html>


More information about the rails-dev mailing list