logo separator

[mkgmap-dev] Reduce road class/speed when road is narrow

From Mark Burton markb at ordern.com on Tue Oct 13 08:39:09 BST 2009

Hi Clinton,

Thanks for the response.

> I suspect you could do it with something like the following:
> 
> highway= primary & (width=narrow | width < 2 | est_width < 2) [0x04  
> road_class=2 road_speed=3 resolution 20]
> 
> highway=primary [0x03 road_class=3 road_speed=4 resolution 19]
> 
> (This would demote a primary road to the equivalent of a secondary.)  
> I, however have not tested this, so I cannot confirm if this would work.

It probably has to cope with widths that have either m or ft suffix
(I have also seen widths in the UK as 6'6" !). Can the style file hack
that?

Cheers,

Mark





More information about the mkgmap-dev mailing list