Last modified: 2014-04-08 21:48:02 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 T57817, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55817 - Display precision of coordinates in "length" units
Display precision of coordinates in "length" units
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-16 22:06 UTC by Laddo
Modified: 2014-04-08 21:48 UTC (History)
4 users (show)

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


Attachments

Description Laddo 2013-10-16 22:06:10 UTC
The precision on coordinates should also be displayed in linear length, in the dialog where we select [angular] precision, so that it would be easier to identify the right precision for a house, a building, a village or a city. 

Example: for Earth, ±1' ≈ ±1.8km (±1 arcminute); ±1" ≈ ±31m (1 arcsecond)... What does a precision of ±0.01° represent in reality?
Comment 1 Ronnie 2013-10-17 07:04:05 UTC
(In reply to comment #0)
> Example: for Earth, ±1' ≈ ±1.8km (±1 arcminute); ±1" ≈ ±31m (1 arcsecond)...
> What does a precision of ±0.01° represent in reality?

Well, it partly depends on where you are. Here at 63N is ±1' less than at 30N.
Comment 2 Laddo 2013-10-18 01:06:42 UTC
Indeed the "linear precision" is a function of the latitude at that point.  Here are the details of the calculation, using an ellipsoid rather than a sphere for more precision.

Given
Req = Radius of Globe at equator (Earth=63781370m)
Rpo = Radius of Globe at pole (Earth=63567523m)
lat = (angular) latitude of point
Pan = angular precision (in degrees)

Sought value
Pln = linear precision

Compute
Tlat = eccentric anomaly
     = arctan( (Req/Rpo) * tan(lat) )
Rlat = Radius of Globe at latitude of point
     = Req * cos(Tlat)
Plat = Perimeter of Globe at latitude of point
     = 2*π*Rlat
Pln  = Plat * (Pan/360)

Thus linear precision is
Pln = (Pan/180)*(π*Req*cos(Tlat))

Ex:
lat      0°       30°      50°      70°      85°
Tlat     0       30.08    50.09    70.06   85.016
±0.1°  ±11.1km  ±9.63km  ±7.14km  ±3.80km  ±967m
  ±1'  ±1.85km  ±1.61km  ±1.19km   ±633m   ±161m
  ±1"   ±30.9m   ±26.8m   ±19.8m   ±10.5m  ±2.69m

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


Navigation
Links