[mkgmap-dev] style parsing problem since r3671
From Lutz Mändle lmaendle at gmx.net on Wed Mar 30 13:31:48 BST 2016
Hi, since mkgmap r3671 the following statement in my lines-file is marked as error: railway=* & (gauge ~ '\d*;1435' | gauge ~ '1435;\d*') & building!=* & area!=yes & tunnel=yes [0x11e11 resolution 19] The error message is: Error in style: Error: (lines:196): Invalid rule expression: ((($gauge~'\d*;1435')|($gauge~'1435;\d*'))&(($building!=*&($area!=yes&($tunnel='yes')))&$railway=*)) Could not open style maendle Number of ExitExceptions: 1 Omitting the term "& tunnel=yes" makes the parser happy, but that's not what I want. Rearranging the statement to this form railway=* & building!=* & area!=yes & tunnel=yes & (gauge ~ '\d*;1435' | gauge ~ '1435;\d*') [0x11e11 resolution 19] solves the problem. I discovered this problem in r3672 and guess r3671 introduced it, until r3669 it was fine, in the actual r3674 the problem persists. -- Lutz Mändle Internet: lmaendle at gmx.net Berlin/Germany
- Previous message: [mkgmap-dev] overview map creation
- Next message: [mkgmap-dev] patch for "part" filter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list