Module:Location map/data/New Zealand Banks Peninsula

From Simple English Wikipedia, the free encyclopedia


Location map of Banks Peninsula
name Banks Peninsula
border
coordinates
-43.5
172.5 ←↕→ 173.2
-44
map center 43°45′S 172°51′E / 43.75°S 172.85°E / -43.75; 172.85
image NZ Banks Peninsula relief location map.svg
Map of Banks Peninsula

Module:Location map/data/New Zealand Banks Peninsula is a location map definition used to overlay markers and labels on an equirectangular projection map of Banks 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 Banks Peninsula":

Map definition

  • name = Banks Peninsula
    Name used in the default map caption
  • bottom = -44
    Latitude at bottom edge of map, in decimal degrees
  • left = 172.5
    Longitude at left edge of map, in decimal degrees
  • right = 173.2
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Location map, using default map (image)

Lyttelton is located in Banks Peninsula
Lyttelton
Lyttelton
Lyttelton (Banks Peninsula)
{{Location map | New Zealand Banks Peninsula
| width   = 200
| lat_deg = -43.6
| lon_deg = 172.72
| label   = Lyttelton
}}

Location map many, using relief map (image1)

Location map/data/New Zealand Banks Peninsula is located in Banks Peninsula
Lyttelton
Lyttelton
Akaroa
Akaroa
Two locations on Banks Peninsula
{{Location map many | New Zealand Banks Peninsula
| width    = 200
| caption  = Two locations on Banks Peninsula
| lat1_deg = -43.6
| lon1_deg = 172.72
| label1   = Lyttelton
| lat2_deg = -43.806
| lon2_deg = 172.965
| label2   = Akaroa
}}

See also

Location map templates

Creating new map definitions



return {
	name = 'Banks Peninsula',
	top = -43.5,
	bottom = -44,
	left = 172.5,
	right = 173.2,
	image = 'NZ Banks Peninsula relief location map.svg'
}