To few decimals in geo URI coordinates
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
It looks like GeoType cuts of the number after 4 digits after the decimal
separator when marshalling.
In examples I've seen elsewhere I see examples using 6 digits after the
separator.
- http://tools.ietf.org/html/rfc6350#section-6.5.2
- http://en.wikipedia.org/wiki/Geo_URI
Google Maps also uses a granularity of 6 digits when copying links to positions.
The number format should probably be "0.######" instead of "0.####" on line 264
of GeoType.java.
Original issue reported on code.google.com by knuto...@gmail.com
on 15 Nov 2012 at 3:01
GoogleCodeExporter commented
There is no mention of this in the vCard specs, but I suppose if 6 digits is
what is commonly used, then ez-vcard should use 6 digits as well. Thanks for
noticing this.
Original comment by mike.angstadt
on 17 Nov 2012 at 9:41
- Changed state: Started
GoogleCodeExporter commented
Will be released in next version.
Original comment by mike.angstadt
on 17 Nov 2012 at 11:32
- Changed state: Fixed