[osmosis-dev] help by extract poi data

Emilie Laffray emilie.laffray at gmail.com
Mon Dec 7 12:39:25 GMT 2009


2009/12/7 Jan Tappenbeck <osm at tappenbeck.net>

> hi !
>
> i had a command to extrakt poi-data via osmosis which work for a long time.
>
> now it did not work and so i download the new release because my was old.
>
> the command was...
>
> bin/osmosis.bat -v 99 --read-xml saarland.osm  --node-key-value
> keyValueList="historic.archaeological_site" --write-xml
> temp_arch_node.osm --way-key-value
> keyValueList="historic.archaeological_site" --used-node --write-xml
> temp_arch_way.osm
>

It won't work as you need to split the pipe from the reading. Look at the
--tee keyword. In your case, you the read-xml is only producing one pipe
that is consumed by --nkv and then wx, but the kvl is not getting any pipe.
The function --tee allows you to split pipes.

Emilie Laffray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20091207/dbfed092/attachment.html>


More information about the osmosis-dev mailing list