Module:Location map/data/France Aquitaine

From imedwiki
Jump to navigation Jump to search


Location map of Aquitaine
name Aquitaine
border
coordinates
45.75
-2 ←↕→ 1.5
42.75
map center 44°15′N 0°15′W / 44.25°N 0.25°W / 44.25; -0.25
image Aquitaine_region_locator.svg
Aquitaine region locator.svg
image1 442x556-Carte-Région-Aquitaine-R.jpg
442x556-Carte-Région-Aquitaine-R.jpg
Location of Aquitaine in France

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

Map definition

  • name = Aquitaine
    Name used in the default map caption
  • bottom = 42.75
    Latitude at bottom edge of map, in decimal degrees
  • left = -2
    Longitude at left edge of map, in decimal degrees
  • right = 1.5
    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 3.5 degrees.

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

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

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

Examples using location map templates

Location map, using default map (image)

Bordeaux is located in Aquitaine
Bordeaux
Bordeaux
Bordeaux (Aquitaine)
{{Location map | France Aquitaine
| width   = 250
| lat_deg = 44.839
| lon_deg = -0.578
| label   = Bordeaux
}}

Location map many, using relief map (image1)

Template:Location map many

{{Location map many | France Aquitaine
| relief   = yes
| width    = 250
| caption  = Locations in the Aquitaine region
| lat1_deg = 44.839
| lon1_deg = -0.578
| label1   = Bordeaux
| lat2_deg = 43.708
| lon2_deg = -1.05
| label2   = Dax
}}

Location map+, using AlternativeMap

Location map/data/France Aquitaine is located in Aquitaine
Bordeaux
Bordeaux
Dax
Dax
Locations in the Aquitaine region
{{Location map+ | France Aquitaine
| AlternativeMap = 442x556-Carte-Région-Aquitaine-R.jpg
| width   = 250
| caption = Locations in the Aquitaine region
| places  =
  {{Location map~ | France Aquitaine
  | lat_deg = 44.839
  | lon_deg = -0.578
  | label   = Bordeaux
  }}
  {{Location map~ | France Aquitaine
  | lat_deg = 43.708
  | lon_deg = -1.05
  | label   = Dax
  }}
}}

See also

Location map templates

Creating new map definitions


return {
	name = 'Aquitaine',
	top = 45.75,
	bottom = 42.75,
	left = -2.00,
	right = 1.50,
	image = 'Aquitaine_region_locator.svg',
	image1 = '442x556-Carte-Région-Aquitaine-R.jpg'
}