logo separator

[mkgmap-dev] invalid rule expression

From Minko ligfietser at online.nl on Mon Mar 31 10:30:19 BST 2014

Your patch now detects this line as invalid string, the trunk version does not complain here:

highway=* &  bridge!=* & 
   (mtb:scale>0 | mtb:scale='0+' |
   tracktype ~ 'grade[2-6]' |
   sac_scale ~ '.*(mountain|alpine)_hiking' |
{ add mkgmap:unpaved=1; set motorcar=no; }

Error in style: Error: (lines:95): Invalid rule expression: ((($mtb:scale>0)|(($mtb:scale='0+')|(($tracktype~'grade[2-6]')|(($sac_scale~'.*(mountain|alpine)_hiking')|($sport='via_ferrata')))))&($bridge!=*&$highway=*))

> > I have a fix for this problem attached.
> I've noticed that the fix causes an error with the floodblocker style.
> So this needs more work.
> ..Steve

More information about the mkgmap-dev mailing list