[OSM-dev] Eurasian Coastline and the 180 meridian

Marcus Wolschon Marcus at Wolschon.biz
Tue Nov 13 07:32:55 GMT 2007


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

Dirk-Lüder Kreie schrieb:
> Apart from implementing said limit, the api and/or the tools managing
> the data must be made aware that -180 is the same as 180, maybe by
> "cheating" (allowing numbers like 185°, automatically mapping to -175°
> or somesuch).

Wouldn't that just be the reminder when doing a divison by 180.0d?
(Many languages use the reinder as the modulus-operator even as a
 modulus has no negative value.)

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOVMmf1hPnk3Z0cQRAraPAJ9lYA13sWDfNFkRTKoT34aiCMn1CgCgi4sF
0hAhbKF35hg+BbmM0UXtsEw=
=W7RE
-----END PGP SIGNATURE-----




More information about the dev mailing list