[osmosis-dev] question about --merge

Christoph Wagner freemaps.osm at googlemail.com
Mon May 17 16:42:05 BST 2010


Hello list,

I am new to this dev-list. My name is Christoph Wagner and I maintain the Garmin All in one Map:
http://wiki.openstreetmap.org/wiki/All_in_one_Garmin_Map

I want to reduce some server load (I omit details here) and tried to filter OSM-Data with osmosis.

For example I have the problem to filter out all kind of adresses in an osm-file.
My first guess was that:

osmosis-0.35.1/bin/osmosis --rx input.osm --t outPipe.1=points \
--wk keyList="addr:interpolation,addr:housenumber" --un --s \
--nk inPipe.0=points keyList="addr:housenumber" --s \
--m --wx addr.osm

The Problem is, that osmosis never finishes. I wonder why.
No error, no writing, no CPU-usage - it just waits and does nothing.
There must be something wrong with the --m I guess, but I don't know what.

This one here does what I want, but needs to write out and read in again xml files for that:

osmosis-0.35.1/bin/osmosis --rx input.osm --t outPipe.1=points \
--wk keyList="addr:interpolation,addr:housenumber" --un --s --wx addr_lines.osm \
--nk inPipe.0=points keyList="addr:housenumber" --s --wx addr_points.osm

osmosis-0.35.1/bin/osmosis --rx addr_lines.osm --rx addr_points.osm --m --wx addr.osm

Is this behaviour wanted? Can somebody give me a hint to do it better?
I have no idea what is wrong.

Thanks
Christoph

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20100517/53488af4/attachment.pgp>


More information about the osmosis-dev mailing list