Hi WanMil, I think the algo should not use/need the finalHeading value. You may look at the algo in RoadNetwork.getAngle().
Gerd WanMil wrote > Hi, > > I have found a situation where --adjust-turn-headings creates a non > useful turn hint. > Compile the file: > http://files.mkgmap.org.uk/detail/207 > with parameters --route and --adjust-turn-headings (maybe also > --x-no-mergeroads for easier debugging). > Try a route from Frankfurter Straße to Eilper Straße. > Mapsource and the GPS give a hint that you have to turn right on the > junction of Frankfurter Straße and Eilper Straße although the street is > straight. > > Logging of the RouteNode class gives the hint: > Adjusting turn heading from -52.342655 to -99.54512 at junction of > (http://www.openstreetmap.org/browse/way/31171248) and > (http://www.openstreetmap.org/browse/way/144387754) at > http://www.openstreetmap.org/?mlat=51.349647&mlon=7.484266&zoom=17 > > For me the initial heading -52.34... looks weird. > Gerd, do you have any ideas? > > WanMil > _______________________________________________ > mkgmap-dev mailing list > [email protected] > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- View this message in context: http://gis.19327.n5.nabble.com/Problem-with-adjust-turn-headings-tp5805814p5805825.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
