On 09/11/09 18:04, Felix Hartmann wrote:
I would like to set up display name with lines in my style-file like
highway=tertiary { display_name '${name}' | 'tertiary' } [0x04 ........]
however currently this is impossible. Could someone adapt mkgmap to
treat display_name processing like "name" processing?
I can add the list of alternatives to all set and add commands:
add display_name = '${name}' | 'tertiary';
Is that what you want? I think that would be useful elsewhere anyway.
Currently you can do this, which I think does what you want but more
verbose:
highway=tertiary {
add display_name = '${name}';
add display_name = 'tertiary'; } [0x04 ... ]
In other cases that wouldn't work, for example if display_name was
already set, but you wanted to append to it for example.
Okay, didn't know I can use the same "command (add key) twice with";"
but it would do for a start.