Mark Burton wrote:
Felix,

  
Here's the lines I had to comment out:

# route1=ferry     { name '${name1}'; set toll=yes }                    
[0x06 road_class=1 road_speed=0 resolution 18 continue]
# route=ferry     { name '${name} ferry' | 'ferry'; set toll=yes }     
[0x06 road_class=1 road_speed=0 resolution 18 continue]

route1=ferry are ferries from relations.
    

I can't see what's wrong at the moment. In your style file do any other
rules match the ferry route (will any other lines be output for it?)
  
Well I don't explicitly search for anything else with "& route=ferry". However I match the ferry itself two times. First time I match the ferry via relations file, the second time I match the way itself. No other rule matches.

Here's my relations file entry:
route=ferry             & name=*        { apply { set name1 = '${name} ferry' | 'ferry'; add fromrelation=yes; add route1=ferry; set toll=yes } }
route=ferry                     { apply { add fromrelation=yes; add route=ferry; set toll=yes } }
  
Did not notice any improvements on autorouting so far however (only 
tried in Mapsource).
    

You may see some improvement where routable ways share a lot of points
with areas and other unroutable lines.
  
The crazy thing is that routing works less well. Maybe my introducing of identical copies of the ways for displaying like routes and cycleway=* improves routing on such ways?
Mark
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev