[Tile-serving] [openstreetmap/osm2pgsql] Missing polygon and ways after importing filtered sorted data in slim mode (#797)
endro
notifications at github.com
Tue Oct 31 13:22:26 UTC 2017
Hi guys, few days ago I have downloaded Europe extract from Geofabrik. Now I am trying to import complete filtered data to database.
Filtered using:
`/osm/osmosis/bin/osmosis --rbf /osm/europe/europe-latest.osm.pbf --log-progress --buffer bufferCapacity=1000 --tf accept-ways power=* --tf accept-nodes power=* --tf accept-relations power=* --sort --write-xml output.xml`
Imported using:
`osm2pgsql --create --database osm --prefix power --merc --cache 3000 --slim -S /osm/import.style /osm/europe/output.xml`
import.style:
>OsmType Tag DataType Flags
>node,way z_order int4 linear # This is calculated during import
>way way_area real linear # This is calculated during import
>node,way power text polygon #,nocolumn`
After importing, in power_line table I have found 330k ways and in power_polygon only 180 polygons. In temporary (slim?) table power_ways is 620k ways and polygons (with above 300k missing). Why they are not imported? Thanks for help.
Example of missing line: https://www.openstreetmap.org/way/340444076
osm2pgsql version 0.95.0-dev (64 bit id space)
INFO: Osmosis Version 0.46
PostgreSQL 9.5.9
--
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/797
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20171031/3a2cbb8d/attachment.html>
More information about the Tile-serving
mailing list