logo separator

[mkgmap-dev] Highway name or ref

From maning sambale emmanuel.sambale at gmail.com on Wed Mar 31 09:08:16 BST 2010

I confirm this behavior using this style:

# Set highway names to include the reference if there is one
highway=motorway {name '${ref|highway-symbol:hbox} ${name}' |
'${ref|highway-symbol:hbox}' | '${name}' }
highway=trunk {name '${ref|highway-symbol:hbox} ${name}' |
'${ref|highway-symbol:hbox}' | '${name}' }
highway=primary {name '${ref|highway-symbol:box} ${name}' |
'${ref|highway-symbol:box}' | '${name}' }
highway=secondary {name '${ref|highway-symbol:oval} ${name}' |
'${ref|highway-symbol:oval}' | '${name}' }
highway=* {name '${ref} ${name}' | '${ref}' | '${name}' }

ref name was used even if there is name

On Wed, Mar 31, 2010 at 3:52 PM, Lambertus <osm at na1400.info> 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
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the mkgmap-dev mailing list