[Tile-serving] [openstreetmap/osm2pgsql] Changing the way osm2pgsql handles multiple input files (#1167)
mmd
notifications at github.com
Thu May 14 14:29:05 UTC 2020
> The input files must all be sorted. Otherwise we can't do this merging of the input files on the fly. This isn't a huge problem though. Most OSM data and OSM change files normal users will encounter are sorted.
The Wiki page on the OSM XML format (https://wiki.openstreetmap.org/wiki/OSM_XML) explicitly states that blocks of a type don't have to be sorted (section "Certainties and Uncertainties"). You could argue that the Wiki isn't a reliable source of reference anyway, and simply ignore this page. However, there's some chance that Introducing stricter requirements will break some people's workflow.
Just to name one example, Overpass queries using `out qt`; would produce an XML result that can no longer be processed by osm2pgsql. There may be other extract services that might be afftected in a smilar way (probbaly needs a bit of a research to identify those).
--
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/osm2pgsql/issues/1167#issuecomment-628673107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200514/4bfed18f/attachment.htm>
More information about the Tile-serving
mailing list