Module:Location map/data/Tennessee

From imedwiki
Jump to navigation Jump to search
Location map of Tennessee
name Tennessee
border
coordinates
38.1
-90.5 ←↕→ -81.4
33.6
map center 35°51′N 85°57′W / 35.85°N 85.95°W / 35.85; -85.95
image USA Tennessee location map.svg
USA Tennessee location map.svg
image1 USA Tennessee relief location map.svg
USA Tennessee relief location map.svg
Map of Tennessee (click on map to see larger image)

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

Map definition

  • name = Tennessee
    Name used in the default map caption
  • bottom = 33.6
    Latitude at bottom edge of map, in decimal degrees
  • left = -90.5
    Longitude at left edge of map, in decimal degrees
  • right = -81.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 9.1 degrees.

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

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

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

Examples using location map templates

Location map

Nashville is located in Tennessee
Nashville
Nashville
Nashville (Tennessee)
{{Location map | USA Tennessee
| width   = 200
| lat_deg =  36 | lat_min = 10 | lat_sec = 00 | lat_dir = N 
| lon_deg = 086 | lon_min = 47 | lon_sec = 00 | lon_dir = W
| label   = Nashville
}}

Location map many

Template:Location map many

{{Location map many | USA Tennessee
| width    = 200
| caption  = Locations in Tennessee
| lat1 = 36.6328 | long1 = -86.5392 | label1 = Mitchellville
| lat2 = 35.0047 | long2 = -86.8514 | label2 = Ardmore
| lat3 = 35.5164 | long3 = -89.8886 | label3 = Randolph
| lat4 = 36.1450 | long4 = -82.4108 | label4 = Erwin
}}

Location map+

Location map/data/Tennessee is located in Tennessee
Mitchellville
Mitchellville
Ardmore
Ardmore
Randolph
Randolph
Erwin
Erwin
Locations in Tennessee
{{Location map+ | USA Tennessee
| width   = 200
| caption = Locations in Tennessee
| places  =
  {{Location map~ | USA Tennessee
  | lat = 36.6328 | long = -86.5392 | label = Mitchellville
  }}
  {{Location map~ | USA Tennessee
  | lat = 35.0047 | long = -86.8514 | label = Ardmore
  }}
  {{Location map~ | USA Tennessee
  | lat = 35.5164 | long = -89.8886 | label = Randolph
  }}
  {{Location map~ | USA Tennessee
  | lat = 36.1450 | long = -82.4108 | label = Erwin
  }}
}}

Location map, one location on three maps

Nashville is located in Tennessee
Nashville
Nashville
Nashville (Tennessee)
Nashville is located in the United States
Nashville
Nashville
Nashville (the United States)
Nashville is located in North America
Nashville
Nashville
Nashville (North America)
{{Location map | USA Tennessee#USA#North America
| relief  = yes
| width   = 200
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
}}

Location map, three maps and three captions

Nashville is located in Tennessee
Nashville
Nashville
Location in Tennessee
Nashville is located in the United States
Nashville
Nashville
Location in the United States
Nashville is located in North America
Nashville
Nashville
Location in North America
{{Location map | USA Tennessee#USA#North America
| relief  = yes
| width   = 200
| lat_deg = 36.167
| lon_deg = -86.783
| label   = Nashville
| caption = Location in [[Tennessee]]##Location in the [[United States]]##Location in [[North America]]
}}

See also

Location map templates

Creating new map definitions


return require('Module:Location map/data/USA Tennessee')