[mkgmap-dev] mkgmap rules tiny break
From Felix Hartmann extremecarver at googlemail.com on Sun Aug 30 22:20:55 BST 2009
Steve Ratcliffe wrote: > Hi > > >> 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 ) [....] ? >> > > Yes, that would be true for tunnel=yes and route=abc, but not when > route=mtb or route=bicycle, if that is what you wanted to do. > The parentheses are not needed. > > tunnel = yes & route!=mtb & route!=bicycle > > is the same as: > > tunnel = yes & !(route = mtb | route = bicycle) > Ay Caramba. that's looking good. > which might be a clearer way to write it. This is supposed to > be supported but was never completely implemented. I have > a fix for that which I will commit in the next few minutes. > > ..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/e9a8d50d/attachment.html
- Previous message: [mkgmap-dev] mkgmap rules tiny break
- Next message: [mkgmap-dev] Can you set background colour in a TYP file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list