[OSM-talk] JOSM presets.xml file

Jon Burgess jburgess777 at googlemail.com
Sun Feb 11 21:11:49 GMT 2007


On Sun, 2007-02-11 at 20:46 +0000, David Earl wrote:
> The JOSM presets.xml file I have (vintage November 2006) doesn't seem to
> work with the most recent version of JOSM - the menu of presets
> (e.g.'highway') shows up, but the pop ups e.g. for the particular highway
> types on the dialog that you get are all empty.
> 
> I also tried a clean install for someone else on their computer and it
> doesn't work there either.
> 
> Is it something I'm doing or misunderstanding, or has the format changed?
> Where do I get a new presets.xml from - I can't find it under plugins at
> http://josm.eigenheimstrasse.de/
> 
> Thanks,
> David

I think the latest JOSM code has introduced a new display_values
attribute into the <combo> tag. Try duplicating the 'values' as
'display_values', e.g. something like this...

 <combo key="highway" text="Type" values="secondary,primary,trunk,motorway,motorway_link" display_values="secondary,primary,trunk,motorway,motorway_link"/>

I only found this out by reading the source. I have attached the file
that i'm currently using.

Jon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: annotations.txt
Type: application/xml
Size: 3530 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20070211/be0eede0/attachment.wsdl>


More information about the talk mailing list