Jump to content

Module:Location map/data/Spain Province of Barcelona/doc

From Wikipedia, the free encyclopedia


Location map of Province of Barcelona
name Province of Barcelona
border
coordinates
42.388208
1.289028 ←↕→ 2.872805
41.134818
map center 41°45′41″N 2°04′51″E / 41.761513°N 2.0809165°E / 41.761513; 2.0809165
image Barcelona-loc.svg


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

Map definition

  • name = Province of Barcelona
    Name used in the default map caption
  • bottom = 41.134818
    Latitude at bottom edge of map, in decimal degrees
  • left = 1.289028
    Longitude at left edge of map, in decimal degrees
  • right = 2.872805
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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


See also

Location map templates

Creating new map definitions