[Openstreetmap-dev] Server is truncating lat/lon values?

Mikel Maron mikel_maron at yahoo.com
Mon Jan 23 09:53:43 GMT 2006


The Float object in Ruby is actually a double..

"Float objects represent real numbers using the native   architecture's double-precision floating point representation."

http://www.rubycentral.com/book/ref_c_float.html



----- Original Message ----
From: Immanuel Scholz <immanuel.scholz at gmx.de>
To: openstreetmap-dev at vr.ucl.ac.uk
Sent: Monday, January 23, 2006 8:30:20 AM
Subject: [Openstreetmap-dev] Server is truncating lat/lon values?

Hi,

I have the strong evidence that the server is rounding my uploaded lat/lon
values... >:-)

Is it possible, that values are rounded somewhere in the import process?
What is the precision of latitude and longitude values? 32-bit-float? Or
64-bit-double?

Ciao, Imi.



_______________________________________________
Openstreetmap-dev mailing list
Openstreetmap-dev at vr.ucl.ac.uk
http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap-dev







More information about the dev mailing list