[OSM-dev] Planet.osm diffs autogenerated

spaetz osm at sspaeth.de
Fri Aug 10 08:44:34 BST 2007


On Fri, Aug 10, 2007 at 12:06:19AM +0100, Jon Burgess wrote:
> Thanks for adding the diffs spaetz.
Thanks for creating planetdiff. I love the fact that it operates directly on the bz2 files and that it seems very gentle in its memory consumption. I can run it on the dev machine without interrupting everything else.

> For reference, multiple planetdiff tools can be persuaded to pipeline
> together. This allows you to load latest planet.osm into osm2pgsql using
> an old dump + multiple diffs as follows:
> 
> $ planetpatch planet-070718.osm.bz2 planet-070718-070725.diff.xml.bz2 | \
>   planetpatch /dev/stdin planet-070725-070801.diff.xml.bz2 | \
>   planetpatch /dev/stdin planet-070801-070808.diff.xml.bz2 | \
>   osm2pgsql -

Cool and good to know. How difficult would it be to incorporate this into one planetpatch call, ie
planetpatch planet-070718.osm.bz2 planet-070718-070725.diff.xml.bz2  planet-070725-070801.diff.xml.bz2 planet-070801-070808.diff.xml.bz2 | osm2pgsql -

spaetz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070810/38010e29/attachment.pgp>


More information about the dev mailing list