Module:Location map/data/USA Minneapolis–Saint Paul
MyWikiBiz, Author Your Legacy — Monday November 25, 2024
Jump to navigationJump to searchLua error: expandTemplate: template "coord" does not exist.
Module:Location map/data/USA Minneapolis–Saint Paul is a location map definition used to overlay markers and labels on an equirectangular projection map of Minneapolis–Saint Paul. 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 "USA Minneapolis–Saint Paul":
Map definition
name = Minneapolis–Saint Paul
- Name used in the default map caption
image = Twin Cities 7 Metro map.png
- The default map image, without "Image:" or "File:"
top = 45.444
- Latitude at top edge of map, in decimal degrees
bottom = 44.435
- Latitude at bottom edge of map, in decimal degrees
left = -94.097
- Longitude at left edge of map, in decimal degrees
right = -92.258
- Longitude at right edge of map, in decimal degrees
x = 54.449644*($2 + 94.097239) + 0.1393029*($1 - 45.444359)
- An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
y = 0.3632586*($2 + 94.097239) - 98.385553*($1 - 45.444359)
- An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
Precision
Longitude: from West to East this map definition covers 1.839 degrees.
- At an image width of 200 pixels, that is 0.0092 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0018 degrees per pixel.
Latitude: from North to South this map definition covers 1.009 degrees.
- At an image height of 200 pixels, that is 0.005 degrees per pixel.
- At an image height of 1000 pixels, that is 0.001 degrees per pixel.
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
return { name = 'Minneapolis–Saint Paul', top = 45.444, bottom = 44.435, left = -94.097, right = -92.258, x = '54.449644*($2 + 94.097239) + 0.1393029*($1 - 45.444359)', y = '0.3632586*($2 + 94.097239) - 98.385553*($1 - 45.444359)', image = 'Twin Cities 7 Metro map.png' }