Module:Location map/data/Austria Upper Austria

< Module:Location map
Revision as of 23:49, 15 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

Map definition

  • name = Upper Austria
    Name used in the default map caption
  • bottom = 47.443878776636
    Latitude at bottom edge of map, in decimal degrees
  • left = 12.730407714844
    Longitude at left edge of map, in decimal degrees
  • right = 15.001831054688
    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 2.2714 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Template:Location map

{{Location map | Austria Upper Austria
| width   = 200
| lat_deg = 48.235556
| lon_deg = 14.226667
| label   = Linz
}}

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Upper Austria',
	top = 48.780627593814906,
	bottom = 47.44387877663593,
	left = 12.73040771484375,
	right = 15.0018310546875,
	image = 'Austria Upper Austria location map.svg',
	image1 = 'Austria Upper Austria relief location map.png'
}