logo separator

[mkgmap-dev] add info-letters for

From Felix Hartmann extremecarver at googlemail.com on Thu Nov 12 12:45:28 GMT 2009


Gert Münzel wrote:
> Jan Tappenbeck* wrotes on* /Thu Nov 12 10:11:51 GMT 2009/
>   
>> **//
>>
>> Hi !
>>
>> you use tags in the argument like extremecarver - but i only want to use 
>>   strings like "H=" !!!
>>
>> regards Jan :-)
>>   
>>     
> Hi, Jan
> i'm really not experienced with stylefiles but couldn't resolve this 
> your problem?
>
> highway=* & maxheight>0 {set nameheight='H=${maxheight}'}
> highway=* & maxheight>0 {name 
> '${nameheight|highway-symbol:box:6:4}${name}' | 
> '${ref|highway-symbol:bval}' | '${name}'; add display_name = '${ref} 
> ${name}' }
>   
Well you cannot run two things with the same command line - in my 
example the custom string is set in the relations file - therefore I can 
use it; it is however possible to set strings inside the lines file if 
it is setting string on unconditional rule used by conditional rule ( 
conditional including [0x*] - Otherwise you have to put the whole 
command into one line. also I know oval but not "bval".
What about using it like this:

highway=* & maxheight>0 {name 
'${maxheight|highway-symbol:box:6:4} ${name}' | 
'${ref|highway-symbol:oval} ${name}' |'${ref|highway-symbol:oval}'
 | '${name}'; add display_name = '${ref} ${name}' }


> May be it's only a silly poor man solution and you have to add for every 
> needed string an temporary tag, afaik it works for me.
>
> cheers Gert
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091112/23792d2c/attachment.html 


More information about the mkgmap-dev mailing list