logo separator

[mkgmap-dev] set display name problem ( Error in style: Error: (lines:14): Unrecognised command 'display_name', Could not open style null )

From Clinton Gladstone clinton.gladstone at googlemail.com on Mon Nov 9 19:05:54 GMT 2009

On Nov 9, 2009, at 19: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 ........]

Have you tried it with "add display_name =" ...? Or do you need the  
syntax in the line above?

This is the line I have in my style file:

highway=primary | highway=secondary | highway=tertiary {name '${ref| 
highway-symbol:oval:6:4} ${name}' | '${ref|highway-symbol:oval:6:4}' |  
'${name|highway-symbol:oval:6:4}'; add display_name = '${name} ($ 
{ref})' }

And this works for me. :-)

Cheers.



More information about the mkgmap-dev mailing list