[openstreetmap-website] Scientific notation in lat/lon (#341)

pnorman notifications at github.com
Thu Jul 18 21:03:30 UTC 2013


Nodes very close to the equator or greenwich meridian will produce a lat or lon in scientific notation.

This is true of both the rails port API and website. cgimap does not have this issue.

See http://lists.openstreetmap.org/pipermail/talk/2012-December/065457.html

Although both are correct, cgimap and the rails port handle decimal places differently with cgimap having a fixed number of places by padding with zeros and the rails port stripping trailing 0s up to 1.0.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/341
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130718/98aff20a/attachment.html>


More information about the rails-dev mailing list