[Tile-serving] [openstreetmap/osm2pgsql] osm2pgsql crashes silently when importing some Geofabrik extracts (#954)
zimbricchio
notifications at github.com
Wed Sep 25 13:58:08 UTC 2019
I use osm2pgsql to import to PostGis some Geofabrik country extracts.
For most of them it worked as expected.
For Norway and Tanzania (and England if I remember well) osm2pgsql crashes silently while processing relations.
I tried on 2 different machines with win7 and win8, with extracts from different days months apart, and 2 different versions of osm2pgsql including the latest.
Example command line for Norway:
osm2pgsql.exe --slim --host localhost --port 5432 --username postgres --database norway --prefix osm --cache 1600 --style "<path-to-file>\a_style.style" "<path-to-file>\norway-latest.osm.pbf
I tried with different sizes of cache and also tried removing the cache option.
The pbf file can be found here (the exact day should not matter):
https://download.geofabrik.de/europe/norway-latest.osm.pbf
Style file is the following:
#################### STYLE FILE ######################
node,way addr:housenumber text linear
node,way addr:interpolation text linear
node,way addr:city text linear
node,way addr:street text linear
node,way addr:postcode text linear
node,way addr:country text linear
way admin_level text polygon
way boundary text polygon
way highway text linear
node,way name text linear
way oneway text linear
node,way place text polygon
node poi text
node,way tunnel text linear
node,way waterway text polygon
node,way width text linear
node,way building text linear
node,way source text linear
--
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/954
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190925/1112721e/attachment.html>
More information about the Tile-serving
mailing list