
31 Mar
2014
31 Mar
'14
9:30 a.m.
Steve, 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' | sport=via_ferrata) { 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