https://bugzilla.wikimedia.org/show_bug.cgi?id=70934

Daniel Kinzler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|PATCH_TO_REVIEW             |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Daniel Kinzler <[email protected]> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to