Module:Location map/data/Papua New Guinea

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search


Location map of Papua New Guinea
name Papua New Guinea
border
coordinates
-0.6
140.4 ←↕→ 159.7
-12.2
map center 6°24′S 150°03′E / 6.4°S 150.05°E / -6.4; 150.05
image Papua New Guinea location map.svg
Papua New Guinea location map.svg
image1 Papua New Guinea location map Topographic.png
Papua New Guinea location map Topographic.png


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

Map definition

  • name = Papua New Guinea
    Name used in the default map caption
  • bottom = -12.2
    Latitude at bottom edge of map, in decimal degrees
  • left = 140.4
    Longitude at left edge of map, in decimal degrees
  • right = 159.7
    Longitude at right edge of map, in decimal degrees

Alternative map

The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Papua New Guinea',
	top = -0.6,
	bottom = -12.2,
	left = 140.4,
	right = 159.7,
	image = 'Papua New Guinea location map.svg',
	image1 = 'Papua New Guinea location map Topographic.png'
}