logo separator

[mkgmap-dev] Default Style - dead conditions?

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Apr 8 12:13:08 BST 2020

Hi Nick

The second occurrence of all of these is in the
<finalize>
section so no problem, the rules get triggered.

Ticker
 

On Wed, 2020-04-08 at 04:03 -0700, nwillink wrote:
> Hi Ticker 
> 
> Looking at you style file I noticed that there might be an issue 
>  with the
> following
> 
> (In fact it is found in the default style)
> 
> 145	highway=motorway [0x01 road_class=4 road_speed=7
> resolution 15]
> 277	(highway=motorway | highway=trunk)  & ref=*{name
> '${ref|highway-symbol:hbox}'; addlabel '${name}'}
> 
> Under which condition will  highway=motorway be TRUE in line 277
> 
> Are we missing a 'continue' ? 
> ie
> 
> highway=motorway [0x01 road_class=4 road_speed=7 resolution 15
> continue]
> 
> (Same applies for primary& secondary)
>  
> 155	highway=primary [0x03 road_class=3 road_speed=4 resolution
> 19]
> 278	highway=primary      & ref=*{name '${ref|highway
> -symbol:box}' ; addlabel
> '${name}'}
>  
> 	161	highway=secondary [0x04 road_class=2 road_speed=3
> resolution 20]
> 279	(highway=secondary | highway=tertiary) & ref=*{name
> '${ref|highway-symbol:oval}'; addlabel '${name}'}
> 
> Regards
> 
> Nick
>  
> 
> 
> 
> --
> Sent from: 
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list