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@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev