[Tile-serving] [osm2pgsql] duplicate key error in slim mode (#16)

Tuomas Jaakola notifications at github.com
Fri Apr 3 22:30:03 UTC 2015


Use [osmconvert](http://wiki.openstreetmap.org/wiki/Osmconvert) to merge multiple pbf files:

1. Download pbf files
2. Convert each pbf file to o5m file: `osmconvert extract1.osm.pbf -o=extract1.o5m`
3. Merge o5m files into one pbf file: `osmconvert extract1.o5m extract2.o5m -o=merged.osm.pbf`
4. Now you can import `merged.osm.pbf` with osm2pgsql in slim mode


---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/16#issuecomment-89438511
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150403/b4790604/attachment.html>


More information about the Tile-serving mailing list