logo separator

[mkgmap-dev] Problem with rule in style

From Carlos Dávila cdavilam at orangecorreo.es on Sat Jan 8 18:37:20 GMT 2011

El 08/01/11 10:47, Steve Ratcliffe escribió:
> On 07/01/11 22:31, Carlos Dávila wrote:
>> I want to translate different highway types into others using some
>> physical tags. I'm testing:
>> highway=secondary&   (width>7 | shoulder:width>"0.5") {set highway=primary }
>> but the shoulder:width condition is not taken into account. What I'm I
>> doing wrong?
> You are doing nothing wrong, its just that only integer values are
> recognised. Decimal values like 0.5 are treated as 0.
> This should probably be fixed to deal with decimals.
Would it be too complex to fix it? In Spain highways are tagged 
according to administrative criteria [1] and having this option route 
calculation could be improved significantly.
[1] http://wiki.openstreetmap.org/wiki/Normalización

More information about the mkgmap-dev mailing list