
Hi, I created a test map of Tokyo and want to use the name:en tag for the names. But I found that changing the name_tag = name:en in the options file is not working. Do I also have to change all references to 'name' in the lines file to 'name:en' ? # Set highway names to include the reference if there is one highway=motorway {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}' } highway=trunk {name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}' } highway=primary {name '${ref|highway-symbol:box} ${name}' | '${ref|highway-symbol:box}' | '${name}' } highway=secondary {name '${ref|highway-symbol:oval} ${name}' | '${ref|highway-symbol:oval}' | '${name}' } highway=* {name '${ref} ${name}' | '${ref}' | '${name}' } Chris

On 12/02/10 18:18, Chris-Hein Lunkhusen wrote:
I created a test map of Tokyo and want to use the name:en tag for the names.
But I found that changing the name_tag = name:en in the options file is not working.
The option is name-tag-list and not name_tag, if that wasn't just a typo. I had forgotten how it worked somewhat, but looking at the code it should work in the way you want: the name tag is replaced by the first matching tag in the list that exists before processing the way. ..Steve

On 12/02/10 18:18, Chris-Hein Lunkhusen wrote:
I created a test map of Tokyo and want to use the name:en tag for the names.
But I found that changing the name_tag = name:en in the options file is not working.
The option is name-tag-list and not name_tag, if that wasn't just a typo.
I had forgotten how it worked somewhat, but looking at the code it should work in the way you want: the name tag is replaced by the first matching tag in the list that exists before processing the way.
..Steve
The default style gives an example with name_tag. So this should be corrected. WanMil
participants (3)
-
Chris-Hein Lunkhusen
-
Steve Ratcliffe
-
WanMil