logo separator

[mkgmap-dev] Comparisons in Style-File

From Steve Ratcliffe steve at parabola.me.uk on Sun Sep 4 14:39:23 BST 2011

On 04/09/11 10:59, Chris66 wrote:
> Hi,
>
> I get an "error in style, stacksize 3" with following rules in lines-file :
>
> # dont works!!
> highway=*&  (maxheight<  3.5) {add goods=no; add delivery=no}
> highway=*&  (maxweight<  7.5) {add goods=no; add delivery=no}
>
> Do I have to write the numbers as '3.5' or 3,5 ?

Writing it as '3.5' would stop the error :)

However non-integer numbers are not dealt with at all so it still
wouldn't actually work.

It should be possible to write it just the way you did so I will produce 
a fix.

..Steve



More information about the mkgmap-dev mailing list