[OSM-dev] New tool to generate incremental planet.osm updates (planetdiff/planetpatch)

Artem Pavlenko artem at mapnik.org
Fri Apr 6 13:46:37 BST 2007


Hi Jon,
This is very cool! I think we should start publish diff files  
straight away . Steve ?

Artem

On 6 Apr 2007, at 12:34, Jon Burgess wrote:

> 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
> http://trac.openstreetmap.org/browser/utils/planetdiff/readme.txt
>
>
> 	Jon
>
>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>

Artem Pavlenko
http://mapnik.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070406/18ce40b2/attachment.html>


More information about the dev mailing list