
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?)
It seems that there is a problem if you output two times a routable object. I removed the "double ferry" action and at that place it compiled fine. It would then crash here however: http://www.openstreetmap.org/edit?lat=48.50799&lon=13.73188&zoom=17 I did not correct the ferry, but some fool has put highway=cycleway & route=ferry on the same way - probably to have autorouting over the ferry as he thinks it's part of the Donauradweg. (plus I match of course the unroutable cycleway=lane; which has nothing to do on a ferry either). So this patch will crash if you use continue on route=ferry and afterwards have highway=cycleway routable.
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.
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev