logo separator

[mkgmap-dev] Omitting ref from named minor roads

From Marko Mäkelä marko.makela at iki.fi on Wed Apr 6 20:25:27 BST 2011

A fellow mapper complained that some highways carry a 5-digit ref on the 
mkgmap-produced map, even though the ref is nowhere to be seen on street 
signs. OK, mkgmap cannot possibly know that, but I was wondering if we 
could split this rule in the default style:

highway=* {name '${ref} ${name}' | '${ref}' | '${name}' }

so that we would assign '${ref} ${name}' only to highway=tertiary, and 
assign either $name or $ref to lesser roads:

highway=tertiary {name '${ref} ${name}' | '${ref}' | '${name}' }
highway=* {name '${name}' | '${ref}' }

For example, a railway=platform that is also tagged as highway=footway 
would continue to carry the platform $ref, provided that the way is not 
named.

Would anyone object to this change? Does anyone need to see both $name 
and $ref on highways lesser than tertiary?

Best regards,

	Marko



More information about the mkgmap-dev mailing list