[OSM-dev] Planet dump updates to include relations as an extra file

Jon Burgess jburgess777 at googlemail.com
Tue Apr 8 23:06:51 BST 2008

I added a couple of command line switches to the planet dump tool:

$ planetdump --help
Usage error:
        planetdump [--nodes] [--ways] [--relations]

Writes OSM planet dump to STDOUT. If no flags are specified then all
data is output. If one or more flags are set then only the requested
data is dumped.

The script which runs the weekly dump has been changed to produce a new
file with just the relations. Tomorrow we should see: 


The contents on the main planet.osm dump is unchanged. It still contains
the relations too, this is an additional copy of the data. 

It is much more efficient to parse the planet file if you know up front
which nodes and ways are referenced by relations. This will make the
relation handling on osm2pgsql much more efficient (and will probably
help other tools too).


More information about the dev mailing list