[mkgmap-dev] Commit: r3160: Fix 'Invalid rule' problem with rules containing OR terms.
From svn commit svn at mkgmap.org.uk on Wed Apr 2 11:53:55 BST 2014
Version mkgmap-r3160 was committed by steve on Wed, 02 Apr 2014 Fix 'Invalid rule' problem with rules containing OR terms. Fairly complex rules that did not start with a definite key=value term and that also included some terms that were or'ed together would not always be resolved correctly and resulted in an error. A group of alternatives is now weighted according to the term with the worst selectivity, not the best. So alternatives will only be brought to the front if they are all definite key=value terms and other terms are less selective. Also we arrange (A&B)&C to A&(B&C) so that the first term can be recognised properly.
- Previous message: [mkgmap-dev] Commit: r3159: Fix the reported line number in style messages.
- Next message: [mkgmap-dev] problem with address search and --code-page
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list