logo separator

[mkgmap-dev] [PATCH v1] Wrong turn heading when using --process-exits

From WanMil wmgcnfg at web.de on Wed Jan 29 21:01:57 GMT 2014

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 at dalom.com
>> <mailto:jonas at dalom.com>> 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 lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: destination_orientation_v1.patch
Type: text/x-patch
Size: 1723 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140129/9d93fd8d/attachment.bin>


More information about the mkgmap-dev mailing list