[Tile-serving] [openstreetmap/osm2pgsql] 1.5.0 not all objects found in planet_osm_line/polygon in their full form (#1540)

mboeringa notifications at github.com
Mon Jul 19 21:34:34 UTC 2021


> I can reproduce this now in a way: I see that some nodes are missing in the node cache when I run osm2pgsql on a planet file. Those nodes are in the planet, so they should be in the cache but aren't. This can easily explain missing features, because features with broken geometries are simply ignored by osm2pgsql.

@joto: Based on your description, does this mean that if "--cache=0", this issue may not occur?

I am asking, because as you know, I have been experimenting recently as well with osm2pgsql v1.5.0 and osm2pgsql flex output with both official OSM planet files, and Facebook Daylight. However, during a few of these imports (some with cache and others "--cache=0"), I noticed missing polygons. I first blamed this on a possible issue in either some of my own post-import processing code, or an issue with how I used osmium to merge Facebook planet with Microsoft ML building and boundaries as offered by Facebook. 

But now I am wondering if I didn't run into the same issue, as the last run that did seem OK, used "--cache=0".

-- 
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/1540#issuecomment-882876864
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210719/65f54824/attachment.htm>


More information about the Tile-serving mailing list