[mkgmap-dev] mkgmap rules tiny break
From Felix Hartmann extremecarver at googlemail.com on Sun Aug 30 21:14:37 BST 2009
Steve Ratcliffe wrote: > Hi > > On 30/08/09 16:12, Felix Hartmann wrote: > >> Just as a note for people so you don't wonder why something does not >> work: Rules of the follwing type *& ( !=* | !=* ) will not work. and >> instead allways be enacted. So for example both of the follwing rules >> > > They do work, its just that the second clause of your rules can never be > false, perhaps you should use 'and' instead of 'or'. > > >> match even though neither route=mtb nor route=bicycle is set: >> tunnel=yes& ( route!=mtb | route!=bicycle ) [0x* resolution *] will >> show up even on mtb and bicycle routes. >> > > tunnel=yes & route!=mtb & route!= bicycle > > That would not show up on bicycle or mtb routes. > oh so my logic was wrong. I would have thought that the above would not show in case both mtb AND bicycle route is set, and not OR. So how would I do that, a rule that needs all three to be true like this: ( tunnel=yes & route!=mtb & route!= bicycle ) [....] ? > ..Steve > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090830/1ccc551d/attachment.html
- Previous message: [mkgmap-dev] mkgmap rules tiny break
- Next message: [mkgmap-dev] mkgmap rules tiny break
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list