
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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev