WanMil,

I tried the following osmosis call:
osmosis.bat --rb europe.osm.pbf --tf accept-ways boundary=administrative
--tf accept-relations boundary=administrative --used-way --used-node
--wx europe-boundaries.osm.gz

I noticed that some ways of relations are missing in the
europe-boundaries.osm.gz file. I am not very experienced in the osmosis
parameters so I am unsure if my parameters are wrong or if its an
osmosis bug.

it so happens I answered a similar question on the osm-dev list a few days ago:
:)

http://lists.openstreetmap.org/pipermail/dev/2011-April/022394.html

And see also the follow-up by Frederik Ramm:

http://lists.openstreetmap.org/pipermail/dev/2011-April/022397.html

Your case is basically the same - you need to duplicate the input stream first,
handle the ways and the relations in the different subpipelines and then merge
the two streams into a single result stream. Otherwise you are throwing away
some ways in --tf accept-ways that you would later need for your relations.
That's why you encounter missing ways in your result data set.

Hope that helps
Igor


Igor,

it's working fine!

Thanks!
WanMil

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

Reply via email to