[OSM-dev] New tool to generate incremental planet.osm updates (planetdiff/planetpatch)
lists at brachttal.net
Fri Apr 6 13:38:22 BST 2007
Am Fri, 06 Apr 2007 12:34:17 +0100 schrieb Jon Burgess:
> Hi all,
> I've developed a diff/patch tool for handling planet.osm dump
> files. This allows an incremental diff to be generated between 2
> planet.osm dumps. This diff file can then be applied on top of the
> old planet.osm to generate the new one.
> If we published these diff files on planet.openstreetmap.org then it
> could make the downloads to obtain a new planet.osm dump much
> smaller. I think the typical weekly diff file is in the order of 5MB
> to 10MB when bz2 compressed.
> The usage summary is:
> Patch creation:
> $ planetdiff planet-070307.osm.bz2 planet-070321.osm.bz2 > delta.xml
> Applying a patch:
> $ planetpatch planet-070307.osm.bz2 delta.xml > planet-070321a.osm
> The tool is in SVN under utils/planetdiff/...
> See the SVN readme.txt for further details or
Cool idea! But what is the reason not to use common GNU diff/patch?
More information about the dev