Page MenuHomePhabricator

GlobeCoordinateValue (resp. LatLongValue) should use DecimalValues internally
Open, MediumPublic

Description

LatLongValue currently uses floats to represent coordinates. It would be better to use DecimalValues here, to allow lossless conversion, rounding, etc.

Details

Reference
bz57928

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:13 AM
bzimport set Reference to bz57928.
bzimport added a subscriber: Unknown Object (MLST).

If we want to support precision values for latitude and longitude independently, we could store latitude and longitude as QuantityValues.

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).Dec 1 2014, 2:53 PM
matej_suchanek renamed this task from GeoCoordinateValue (resp. LatLongValue) should use DecimalValues internally. to GlobeCoordinateValue (resp. LatLongValue) should use DecimalValues internally.Nov 4 2017, 9:46 AM
matej_suchanek added a project: DataValues.
matej_suchanek updated the task description. (Show Details)