[Tile-serving] [openstreetmap/osm2pgsql] add data is not working on big files (#1101)

Jochen Topf notifications at github.com
Wed Apr 1 06:51:14 UTC 2020


First, 0.94.0 is a very old version of osm2pgsql. We can't help you with that here. Install a current version and try that.

Second, the append mode (`-a`) is for appending change files, not for appending normal OSM data files. What you are trying to do will be slow and might or might not work in the end. If the two extracts don't have overlapping data it might work, if they do, chances are there will be problems. In any case, the way you are using osm2pgsql is not a supported use case.

Instead merge all extracts you want to import first (recommendation: use `osmium [docs](merge`https://docs.osmcode.org/osmium/v1.11.1/osmium-merge.html) ) and then import that into osm2pgsql.

-- 
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/1101#issuecomment-607068334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200331/16f374aa/attachment-0001.htm>


More information about the Tile-serving mailing list