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:
relations-080409.osm.bz2
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).
Jon
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev