Last modified: 2014-03-11 10:11:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59928, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57928 - GeoCoordinateValue (resp. LatLongValue) should use DecimalValues internally.
GeoCoordinateValue (resp. LatLongValue) should use DecimalValues internally.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-03 16:20 UTC by Daniel Kinzler
Modified: 2014-03-11 10:11 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-12-03 16:20:52 UTC
LatLongValue currently uses floats to represent coordinates. It would be better to use DecimalValues here, to allow lossless conversion, rounding, etc.
Comment 1 Daniel Kinzler 2013-12-03 16:54:26 UTC
If we want to support precision values for latitude and longitude independently, we could store latitude and longitude as QuantityValues.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links