[openstreetmap/openstreetmap-website] Implement JSON support for the changeset download API (PR #5973)
Jochen Topf
notifications at github.com
Fri May 16 07:04:22 UTC 2025
joto left a comment (openstreetmap/openstreetmap-website#5973)
> It seems there were good reasons to introduce it for the XML format back in the days.
I don't think too much thought went into that decision at that time. It probably simply seemed a reasonable way to do things and it totally does make sense if you are thinking in terms of a "diff" file and not in terms of versioning. I am not sure about the timeline there, it might well be that we did not ship history files back then, so the idea of having a "visible" flag instead had not come up. I never thought about the file format until I had to implement it and found it more complex than it would need to be due to that extra level of hierarchy in the XML. And interestingly enough, we still only have change files in XML and not in PBF, because in PBF there would be no other way to format them than with that "visible" flag. (Side note: The [underlying software](https://github.com/openstreetmap/osmdbt) has supported creating PBF diffs for years now, they are just not used.)
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5973#issuecomment-2885834373
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5973/c2885834373 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250516/2f33399e/attachment-0001.htm>
More information about the rails-dev
mailing list