logo separator

[mkgmap-dev] [PATCH] Garmin symbol 0x2e06 both gas station and shop?

From Steve Ratcliffe steve at parabola.demon.co.uk on Thu Mar 12 21:49:59 GMT 2009

On Thu, Mar 12, 2009 at 10:37:53PM +0200, Marko Mäkelä wrote:
> On Thu, Mar 12, 2009 at 07:59:11PM +0000, Toby Speight wrote:
> > What about
> > 
> > amenity=fuel & shop=convenience [ 0x2e06 resolution 19 ]
> > amenity=fuel [0x2f01 resolution 19]
> > shop=convenience [0x2e02 resolution 20]
> > 
> > as (I believe) on a match, further rules are not evaluated.
> 
> If that is the case, that would of course be the most elegant
> solution.  I haven't seen the evaluation order documented,
> and I wanted to make the rules unambiguous.  (That's where my
> background in formal methods shows.)

Yes the rules are guaranteed to be tested in order the occur in the file,
stopping at the first one that matches.

http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules#Combining_tag_tests

..Steve



More information about the mkgmap-dev mailing list