[OSM-talk] unkown coordinate encoding

Nick Hill nick at nickhill.co.uk
Mon Mar 27 21:41:35 BST 2006


Actually, the number should probably be
8388608

which is the nearest whole number in the 2^x series. So by shifting the 
binary number 23 bits to the right, you get the integral. The least 
significant 23 bits are the fractional.



Nick Hill wrote:
> Hi Ovidiu
> 
> Just divide the numbers by 8388611 to get the regular lat/lon co-ordinates.
> 
> so
> 373101418 becomes 44.477
> 219065058 becomes 26.114




More information about the talk mailing list