Module:Location map/data/USA Oregon Portland downtown

From blackwiki
Jump to navigation Jump to search


Location map of Portland, Oregon
name Portland, Oregon
border
coordinates
45.54375
-122.7167 ←↕→ -122.6345
45.49955
map center Lua error: callParserFunction: function "#coordinates" was not found.
image Downtown Portland.png
Downtown Portland.png


Module:Location map/data/USA Oregon Portland downtown is a location map definition used to overlay markers and labels on an equirectangular projection map of Portland, Oregon. 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 Oregon Portland downtown":

Map definition

  • name = Portland, Oregon
    Name used in the default map caption
  • bottom = 45.49955
    Latitude at bottom edge of map, in decimal degrees
  • left = -122.7167
    Longitude at left edge of map, in decimal degrees
  • right = -122.6345
    Longitude at right edge of map, in decimal degrees

Precision

Longitude: from West to East this map definition covers 0.0822 degrees.

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

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

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


See also

Location map templates

Creating new map definitions


return {
	name = 'Portland, Oregon',
	top = 45.54375,
	bottom = 45.49955,
	left = -122.7167,
	right = -122.6345,
	image = 'Downtown Portland.png',
	width = 200
}