logo separator

[mkgmap-dev] Minor process-destination issue

From WanMil wmgcnfg at web.de on Thu Nov 22 15:05:43 GMT 2012

> Do we have a style-function for this?
>
> item( ${destination}, 1 ) -> Bonn
> item( ${destination}, 2 ) -> Rodenkirchen

No we don't and it will not be so easy to implement that because the 
functions do not have any parameters yet at the moment. So it's a big 
change.

But the style system has a regular expression substitution:
${destination|subst:;=> }
So everything behind subst: (in this case ";") is replaced with the 
string after the => (in this case " "). Maybe the ; must be escaped but 
generally it should work.

WanMil




More information about the mkgmap-dev mailing list