Why Are Polygons Missing When Loading planet-v1.57.osm.pbf with GDAL?

I came across this discussion: visit.community.openstreetmap.org/t/missing-multipolygons-while-loading-the-planet-pbf-file-with-gdal/124082 but I didn’t find a solution, so I thought I’d start fresh.

While trying to load the planet-v1.57.osm.pbf file using GDAL, I noticed that many polygons, including administrative boundaries and building footprints, are missing. The output only shows about 111M polygons, whereas I used to get over 200M polygons with previous versions of the same dataset.

Could this issue be related to the configuration file I’m using, particularly the ignore or keys to report as OGR fields settings? Or is it possible that changes in the PBF file structure or GDAL version are causing the data loss? How can I ensure that all polygons, especially admin areas and building footprints, are loaded correctly?

Our planet files usually have a date in their name. Where did you pick up the file planet-v1.57.osm.pbf?

2 Likes