Last modified: 2010-07-04 17:19:37 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 T6241, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4241 - Incorrect longitude range check for geographical coordinates
Incorrect longitude range check for geographical coordinates
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
GIS (Other open bugs)
unspecified
All All
: High normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Talk:Oly...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-10 18:27 UTC by Yaohua2000
Modified: 2010-07-04 17:19 UTC (History)
1 user (show)

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


Attachments

Description Yaohua2000 2005-12-10 18:27:22 UTC
It is not always true that a geographical longitude within range between -180 to 180, especially 
for those planets other than the Sun, the Earth and the Moon.

Try this wiki code on Wikipedia:

{{coor d|18|N|226|E|globe:Mars}}

It generates an error message ''Error:Out of range''

But a longitude of 226 degrees east is LEGAL for planet Mars. See specific section in [[Timekeeping 
on Mars]] for details.
Comment 1 Antoine "hashar" Musso (WMF) 2005-12-11 20:18:32 UTC
Please see:
http://en.wikipedia.org/wiki/Spherical_coordinates#Spherical_coordinates

The coordinate is indeed incorrect when referencing a point on
a sphere. You should use 46 west unless Mars is not a sphere.

[[Timekeeping on Mars]] doesnt describe coordinates use on Mars.
Comment 2 Yaohua2000 2005-12-12 09:47:55 UTC
Geographical longitude for Mars is not 180 degrees west to 180 degrees east, {{coor d|18|N|226|E|globe:Mars}} 
is a legal location on Mars, and it should work.

This is from [[Timekeeping on Mars]] (http://www.esa.int/SPECIALS/Mars_Express/SEM0VQV4QWD_0.html)

<pre>

Note that the modern standard for measuring longitude on Mars is "planetocentric longitude", which is measured 
from 0°–360° East and measures angles from the center of Mars. The older "planetographic longitude" was 
measured from 0°–360° West and used coordinates mapped onto the surface.

</pre>

You can also check the description in JPL Horizons document, which uses planetographic longitude rather than 
planetocentric longitude, and gives much more longitude ranges used for different planets and moons, at [url]
http://ssd.jpl.nasa.gov/horizons_doc.html#sitecoord[/url]
Comment 3 Brion Vibber 2008-10-12 18:27:24 UTC
There isn't a GIS extension in use currently on Wikimedia sites; issue refers to a local template on Wikipedia.

Is this a current issue?
Comment 4 Andy Mabbett 2010-04-08 17:46:19 UTC
Local template error.

Also, on En-WP, {{coor d is deprecated. Use {{coord

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


Navigation
Links