[Tile-serving] [osm2pgsql] Missing way in planet_osm_polygon with test .osm.pbf (#136)

jocelynj notifications at github.com
Tue Apr 22 20:02:20 UTC 2014


I have run the following command lines:
```
./osm2pgsql --slim -Sdefault.style -dosm2pgsql-test -C100 -x -k --hstore-match-only tests/liechtenstein-2013-08-03.osm.pbf
osmconvert tests/liechtenstein-2013-08-03.osm.pbf --out-osm > tests/liechtenstein-2013-08-03.osm
./osm2pgsql --slim -Sdefault.style -dosm2pgsql-test -C100 -x -k --hstore-match-only tests/liechtenstein-2013-08-03.osm
```
In the first command line, way 25453075 is missing from planet_osm_polygon, but not on the second command line. This is a landuse=forest way, without any special attribute.

After some investigation, pgsql_add_way() is correctly having filter=0 and polygon=1 in both cases, and psql_out_way() is called with this way id from pgsql_out_stop() only in the .osm case. I'm not sure yet where the difference is coming from.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140422/069d7696/attachment.html>


More information about the Tile-serving mailing list