Osmosis: Filter for certain ways and nodes
Hi
I want to filter the map of Denmark downloaded from Geofabrik.
What I would like are the following ways:
highway.motorway,highway.motorway_link,highway.trunk,highway.trunk_link,highway.primary,highway.primary_link,highway.secondary,highway.unclassified,highway.tertiary
And also, I'd like the following nodes:
amenity.fuel
I've been trying using the filter options in osmosis using the following setup created in OSMembrane:
osmosis.bat ^
--read-pbf file=Dropbox/Documents/P6/Data/denmark-latest.osm.pbf outPipe.0=1 ^
--tee 2 inPipe.0=1 outPipe.0=2 outPipe.1=3 ^
--way-key-value keyValueList=highway.motorway,highway.motorway_link,highway.trunk,highway.trunk_link,highway.primary,highway.primary_link,highway.secondary,highway.unclassified,highway.tertiary inPipe.0=2 outPipe.0=4 ^
--node-key-value keyValueList=amenity.fuel inPipe.0=3 outPipe.0=5 ^
--merge inPipe.0=5 inPipe.1=4 outPipe.0=6 ^
--write-xml file=Dropbox/Documents/P6/Data/Output.osm.xml inPipe.0=6
However, when I run this, osmosis start, but never finishes. When I look in my Windows Task Manager, it looks the the task is not even running at all. No CPU is being used. It just stays at the state "INFO: Pipeline executing, waiting for completion.".
Any ideas?