Someone on the forum seems to have found the solution:
Quote by Vclaw:
> I noticed this same thing on some Garmin maps I was making. I think
> its caused by the highway shields, as the Garmin can't display those
> as well as the name at the same time. I fixed it by setting the
> "display_name" for the highways. eg a style rule like this:
> highway=primary {name '${ref|highway-symbol:box} ${name}' |
> '${ref|highway-symbol:box}' | '${name}'; add display_name = '$
It's aparently the second part of this patch of which only the first
part has been committed:
<http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2009q4/005056.html>
Marko Mäkelä wrote:
> On Wed, Mar 31, 2010 at 09:52:57AM +0200, Lambertus wrote:
>> There's a question on the OSM forum about the naming of highways in the
>> default stylesheet which comes down to this: if a ref is available then
>> that seems always used even if a name is also available, can this be
>> changed to show the name as well?
>>
>> http://forum.openstreetmap.org/viewtopic.php?pid=68439#p68439
>
> I can't repeat this as described on my Edge 705 and today's map
> from http://www.polkupyoraily.net/osm/. I do see the "mouseover" label
> "ref name", but if I hit Enter on it, the "POI window" displays either
> "ref" or "ref name", i.e., "152" or "1521 Jokivarrentie". I tried it here:
>
> http://www.openstreetmap.org/?lat=60.3470937&lon=25.1346522&zoom=18
> http://www.openstreetmap.org/browse/node/374125267
>
> The 1521 is a lesser-class road that lacks the highway shield. It says
> "1521 Jokivarrentie" on the map without a shield. The 152 (when I zoom in)
> displays the ref=152 in an oval shield and the name=Sipoontie below that.
>
> Also, if I select the motorway a few hundred meters west from that point,
> it says just "4" (the ref), but the mouseover tooltip says
> "4 Lahdenväylä (E)" [E=etelä=south]. When I zoom in, the map displays the
> ref in a box and the name below that.
>
> It would be nice if the "POI window" displayed the name in addition to the ref
> for roads that carry a highway shield.
> Could this be arranged with display_name?
>
> For some reason, QLandkarteGT is not showing me any street names or labels;
> only POI names.
>
> Best regards,
>
> Marko
> _______________________________________________
> mkgmap-dev mailing list
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev