Hi Greg,
"why is "Beck Road" being set for variable $[destination] ??"
I've answered this question multiple times now, seems my english is too bad, so
I try again.
The option --process-destination in mkgmap triggers a function that
is execute when the OSM data is read and before your style rules are executed.
This function checks a list of tags ike destination, destination:forward, destination:lanes
and destination:street . When any of those is found mkgmap adds the tag mkgmap:dest_hint=true
and if the tag destination is not already set it is set with the value that was found in the
alternatives.
I guess this happens because nobody tried to create detailed hints like you do.
If I'd start to code this now I would simplify the code so that it
sets mkgmap:dest_hint to the value that was found. So, instead of checking
mkgmap:dest_hint=true one would use mkgmap:dest_hint=*
If I change that now all style authors have to change the corresponding rules,
so I'd like to get positive feedback for this idea before I change the code.
Gerd
Hi,
> No, echotags expects a string constant as parm, and it prints all
> tags of an object
It is not that bad, I think it works like string in "set" command. This should work:
... {echotags 'testing destination=${destination}'}
but it is kind of redundant, maybe better looking would be:
... {echo 'testing destination=${destination}'}
--
Best regards,
Andrzej
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev