srikanthtalasila / ez-vcard

Automatically exported from code.google.com/p/ez-vcard
0 stars 0 forks source link

To few decimals in geo URI coordinates #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 9 years ago
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

GoogleCodeExporter commented 9 years ago
Will be released in next version.

Original comment by mike.angstadt on 17 Nov 2012 at 11:32