bug in name command when combined with continue with_actions

Moin, I want to create two symbols for a single element (tagged with key=value), and both symbols shall have different name (alpha and bravo). If my points style looks like the following key=value {name 'alpha'} [0x6005 resolution 20 continue with_actions] key=value {name 'bravo'} [0x5001 resolution 20 continue with_actions] then I will get the two symbols, but both have the name alpha. If I rewrite my style to key=value {set name="alpha"} [0x6005 resolution 20 continue with_actions] key=value {set name="bravo"} [0x5001 resolution 20 continue with_actions] then I will get the two symbols with the correct names alpha and bravo. Interestingly, if I just use the first version but without the with_actions extension key=value {name 'alpha'} [0x6005 resolution 20 continue] key=value {name 'bravo'} [0x5001 resolution 20 continue] then I will again get the two symbols with the correct names alpha and bravo. Gruss Torsten

Hi
key=value {name 'alpha'} [0x6005 resolution 20 continue with_actions] key=value {name 'bravo'} [0x5001 resolution 20 continue with_actions]
key=value {set name="alpha"} [0x6005 resolution 20 continue with_actions] key=value {set name="bravo"} [0x5001 resolution 20 continue with_actions]
then I will get the two symbols with the correct names alpha and bravo.
key=value {name 'alpha'} [0x6005 resolution 20 continue] key=value {name 'bravo'} [0x5001 resolution 20 continue]
then I will again get the two symbols with the correct names alpha and bravo.
The difference is down to the 'name' command being like 'add' and not like 'set'. If you use add instead of set, then it behaves consistently with the way that name behaves. ..Steve

Steve Ratcliffe schrieb am 25.03.2010 00:49:
The difference is down to the 'name' command being like 'add' and not like 'set'. If you use add instead of set, then it behaves consistently with the way that name behaves.
Ah, thanks for the explanation. Actually where is the best description/user guide for the different commands of the style files? The help for the command line parameters is maintained within the help parameter of mkgmap, but details of the style-commands are hard to find. I don't even know a single list on the net containing all the possible commands. Gruss Torsten

Hi
Actually where is the best description/user guide for the different commands of the style files? The help for the command line parameters is maintained within the help parameter of mkgmap, but details of the style-commands are hard to find. I don't even know a single list on the net containing all the possible commands.
The best place is on the wiki at: http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules On the whole it doesn't include things that were not added by me though. ..Steve

Steve Ratcliffe schrieb am 25.03.2010 18:24:
The best place is on the wiki at: http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules
On the whole it doesn't include things that were not added by me though.
Obviously there are some features missing. At least now I know, where I should add missing information. Gruss Torsten
participants (2)
-
Steve Ratcliffe
-
Torsten Leistikow