Jump to content

Module:Location map/data/USA Minneapolis–Saint Paul/doc

From Wikipedia, the free encyclopedia


Location map of Minneapolis–Saint Paul
name Minneapolis–Saint Paul
border
coordinates
45.444
-94.097 ←↕→ -92.258
44.435
map center 44°56′22″N 93°10′39″W / 44.9395°N 93.1775°W / 44.9395; -93.1775
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


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
  • 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

Creating new map definitions