Jump to content

Module talk:Location map/data/Africa

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Created

[edit]

The mapper Template:Location map Africa was created by Ukrainian User:Амба on 16 July 2010 to set coordinates for x/y locations on a political map and terrain map of Africa, which have curved lines of latitude & longitude. -Wikid77 (talk) 05:02, 16 October 2010 (UTC)[reply]

Testing coordinates x/y

[edit]

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. The precisions are excessive for small map images, but might apply if maps were vastly enlarged, such as for GPS tracking.

* '''Expected''': x @10/20 = {{#expr: {{Location map Africa|x|10|20}} }} → 54.984191830974
* '''Currently''': x @10/20 = {{#expr: {{Location map Africa|x|10|20}} }} → {{#expr: {{Location map Africa|x|10|20}} }}

* '''Expected''': y @10/20 = {{#expr: {{Location map Africa|y|10|20}} }} → 38.042491930554
* '''Currently''': y @10/20 = {{#expr: {{Location map Africa|y|10|20}} }} → {{#expr: {{Location map Africa|y|10|20}} }}

* '''Expected''': x @15/40 = {{#expr: {{Location map Africa|x|15|40}} }} → 78.82521364981
* '''Currently''': x @15/40 = {{#expr: {{Location map Africa|x|15|40}} }} → {{#expr: {{Location map Africa|x|15|40}} }}

* '''Expected''': y @15/40 = {{#expr: {{Location map Africa|y|15|40}} }} → 31.054613083647
* '''Currently''': y @15/40 = {{#expr: {{Location map Africa|y|15|40}} }} → {{#expr: {{Location map Africa|y|15|40}} }}

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 Africa. 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) 05:02, 16 October 2010 (UTC)[reply]

Template-protected edit request on 27 September 2023

[edit]

Please add another relief map,

image2 = 'Africa_land_cover_location_map.jpg',

They have it on frwiki: fr:Module:Carte/données/afrique. Ponor (talk) 01:03, 27 September 2023 (UTC)[reply]

 Done — Martin (MSGJ · talk) 08:20, 27 September 2023 (UTC)[reply]