Module:Location map/data/Australia South Australia

MyWikiBiz, Author Your Legacy — Tuesday April 16, 2024
Jump to navigationJump to search

Lua error: expandTemplate: template "coord" does not exist.

File:SouthAustraliaRoads.png
Map of South Australia

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":

Map definition

  • name = South Australia
    Name used in the default map caption
  • 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:

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)

Template:Location map

{{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
}}

Template:Clear

Location map many, using relief map (image1)

Template:Location map many

{{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
}}

Template:Clear

Location map+, using AlternativeMap

Template:Location map+

{{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
  }}
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'South Australia',
	top = -25.6,
	bottom = -38.5,
	left = 128.5,
	right = 141.5,
	image = 'Australia South Australia location map.svg',
	image1 = 'Australia South Australia relief location map.png',
	image2 = 'Australia South Australia location map blank.svg'
}