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

Reply via email to