logo separator

[mkgmap-dev] [Patch v1] differet Coord implementation

From Gerd Petermann GPetermann_muenchen at hotmail.com on Fri Feb 24 15:27:01 GMT 2017

Hi programmers, 


After writing my findings here 
http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2017q1/026317.html
I did some cycling and decided that I might still be better to use the attached patch.

It works better with 32 bits and is probably a bit easier to understand. The major difference is 
that it calculates the Garmin position of a point from the already rounded 30 (or 32 bit) value.
In some cases this means that points in the map move by one, e.g.
one with 52.2452629, 21.0833536 

appears on the right grid point instead of the left (it is very close to the middle).

Gerd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_coord_v1.patch
Type: application/octet-stream
Size: 13388 bytes
Desc: diff_coord_v1.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20170224/6f0160ee/attachment.obj>


More information about the mkgmap-dev mailing list