On Wed, Jun 24, 2009 at 1:27 PM, Christoph Eckert <[email protected]> wrote:

> Hi,
>
> > You may trigger a deadlock in this situation ... I've been waiting for
> > somebody to try this out for a long time :-)
>
> he he, bull's eye, eh ;-) ?
>
> Well, I wanted to try to create a kind of worldwide "base map" for Navit to
> get a clue what file size this would trigger. Right now, I'm only
> extracting
> ways. I will try to extract nodes (cities and the like) in a second run.
> I'm
> curious however if it will be possible to merge both files, especially if
> possible duplicates of nodes and ways occur.
>
> I'm not that confident that the desired basemap will be of a reasonable
> size;
> the resulting way's file already is 40GB, and the job is not completed yet.
>
> Anyway, you helped me a lot. Thanks, guys!
>
>
> Cheers,
>
> ce
>

Yes, you can easily merge files. If there are duplicates, it will take the
node/way/relation with the newest version by default (you can change that to
choose the newest timestamp or always from one source). The files must be
sorted for that to work. The command line would be something like:
osmosis --read-xml file1.osm --sort --read-xml file2.osm --sort --merge
--write-xml merged.osm

Karl
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to