Hello, I would like to extract all roads in the Myanmar OSM data using osmosis in the window's command prompt. The following is my code: osmosis --read-xml myanmar-latest (2).osm --tf accept-ways highway=* --used-node --write-xml myanmar-roads.osm I got the following error: Nov 16, 2017 5:45:15 PM org.openstreetmap.osmosis.core.Osmosis main SEVERE: Execution aborted. org.openstreetmap.osmosis.core.OsmosisRuntimeException: Only one default (un-named) argument can exist per task. Arguments 3 and 2 have no name. Any idea where I went wrong and how to fix this? Thanks in advance! asked 16 Nov '17, 10:02 nrsbrn |
If your file name contains spaces, you probably need to use quotes around it. Try replacing
with
or rename the file to something without spaces. answered 16 Nov '17, 18:41 Tordanik 1
Oh wow! I'm new to using this tool. I've added the quote and managed to get the data I need. Thank you for your help, really appreciate it!
(17 Nov '17, 02:47)
nrsbrn
Glad to help! :) If your problem is solved, you can mark the question as answered by clicking the checkmark icon next to an answer.
(17 Nov '17, 19:52)
Tordanik
|