[OSM-dev] Binary OSM; the first pass encoder

Robert (Jamie) Munro rjmunro at arjam.net
Thu Nov 13 00:11:35 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tomas Kolda wrote:
> I'm not so good in English, so maybe you do not understand my note. I
> like koeficient 1e7, because it is human readable form of coordinate
> 13.5 -> 135000000. I do not want to use (2^32/360).

But the really beautiful thing about using 2^N/360 is that -5 degrees
(signed) is the same binary as 355 degrees (unsigned). Which is great
because it is also the same angle. It also corresponds directly to the
tiling scheme - each zoom level is just another bit.

Robert (Jamie) Munro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkbcLQACgkQz+aYVHdncI23lgCeKZkdpL1BAk6dFMH40P5B0lFo
Tc0AnjQl6h8oaSbeNzzqLM7bDcgCiArJ
=aGXc
-----END PGP SIGNATURE-----




More information about the dev mailing list