logo separator

[mkgmap-dev] Routing and tunnels

From Charlie Ferrero charlie at cferrero.net on Tue Dec 11 17:45:00 GMT 2012

The type you've picked for tunnels (0x11501) is not routable. 

On 11 Dec 2012, at 21:24, "Geoff Sherlock" <geoffrey_sherlock at btinternet.com> wrote:

> I decided I wanted to show bridges and tunnels on my maps; bridges were easy but I have trouble with tunnels.
>  
> If I try the following as a catchall for all highways which are tunnels:
>  
> highway=* & tunnel=yes [0x11501 road_class=0 road_speed=1 resolution 23]
>  
> Or specifically for each type of highway e.g.:
>  
> highway=cycleway & tunnel!=yes [0x10 road_class=0 road_speed=1 resolution 23]
> . . .
> . . .
> highway=cycleway & tunnel=yes [0x11501 road_class=0 road_speed=1 resolution 23]
>  
> The visual results are what I expect: you see the cycleway, then the tunnel, and then the cycleway again. But routing is broken and you are unable to route through the tunnel for any type of highway.
>  
> If however I do the following:
>  
> highway=* & tunnel=yes [0x11501 resolution 23 continue]
> . . .
> . . .
> highway=cycleway  [0x10 road_class=0 road_speed=1 resolution 23]
>  
> I see both the tunnel and the cycleway, rather than just the tunnel, but at least I can route through the tunnel.
>  
> So it seems if you have the test tunnel=yes it breaks routing. Is this expected behaviour? I am using R2328.
>  
> Cheers, Geoff.
>  
>  
>  
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20121211/9304768e/attachment.html 


More information about the mkgmap-dev mailing list