On 04/02/10 16:32, Felix Hartmann wrote:
> Hi, I just discovered a bug (this is happening on both trunk as well as
> style-speed).
Yes it sounds familiar.
I'll add the following test.
WAY
highway=road
mtb:scale=2
mtb:scale:uphill=yes
<<<lines>>>
( mtb:scale=* | mtb:scale:uphill=* )
{ set name='${name} M${mtb:scale}${mtb:scale:uphill}'
| '${name} M${mtb:scale}.'
| '${name} Mx${mtb:scale:uphill}'
| 'M${mtb:scale}${mtb:scale:uphill}'
| 'M${mtb:scale}.'
| 'Mx${mtb:scale:uphill}'
}
highway=road [0x1]
Style tester currently says:
WAY 1: Line 0x1, name=<M2yes M2yes>, ref=<null>, res=24-24 (1/1),(2/2),
ERROR expected result is:
WAY 1: Line 0x1, name=<M2yes>, ref=<null>, res=24-24 (1/1),(2/2),
..Steve
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev