logo separator

[mkgmap-dev] mkgmap rules tiny break

From Steve Ratcliffe steve at parabola.me.uk on Sun Aug 30 21:10:27 BST 2009


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.


More information about the mkgmap-dev mailing list