[osmosis-dev] Merge multiple files
Brett Henderson
brett at bretth.com
Sun Oct 13 10:54:54 UTC 2013
Hi Mira,
On 28 September 2013 21:16, Jaromír Mikeš <mira.mikes at seznam.cz> wrote:
> Hi devs,
>
> I am happily using osmosis for a while.
> I know that I can merge multiple files this way:
>
> osmosis --rx 1.osm --rx 2.osm --rx 3.osm --merge --merge --wx merged.osm
>
>
> But this way is not very useful if you need merge 200+ files.
>
>
> Would possible implement something like this?
>
> osmosis --rx my/files/* --merge --wx merged.osm
>
It would require significant changes to the way Osmosis works. With some
effort, a new --rx task could perhaps be created to write read multiple XML
files and write them to separate pipes, but a new --merge task would have
no way of knowing how many inputs it should consume.
It's not something I'll personally be tackling. Can this be solved with a
wrapper shell script?
Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20131013/49bb2d8d/attachment.html>
More information about the osmosis-dev
mailing list