[osmosis-dev] extracting nodes and ways
Bjenk Ellefsen
bjenk.ellefsen at gmail.com
Fri Jan 6 18:10:17 UTC 2017
Hello,
I have a weird result and I am trying to figure this out.
I am trying to use this command to extract ways and nodes of buildings in
one command:
osmosis --rx city.osm --tf accept-ways 'building=*' --tf accept-nodes
'buildings=*' --tf reject-relations --used-node --wx CityBuild.osm
However, whan I do that, I lose the polygons if I then try to convert to
geojson. If I use only --tf accept-ways, I get the polygons.
Now, If I run the same command with just ways, then with just nodes and
merge both OSM before converting, I get both no problems.
Does this mean it is not possible to extract both in one command? This
would so much simpler if it worked. Any ideas?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20170106/c3c5dde8/attachment.html>
More information about the osmosis-dev
mailing list