Module:Location map/data/New Zealand Otago peninsula

From imedwiki
Jump to navigation Jump to search


Location map of Otago peninsula
name Otago peninsula
border
coordinates
-43.96289
168.040834 ←↕→ 171.211579
-46.69212
map center 45°19′39″S 169°37′34″E / 45.327505°S 169.6262065°E / -45.327505; 169.6262065
image Otago Map Physical New Zealand.jpg
Otago Map Physical New Zealand.jpg


Module:Location map/data/New Zealand Otago peninsula is a location map definition used to overlay markers and labels on an equirectangular projection map of Otago peninsula. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage

These definitions are used by the following templates when invoked with parameter "New Zealand Otago peninsula":

Map definition

  • name = Otago peninsula
    Name used in the default map caption
  • bottom = -46.69212
    Latitude at bottom edge of map, in decimal degrees
  • left = 168.040834
    Longitude at left edge of map, in decimal degrees
  • right = 171.211579
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 3.1707 degrees.

  • At an image width of 200 pixels, that is 0.0159 degrees per pixel.
  • At an image width of 1000 pixels, that is 0.0032 degrees per pixel.

Latitude: from North to South this map definition covers 2.7292 degrees.

  • At an image height of 200 pixels, that is 0.0136 degrees per pixel.
  • At an image height of 1000 pixels, that is 0.0027 degrees per pixel.

Examples using location map templates

Location map, using default map (image)

Dunedin (Central City) is located in Otago peninsula
Dunedin (Central City)
Dunedin (Central City)
Dunedin (Central City) (Otago peninsula)
{{Location map |  New Zealand Otago peninsula
| width   = 200
| lat_deg = -45.874319
| lon_deg = 170.503298
| label   = Dunedin (Central City) 
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Otago peninsula',
	top = -43.962890,           
	bottom = -46.692120,     
	left = 168.040834,            
	right =  171.211579,        
	image = 'Otago Map Physical New Zealand.jpg',
	}