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

Trouble installing TagTransform plugin for Osmosis

1

Hi all,

I am trying to install the TagTransform plugin for Osmosis, after doing following I get an exception.

  1. download and copy the tagtransform.jar into /lib/default
  2. create osmosis-plugins.conf under /config and added "uk.co.randomjunk.osmosis.transform.TransformPlugin"
  3. Run osmosis with --tag-transform

I got an exception saying PluginLoader class def not found. I am running it on Windows.

Any idea?

asked 23 Aug '11, 18:15

Yingqi%20Tang's gravatar image

Yingqi Tang
16112
accept rate: 0%


One Answer:

1

I think the problem is that the tagtransform.jar linked from the wiki is built for an older version of Osmosis. So it is lacking some of the classes required by the current version.

You could follow the instructions for Building the TagTransform jar yourself, using the current version of Osmosis and the TagTransform source from SVN. This will probably require installing Apache Ant, I don't know how easy that is on Windows.

Or try this tagtransform.jar that I have built for Osmosis v0.38: http://osmalba.org/work/tagtransform.jar Just download it, and put it in the lib/default directory. This works fine for me, using Osmosis v0.38 on Windows. Though I am no expert on this, I'm not sure if it will work for anyone else, or with different versions of Osmosis.

answered 24 Aug '11, 00:19

Vclaw's gravatar image

Vclaw
9.2k895141
accept rate: 22%

Source code available on GitHub .