Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-06 Thread Gert Münzel
Clinton Gladstone wrotes on/Tue Oct 6 10:06:35 BST 2009:/ >Yes, you did misunderstand (or I provided an inappropriate >explanation): you need to insert the hex code directly into the stylefile. >That means you need to open the style file with a hex editor, find the >byte between ${ref|highway-

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-06 Thread Clinton Gladstone
On Mon, Oct 5, 2009 at 8:02 PM, Gert Münzel wrote: > Clinton wrote: >>highway=* {name '${ref|highway-symbol:oval}<0x1f>${name}' >>Where "<0x1f>" is the actual hex code 1f, inserted with a hex editor. >>This might be enough for Gert to test this out without requiring any >>modifications to mkgmap.

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Gert Münzel
Steve wrotes on /Mon Oct 5 22:59:50 BST 2009 / >Itsn't it commented out in the HighwayShieldFilter? It may well work >with the PrependFilter, try: ${name|prefix:ele} Yes, it's commented out. ${name|prefix:ele} , i have already tried before. Yes it works. BUT ONLY if you use it as single mag

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Steve Ratcliffe
On 05/10/09 19:02, Gert Münzel wrote: > But mkgmap support it if you take mp-format as input. Only with osm-input it > doesn't work. > Also i saw entrys for 0x1f in the PrependFilter.java and > HighwayshieldFilter.java. Itsn't it commented out in the HighwayShieldFilter? It may well work with

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Gert Münzel
@ Steve and @ Clinton Steve wrote: >As the 0x1f separator is not a highway symbol it is not >supported by the highway-symbol modifier. In this >case, since you don't want to modify the string it would be >best to just insert the symbol where you want it >to be, however mkgmap does not support that

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Clinton Gladstone
On Mon, Oct 5, 2009 at 5:59 PM, Steve Ratcliffe wrote: > As the 0x1f separator is not a highway symbol it is not > supported by the highway-symbol modifier.  In this > case, since you don't want to modify the string it would be > best to just insert the symbol where you want it > to be, however m

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Steve Ratcliffe
Hi On 05/10/09 15:48, Gert Münzel wrote: > I try to use the Garmin magic label codes in the form > ~[0x06]B51~[0x1f]Hauptstrasse > I have made an entry in stylefile like > highway=* {name '${ref|highway-symbol:oval} ${name|highway-symbol:ele}' > | '${ref|highway-symbol:oval}' | '${name}' } > whe

Re: [mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Ivan Kostoski
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|} while above example uses only ${ref|}. It might have to do with 'magic' o

[mkgmap-dev] Handling of Garmin magic label codes (highwayshields etc.) differs from mp-format input to osm-format ?

2009-10-05 Thread Gert Münzel
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 ent