[OSM-dev] Merging OSM files

Gabriel Ebner ge at gabrielebner.at
Sun May 28 18:36:04 BST 2006


On Sun, May 28, 2006 at 06:38:41PM +0100, Oliver White wrote:
> Is there a good tool to merge .osm files?

I'm using a one-minute-hack that depends on the layout of the OSM files from
the server, but it does its job well.  If you're content with that:

  perl merge.pl osm1.xml osm2.xml ... >merged.xml

Beware however that if you're merging files you've got at different times,
there might be troubles with modifications that happened in between.

    Gabriel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge.pl
Type: application/x-perl
Size: 620 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20060528/931b826a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20060528/931b826a/attachment.pgp>


More information about the dev mailing list