NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I try to read a recent planet and / or osmborder extract via Osmosis. The prebuild package, the ubuntu package as well as a self-compiled package all crash:

    $ osmosis --read-pbf /media/self/planet-170130.osm.pbf 
Feb 06, 2017 9:19:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.44.1
Feb 06, 2017 9:19:42 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to load plugin class (uk.co.randomjunk.osmosis.transform.TransformPlugin).
    at org.openstreetmap.osmosis.core.TaskRegistrar.loadPluginClass(TaskRegistrar.java:334)
    at org.openstreetmap.osmosis.core.TaskRegistrar.loadPlugin(TaskRegistrar.java:313)
    at org.openstreetmap.osmosis.core.TaskRegistrar.initialize(TaskRegistrar.java:84)
    at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:81)
    at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:328)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Caused by: java.lang.ClassNotFoundException: uk.co.randomjunk.osmosis.transform.TransformPlugin
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:53)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:208)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:202)
    at org.openstreetmap.osmosis.core.TaskRegistrar.loadPluginClass(TaskRegistrar.java:332)
    ... 13 more

It is also not working with the version here:

http://wiki.openstreetmap.org/wiki/DE:Osmosis#Verwenden_von_.pbf_Dateien

Is it just broken or am I doing something wrong?

asked 06 Feb '17, 20:24

AddisMap_Alexander's gravatar image

AddisMap_Ale...
1.1k314062
accept rate: 0%


I was having a

OSMOSIS_OPTIONS="-p uk.co.randomjunk.osmosis.transform.TransformPlugin"

in ~/.osmosis

permanent link

answered 06 Feb '17, 20:32

AddisMap_Alexander's gravatar image

AddisMap_Ale...
1.1k314062
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×252
×4

question asked: 06 Feb '17, 20:24

question was seen: 2,424 times

last updated: 06 Feb '17, 20:32

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum