
A line in my style file looks like this highway=secondary {name '${ref|highway-symbol:oval} ${name}' | '${ref|highway-symbol:oval}' | '${name}' } Difference between your line and above example is that you are using ${name|<symbol>} while above example uses only ${ref|<symbol>}. It might have to do with 'magic' of name = ${name} processing. Hope this helps. On Mon, Oct 5, 2009 at 4:48 PM, Gert Münzel <Gert.Muenzel@netcologne.de>wrote:
Hi, i have already asked( "Problem with special Garmin label codes"). I try to use the Garmin magic label codes in the form ~[0x06]B51~[0x1f]Hauptstrasse If i pass this inside a mp-format file mkgmap could handle it. If i triy it with input in osm-format i can't get it to work. I have made an entry in stylefile like highway=* {name '${ref|highway-symbol:oval} ${name|highway-symbol:ele}' | '${ref|highway-symbol:oval}' | '${name}' } where i expect as result: ~[0x06]B51~[0x1f]Hauptstrasse if ref=B51 and name=Hauptstrasse
But always the second magic codes is ignored by mkgamp. Is the format of my stylefile entry correct or false.? Or simply will mp-format and osm-format be treaten different by mkgamp in this case? Or what else i have to do to get it working also with osm-input.
TIA Gert
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev