logo separator

[mkgmap-dev] [Patch] Reduce bearingTo() calculations

From WanMil wmgcnfg at web.de on Sun Mar 4 20:40:23 GMT 2012

Hi Gerd,

I have checked your patch by comparing old bearing to results with new 
results. I got lots of differences as you can see by trying attached patch.

Can you please carefully check why there is a difference and which 
version is 'better'?


> Hi,
> in class RoadNetwork we calculate both p1.bearingTo(p2)  and the reverse
> p2.bearingTo(p1).
> I think the reverse value should be calculated from the initial value.
> See attached patch.
> Gerd
> http://gis.19327.n5.nabble.com/file/n5533880/bearingTo.patch bearingTo.patch
> --
> View this message in context: http://gis.19327.n5.nabble.com/Patch-Reduce-bearingTo-calculations-tp5533880p5533880.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> 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: bearingto_v2.patch
Type: text/x-patch
Size: 1724 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120304/3d0797ec/attachment.bin 

More information about the mkgmap-dev mailing list