Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

To few decimals in geo URI coordinates #2

Closed
GoogleCodeExporter opened this issue Mar 21, 2015 · 2 comments
Closed

To few decimals in geo URI coordinates #2

GoogleCodeExporter opened this issue Mar 21, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

Will be released in next version.

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

  • Changed state: Fixed

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant