logo separator

[mkgmap-dev] Multiple relations

From Anna Leuchter aleuche at web.de on Tue Nov 5 16:24:20 GMT 2013

Ciao Enrico,


RELATIONS file
...
type=route & route=bicycle
	{
		apply { 
		set bike_relation=yes;
		} 
	}	
	
type=route & (route=foot | route=hiking)
	{
		apply { 
		set hike_relation=yes;
		} 
	}	
...


LINES file
...	
highway=track & bike_relation=yes [0x01 road_class=0 road_speed=0 resolution 24 continue ]	
highway=track & hike_relation=yes [0x02 road_class=0 road_speed=0 resolution 24 continue ]		
...	

You can set a tag in RELATIONS file if the way element belongs to a route.
And if there are 2 matches 2 tags will be set.

These tags you can than use in LINES file to create the garmin objects.

regards
Gert


More information about the mkgmap-dev mailing list