Ldp
5
This is expected behaviour from the weekly planet dump. There is no guarantee of integrity on any data that was added to the OSM db after the time the planet file generation has started.
It takes a few hours to generate the planet file, and when the nodes have been dumped to the file, someone can still add a new way and associated new nodes. This could then show up only as a way, later in the file.
The only way to get a good file with referential integrity is to take the weekly planet dump, and add the next day’s daily diff file to that:
-
Fetch the weekly planet (e.g. planet-090708.osm.bz2) and next day’s diff (e.g. 20090708-20090709.osc.gz)
-
bzcat planet-090708.osm.bz2 | osmosis --rxc 20090708-20090709.osc.gz --rx - --ac --wx planet-090709.osm.gz