Hi guys,
I just started using osmosis and I used following instructions:
But I immediatly get following error message when running the command (even with different pbf files).
Can anyone help?
C:\Users\mt5285\Downloads\Sample>osmosis --read-pbf file="sample_osmosis.osm.pbf"
Okt 16, 2019 1:33:44 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMATION: Osmosis Version 0.47
Okt 16, 2019 1:33:44 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMATION: Preparing pipeline.
Okt 16, 2019 1:33:44 PM org.openstreetmap.osmosis.core.Osmosis main
SCHWERWIEGEND: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: The following named pipes () and 1 default pipes have not been terminated with appropriate output sinks.
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(Pipeline.java:96)
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:116)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:86)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
asked 16 Oct '19, 12:47

ulicious
11●1●1●3
accept rate: 0%
Strange. Can you post the exact error message? Generally speaking, if you are only interested in Germany, why not use a Germany file to start with (http://download.geofabrik.de/europe/germany-150101.osm.pbf if you're desperate for an antique one) that will be much faster. Also, unless you really need power lines that lead out of the country, you can just drop the "completeRelations=yes" and it should still work.
Hi Frederik, it's now finally running. It seems it was more my inexperience in cmd/osmosis than a problem with the code. Thanks for the support.
Yeah, you're right that this approach is not yet the best. But first I want to get things running and than it's about improving. I am also using the current planet data, but the documentation is from 2015 though