Module:Location map/data/UK Scotland


Location map of Scotland
name Scotland
border
coordinates
61
-8.8 ←↕→ -0.4
54.5
map center 57°45′N 4°36′W / 57.75°N 4.6°W / 57.75; -4.6
image Scotland location map.svg
image1 Scotland relief location map.jpg
Map of Scotland

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

Map definition

  • name = Scotland
    Name used in the default map caption
  • bottom = 54.5
    Latitude at bottom edge of map, in decimal degrees
  • left = -8.8
    Longitude at left edge of map, in decimal degrees
  • right = -0.4
    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 8.4 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Edinburgh is located in Scotland
Edinburgh
Edinburgh
Edinburgh (Scotland)
{{Location map | UK Scotland
| width   = 200
| lat_deg = 55.953
| lon_deg = -3.189
| label   = Edinburgh
}}

Location map many, using relief parameter (image1)

Location map/data/UK Scotland is located in Scotland
Edinburgh
Edinburgh
Kirkwall
Kirkwall
Two locations in Scotland
{{Location map many | UK Scotland
| relief   = yes
| width    = 200
| caption  = Two locations in Scotland
| lat1_deg = 55.953
| lon1_deg = -3.189
| label1   = Edinburgh
| lat2_deg = 58.981
| lon2_deg = -2.96
| label2   = Kirkwall
}}

Location map+, using AlternativeMap

Location map/data/UK Scotland is located in Scotland
Edinburgh
Edinburgh
Kirkwall
Kirkwall
Two locations in Scotland
{{Location map+ | UK Scotland
| AlternativeMap = Scotland relief location map.jpg
| width   = 200
| caption = Two locations in Scotland
| places  =
  {{Location map~ | UK Scotland
  | lat_deg = 55.953
  | lon_deg = -3.189
  | label   = Edinburgh
  }}
  {{Location map~ | UK Scotland
  | lat_deg = 58.981
  | lon_deg = -2.96
  | label   = Kirkwall
  }}
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Scotland',
	top = 61,
	bottom = 54.5,
	left  = -8.8,
	right = -0.4,
	image = 'Scotland location map.svg',
	image1 = 'Scotland relief location map.jpg'
}