Hi im trying to filter an osm file but i want the created file, to be in different folder rather than one im currently in, the command i use is sudo osmosis --read-pbf "/home/ubuntu/osmosis/bin/andorra-latest.osm.pbf" --tf accept-ways highway=motorway,motorway_link,trunk,trunk_link --tf reject-relation --used-node --write-xml "home/ubuntu/osmosis/bin/andorra-latest.osm" this is the path i want to write my xml to --write-xml "home/ubuntu/osmosis/bin/andorra-latest.osm" this is the error i am getting : Caused by: java.io.FileNotFoundException: home/ubuntu/osmosis/bin/andorra-latest.osm (No such file or directory) any help would be much appreciated asked 26 Nov '20, 17:42 shafi-as |
You are missing a / before the "home" in your output path:
answered 26 Nov '20, 17:46 Frederik Ramm ♦ SomeoneElse ♦ |