Module:Location map/data/Uruguay

From HandWiki
< Module:Location map
Revision as of 07:42, 12 March 2018 by imported>Frietjes (created from Template:Location map Uruguay, edit history will be saved in Module talk:Location map/data/Uruguay/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Location map of Uruguay
name Uruguay
border
coordinates
-29.858
-58.69 ←↕→ -52.89
-35.175
map center [ ⚑ ] 32°30′59″S 55°47′24″W / 32.5165°S 55.79°W / -32.5165; -55.79
image Uruguay location map.svg
Uruguay location map.svg
image1 Uruguay location map Topographic.png
Uruguay location map Topographic.png
Map of Uruguay

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

Map definition

  • name = Uruguay
    Name used in the default map caption
  • bottom = -35.175
    Latitude at bottom edge of map, in decimal degrees
  • left = -58.69
    Longitude at left edge of map, in decimal degrees
  • right = -52.89
    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 5.8 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Montevideo is located in Uruguay
Montevideo
Montevideo
Montevideo (Uruguay)
{{Location map | Uruguay
| width   = 200
| lat_deg = -34.884
| lon_deg = -56.182
| label   = Montevideo
}}

Location map many, using relief map (image1)

Location map/data/Uruguay is located in Uruguay
Montevideo
Montevideo
Salto
Salto
Two locations in Uruguay
{{Location map many | Uruguay
| relief   = yes
| width    = 200
| caption  = Two locations in Uruguay
| lat1_deg = -34.884
| lon1_deg = -56.182
| label1   = Montevideo
| lat2_deg = -31.383
| lon2_deg = -57.95
| label2   = Salto
}}

Location map+, using AlternativeMap

Location map/data/Uruguay is located in Uruguay
Montevideo
Montevideo
Salto
Salto
Two locations in Uruguay
{{Location map+ | Uruguay
| AlternativeMap = Uruguay location map Topographic.png
| width   = 200
| caption = Two locations in Uruguay
| places  =
  {{Location map~ | Uruguay
  | lat_deg = -34.884
  | lon_deg = -56.182
  | label   = Montevideo
  }}
  {{Location map~ | Uruguay
  | lat_deg = -31.383
  | lon_deg = -57.95
  | label   = Salto
  }}
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Uruguay',
	top = -29.858,
	bottom = -35.175,
	left = -58.69,
	right = -52.89,
	image = 'Uruguay location map.svg',
	image1 = 'Uruguay location map Topographic.png'
}