logo separator

[mkgmap-dev] weird behavior of routing

From Felix Hartmann extremecarver at gmail.com on Thu Jun 7 14:42:06 BST 2012

routing is only on resolution 24. And don't put 24-24 (just in case). ( 
in theory routing should also work in resolution 23, if there is no 
resolution 24 in the map, that is however not working with mkgmap yet).

On 07.06.2012 15:31, Michał Rogala wrote:
> Hi!
>
> I have another problem with mkgmap:
>
> When rendering primary roads this way:
>
> highway=primary {name '${ref}'} [0x03 road_class=3 road_speed=4 resolution 16 ]
>
> everything works great
>
> But when I render roads this way (to have different names on different levels)
>
> highway=primary {name '${ref}'} [0x03 road_class=3 road_speed=4
> resolution 16-16 continue]
> highway=primary {name '${ref}'} [0x03 road_class=3 road_speed=4
> resolution 18-18 continue]
> highway=primary {name '${ref}'} [0x03 road_class=3 road_speed=4
> resolution 20-20 continue]
> highway=primary {name '${name}' | '${ref}'} [0x03 road_class=3
> road_speed=4 resolution 22-22 continue]
> highway=primary {name '${name}' | '${ref}'} [0x03 road_class=3
> road_speed=4 resolution 24-24]
>
>
> Routing on such map doesn't work - Garmin (MapSource or hardware
> devices) don't see primary roads when trying to calculate way. Instead
> of proper route you get "straight line" to the nearest secondary road
> and there it routes you (still not using any primary road). This
> problem is best visualised using MapSource's "route tool".
>
> My map levels are:
>
> levels = 0:24, 1:22, 2:20, 3:18, 4:16
>
> When you try to search for a name of such primary road in index -
> MapSource crashes.
>
> Is is problem with mkgmap or I just write my rendering rules wrong? I
> just want to hide primary roads names on lower zoom levels.
>
> best regards
>
> Michal Rogala
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list