logo separator

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

From Felix Hartmann extremecarver at googlemail.com on Tue Oct 13 15:41:40 BST 2009


Steve Ratcliffe wrote:
> Hi Mark
>
>   
>> 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?
>>     
>
> All the inequality tests use the ValueWithUnit class that is intended
> to deal with things like that.  There is no real implementation of the
> idea, apart from attempting to separate the number from the value.
>
> As for 6'6", unsurprisingly the current code wouldn't deal with it
> as is!
>   
Just as a note if someone would implement code to change current 
behaviour here, not only do it for m/foot km/miles but also other 
similar like %/° for inclinations, all of this is currently a big mess 
in OSM.
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091013/2d648061/attachment.html 


More information about the mkgmap-dev mailing list