[mkgmap-dev] weird behavior of routing
From Michał Rogala michal.rogala at gmail.com on Thu Jun 7 14:31:44 BST 2012
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
- Previous message: [mkgmap-dev] Commit: r2294: Better error message on empty file.
- Next message: [mkgmap-dev] weird behavior of routing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list