Module talk:Location map/data/China

Created
The mapper Template:Location map China was re-created by Ukrainian User:Амба on 15 July 2010 to set coordinates for x/y locations on a political map and terrain map of China, which have curved lines of latitude & longitude. The older China map-definition template, for using squared coordinates, is Template:Location map China (equirectangular). -Wikid77 (talk) 08:55, 16 October 2010 (UTC)

Testing coordinates x/y
The following are some test cases to ensure that the x/y for latitude and longitude are still calculated correctly, after any future updates to the template or China maps. The precisions are excessive for small map images, but might apply if maps were vastly enlarged, such as for GPS tracking.


 * Expected: x @35/95 = &rarr; 35.070444768306
 * Currently: x @35/95 = &rarr;


 * Expected: y @35/95 = &rarr; 55.572316016539
 * Currently: y @35/95 = &rarr;


 * Expected: x @38/100 = &rarr; 43.607545214063
 * Currently: x @38/100 = &rarr;


 * Expected: y @38/100 = &rarr; 48.588567988405
 * Currently: y @38/100 = &rarr;

Those are some examples, showing high precision. The values of x/y are used by Location_map, or Location_map_many, to place marker-images on the map of China. The end-digits of the numbers might vary, slightly, depending on the particular wikiserver computer hardware used to run the MediaWiki software for formatting this page to send over the Internet. -Wikid77 (talk) 08:55, 16 October 2010 (UTC)