This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

osmosis: SEVERE: Execution aborted.

0

Hello, I'm trying to filter basic OSM data with Osmosis. I can't seem to get osmosis running though. I've now cut down the command-code to:

osmosis \ --read-pbf file=~/desktop/BA/Modell/SciGRID/data/01_osm_raw_data/germany-24.10.21.osm.pbf --write-null

and I still get the same Error:

SEVERE: Execution aborted. org.openstreetmap.osmosis.core.OsmosisRuntimeException: The following named pipes () and 1 default pipes have not been terminated with appropriate output sinks.

I really don't know what I'm doing wrong.

asked 08 Nov '21, 19:21

thiblo's gravatar image

thiblo
-11113
accept rate: 0%


One Answer:

2

This error message appears when I run your command without the "--write-null". Make sure that everything is actually on one line. Drop the backslash behind osmosis, and write both the --read-pbf and the --write-null into the same line as "osmosis". Make sure that whatever shell script is called when you run "osmosis" doesn't accidentally remove some of the arguments.

answered 08 Nov '21, 23:13

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thanks for your help. That actually works, I thought everything will be read in one line as long as I don't use any backslash. How do you run multiple commands though? I've just have a space block between every command but that doesn't seem like the best option.

(09 Nov '21, 12:12) thiblo

You can use backslashes to improve readability, but then you have to make sure to put one at the end of each line. I just advised you to get rid of that above in order to minimize the potential for errors ;)

(09 Nov '21, 13:48) Frederik Ramm ♦

Source code available on GitHub .