k-yle left a comment (openstreetmap/openstreetmap-website#5973)
> Now for the upload, you might have multiple create/modify/delete blocks in
> random order, including repeating blocks for the same action. How would this
> work with your proposed format?
If I understand you correctly, you're referring to the case where someone
uploads an XML file like this:
```xml
<osmChange>
<create> <node id="1" … /> </create>
<update> <node id="2" … /> </update>
<create> <way id="3" … /> </create> <!-- create again -->
<create> <node id="4" … /> </create> <!-- and again -->
</osmChange>
```
Is there a reason why uploaders can't just store 3 arrays (`create`, `update`,
`delete`) and append each element to the correct array before uploading it?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5973#issuecomment-2844691797
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5973/c2844691...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev