Talk:Osmosis/TagTransform

From OpenStreetMap Wiki
Jump to navigation Jump to search

AbstractMethodError

Please see here on the osm-dev mailing-list: http://lists.openstreetmap.org/pipermail/dev/2009-February/014075.html

A user seems to have issues with this plugin. I guess it's a difference between building for the latest stable and the svn-version of osmosis. (I distribute the osmosis.jar along with my plugin for the time being until Brett is done changing the basic entity-classes. ) --MarcusWolschon 07:10, 13 February 2009 (UTC)

Doesn't seem to do a thing

I can edit the transform.xml file as much as I want, this plugin doesn't seem to do a thing. Everything passes cleanly without a change and the only time I see that the transform.xml file is parsed is when I have some xml-error in it. Otherwise nothing shows. I'm using version 0.38 of Osmosis. Any ideas? Rtega 0:15, 29 November 2010 (UTC)

Of course, you should not forget to put <translations> and </translations> around your <translation> tags... Rtega

Installation version for osmosis >=0.38

There may be a problem with the first download version for recent builds of osmosis >=0.38 - there's another version here

The second one cited yields a 404

This is a holding note. The version cited above seems to get me further, but I haven't made it work yet --RichardMann 20:52, 10 July 2012 (BST)

Mixing values from different tags

I tried to use TagTransform to add the elevation to the name of the peaks : (name="Mypeak" ele=1000) => (name="Mypeak (1000)" ele=1000), but that doesn't see possible because an output tag can only reference matches from a single input tag. Is that correct ? One solution would be to allow to specify the match ID in the output format, in my case : <tag k="name" v="{name:0} ({ele:0})"/> Ocroquette 10:57, 26 September 2012 (BST)