[mkgmap-dev] [PATCH v1] Wrong turn heading when using --process-exits
From GerdP gpetermann_muenchen at hotmail.com on Wed Jan 29 21:26:04 GMT 2014
Hi WanMil, later on the value is converted to 8 bit precision, see RouteArc: writer.put((byte)(256 * initialHeading / 360)); If I got that right, Steve recently found out that mkgmap is not (always) writing correct info, so I suggest to wait for his final results. Gerd WanMil wrote > Hi, > > attached is a patch that should fix a problem with wrong turn headings > when using process-exits or process-destination. > > @Gerd, Steve: In RoadNetwork.addRoad link 149+150 a bearing is > calculated but the double bearing is converted to int. Why is the double > value not rounded? I think this might create problems in some cases? > > WanMil > >> Hi Jonas, >> >> thanks for the test case. >> I will have a look on it but it will take some time. >> >> WanMil >> >>> Oh, I forgot the link to the minimal test map and .osm extract: >>> >>> http://brutus.dalom.com/~jetthe/OSM/mkgmap/lkpg_113/ >>> >>> /Jonas >>> >>> >>> On Mon, Jan 6, 2014 at 10:18 PM, Jonas Tull < > jonas@ > >> <mailto: > jonas@ > >> wrote: >>> >>> Hi! >>> >>> I have an issue where a motorway_link which is modified by >>> --process-exits gives the wrong turn heading instruction in my GPS >>> (Nüvi 205). "Turn left at Exit 113" instead of "Turn right at Exit >>> 113". >>> >>> The way is http://www.openstreetmap.org/way/4400960 >>> >>> When looking at the map in QLandkarte it looks like the first two >>> ways created when the _link way is split are almost parallel to the >>> motorway. My guess is that it's somehow related to the relatively >>> long distance between the first and second node in the original >>> _link way. >>> >>> I build my maps with the following (relevant?) arguments: >>> --adjust-turn-headings --route --housenumbers --process-destination >>> --process-exits >>> >>> This issue can also be seen in the maps downloaded from >>> http://garmin.openstreetmap.nl/ >>> >>> /Jonas >>> >>> >>> >>> >>> _______________________________________________ >>> mkgmap-dev mailing list >>> > mkgmap-dev at .org >>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >>> >> >> _______________________________________________ >> mkgmap-dev mailing list >> > mkgmap-dev at .org >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > > destination_orientation_v1.patch (1K) > <http://gis.19327.n5.nabble.com/attachment/5794722/0/destination_orientation_v1.patch> -- View this message in context: http://gis.19327.n5.nabble.com/Wrong-turn-heading-when-using-process-exits-tp5791915p5794727.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] [PATCH v1] Wrong turn heading when using --process-exits
- Next message: [mkgmap-dev] [PATCH v1] Wrong turn heading when using --process-exits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list