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/c2885834...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to