[Tagging] How can I display maxspeed on my Garmin?

Dave Swarthout daveswarthout at gmail.com
Wed Jul 20 00:07:33 UTC 2016


Hi,

Hello,

I posted this on the Garmin OSM forum but nobody responded. Maybe someone
here can help with this.

I recently added maxspeed to many highways in my neighborhood and am
looking for a way to have them display on my Garmin Montana. Mostly I would
use this information while driving here and there to show me roads that
don't have a maxspeed tag already. I'm looking for a style directive that
will append maxspeed information to the highway-symbol and ref for the
standard highway types.

I have these lines in my lines style currently:

highway=trunk {name '${ref|highway-symbol:hbox} ${name}' |
'${ref|highway-symbol:hbox}' | '${name}'; addlabel '${ref} (${name})' }
highway=primary {name '${ref|highway-symbol:box} ${name}' |
'${ref|highway-symbol:box}' | '${name}'; addlabel '${ref} (${name})' }
highway=secondary | highway=tertiary {name '${ref|highway-symbol:oval}
${name}' | '${ref|highway-symbol:oval}' | '${name}'; addlabel '${ref}
(${name})' }
highway=* {name '${name}' | '${ref}' }

I tried echotags to see if my code works but it shows only the tags on the
object, not any that were created by directives like the ones above. Here
is one of my attempts to modify the directive by adding in a maxspeed value
for highway=primary:

highway=primary {echotags 'primary hwy'; name '${ref|highway-symbol:hbox}
${name} (${maxspeed})' | '${ref|highway-symbol:box} ${name}' |
'${ref|highway-symbol:box}' | '${name}'; addlabel '${ref} (${name})' }

Can anyone help?

Dave
-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20160719/7197c306/attachment.html>


More information about the Tagging mailing list