Module:Location map/data/Australia South Australia
This Lua module is used on approximately 2,400 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
name | South Australia | |||
---|---|---|---|---|
border coordinates | ||||
-25.6 | ||||
128.5 | ←↕→ | 141.5 | ||
-38.5 | ||||
map center | 32°03′S 135°00′E / 32.05°S 135°E | |||
image | Australia South Australia location map.svg
| |||
image1 | Australia South Australia relief location map.png
| |||
image2 | Australia South Australia location map blank.svg
| |||
Module:Location map/data/Australia South Australia is a location map definition used to overlay markers and labels on an equirectangular projection map of South Australia. 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 "Australia South Australia":
{{Location map|Australia South Australia |...}}
{{Location map many|Australia South Australia |...}}
{{Location map+|Australia South Australia |...}}
{{Location map~|Australia South Australia |...}}
Map definition
name = South Australia
- Name used in the default map caption
image = Australia South Australia location map.svg
- The default map image, without "Image:" or "File:"
image1 = Australia South Australia relief location map.png
- An alternative map image, usually a relief map, which can be displayed via the relief or AlternativeMap parameters
image2 = Australia South Australia location map blank.svg
- Alternative map image which can be displayed via the AlternativeMap parameter
top = -25.6
- Latitude at top edge of map, in decimal degrees
bottom = -38.5
- Latitude at bottom edge of map, in decimal degrees
left = 128.5
- Longitude at left edge of map, in decimal degrees
right = 141.5
- 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. The map displayed as image2 can be used with the AlternativeMap parameter. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
Precision
Longitude: from West to East this map definition covers 13 degrees.
- At an image width of 200 pixels, that is 0.065 degrees per pixel.
- At an image width of 1000 pixels, that is 0.013 degrees per pixel.
Latitude: from North to South this map definition covers 12.9 degrees.
- At an image height of 200 pixels, that is 0.0645 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0129 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | Australia South Australia | width = 200 | label = Adelaide | lat_deg = 34 | lat_min = 55 | lat_sec = 44 | lat_dir = S | lon_deg = 138 | lon_min = 36 | lon_sec = 04 | lon_dir = E }}
Location map many, using relief map (image1)
{{Location map many | Australia South Australia | relief = yes | width = 200 | caption = Locations in South Australia | lat1 = -26.11 | long1 = 129.15 | label1 = Kalka | lat2 = -37.83 | long2 = 140.78 | label2 = Mount Gambier | lat3 = -31.64 | long3 = 129.00 | label3 = Border Village | lat4 = -32.07 | long4 = 140.98 | label4 = Cockburn }}
Location map+, using AlternativeMap
{{Location map+ | Australia South Australia | AlternativeMap=Australia South Australia location map blank.svg | width = 200 | caption = Locations in South Australia | places = {{Location map~ | Australia South Australia | lat = -26.11 | long = 129.15 | label = Kalka }} {{Location map~ | Australia South Australia | lat = -37.83 | long = 140.78 | label = Mount Gambier }} {{Location map~ | Australia South Australia | lat = -31.64 | long = 129.00 | label = Border Village }} {{Location map~ | Australia South Australia | lat = -32.07 | long = 140.98 | label = Cockburn }} }}
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions