Talk:Toolserver:Ghel

From MediaWiki.org
Jump to: navigation, search
Wikimedia Community Logo-Toolserver.svg

This page was moved from the Toolserver wiki.
Probably, it's only of historical interest. Please help by updating links, template links, etc. If it's still relevant, move this page to a normal title and leave a redirect.

Longitudes should be given modulo 360deg[edit]

mysql> select MIN(gc_lon), MAX(gc_lon) from coord_enwiki limit 1000;
+---------------+--------------+
| MIN(gc_lon)   | MAX(gc_lon)  |
+---------------+--------------+
| -360.00000000 | 360.00000000 |
+---------------+--------------+
1 row in set (5.14 sec)

Or is there a reason they are given in raw form? --Dschwen 14:18, 24 March 2011 (UTC)

Coordinate systems for non-earth planets can use the extended range [-360,360] due to convention. If abs(lon) >= 1000 or abs(lat) >= 100, we assume that the decimal point was misplaced and shifts appropriately rather than using a modulo, since the majority of cases are input errors. I may consider adding more conditions so the range are within -90 <= lat <= 90 and -180 <= lon <= 180. Dispenser