Problem with too large shields on streets with ref and name

Hi Could it be, that this rule is a little bit too much for some devices? highway=trunk { name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}'; addlabel '${name} (${ref})' } The rule ist the same as in the default style, but i break the line to make it better readable for me. My nüvi 2445 shows annoying large shields if a street has ref _and_ name, my O650 don't do this, it shows the shieldonly on streets without name. See the attached screenshots from both devices. Bernd

Hi Bernd, our group in Brazil found that in all Garmin Nuvis this problem to print the REF and NAME in the hbox, box or oval, using the default styles. We are not programmers and we do not know the correct method,, but solved the problem excluding the $ {name} in the line: highway = trunk {name '$ {ref | highway-symbol: hbox} $ {name}' | '$ {ref | highway-symbol: hbox}' | '$ {name}'; addlabel '$ {name} ({$ ref})'} We proceed as follows: highway = trunk { name '$ {ref | highway-symbol: hbox' | '$ {ref | highway-symbol: hbox}' | '$ {name}'; addlabel '$ {name} ({$ ref})' } We do so for highways motorway, primary and secondary. []s Marcio -----Mensagem Original----- From: Bernd Weigelt Sent: Sunday, September 6, 2015 8:04 AM To: Development list for mkgmap Subject: [mkgmap-dev] Problem with too large shields on streets with ref andname Hi Could it be, that this rule is a little bit too much for some devices? highway=trunk { name '${ref|highway-symbol:hbox} ${name}' | '${ref|highway-symbol:hbox}' | '${name}'; addlabel '${name} (${ref})' } The rule ist the same as in the default style, but i break the line to make it better readable for me. My nüvi 2445 shows annoying large shields if a street has ref _and_ name, my O650 don't do this, it shows the shieldonly on streets without name. See the attached screenshots from both devices. Bernd

Hi Marcio i had the same idea to get a workaround, but maybe there is another, possibly better, way to do this. BTW: You can remove remove the first '$ {ref | highway-symbol: hbox' |' the second is the same one ;-) Bernd Am Sonntag, 6. September 2015, 09:03:31 schrieb thundercel@gpsinfo.com.br:
Hi Bernd, our group in Brazil found that in all Garmin Nuvis this problem to print the REF and NAME in the hbox, box or oval, using the default styles. We are not programmers and we do not know the correct method,, but solved the problem excluding the $ {name} in the line: highway = trunk {name '$ {ref | highway-symbol: hbox} $ {name}' | '$ {ref | highway-symbol: hbox}' | '$ {name}'; addlabel '$ {name} ({$ ref})'}
We proceed as follows:
highway = trunk { name '$ {ref | highway-symbol: hbox' | '$ {ref | highway-symbol: hbox}' | '$ {name}'; addlabel '$ {name} ({$ ref})' }
We do so for highways motorway, primary and secondary.
[]s Marcio

Hi Bernd, I agree, shield with a name doesn't work well on nuvis. I prefer to use only street name without reference number. Reference could be added as secondary label for address search or as a first label on upper layers of a map. I'm not sure if problem with nuvi is important enough to change default style. -- Best regards, Andrzej
participants (3)
-
Andrzej Popowski
-
Bernd Weigelt
-
thundercel@gpsinfo.com.br