Last modified: 2014-10-14 13:05:23 UTC
See https://bugzilla.wikimedia.org/show_bug.cgi?id=64820 and https://bugzilla.wikimedia.org/show_bug.cgi?id=66653
result of the investigation: The GlobeCoordinateFormatter does not pass the precision stored in the GlobeCoordinateValue to the GeoCoordinateFormatter. The GeoCoordinateFormatter interprets the precision as the number of decimal places to show (in whatever the target format is). However, GlobeCoordinateParser generates precision values as fractions of a degree. To fix this, we have to: 1) change GeoCoordinateFormatter to interpret the precision option as a fraction of a degree. 2) change GlobeCoordinateFormatter to pass precision from the the GlobeCoordinateValue to the GeoCoordinateFormatter. 3) write round trip tests to assert parser and formatter are compatible.