Module:Location map/data/China Gansu
< Module:Location map
Jump to navigation
Jump to search
Revision as of 03:05, 27 February 2017 by blackwiki>Auguel (more accurate boundaries)
| name | Gansu | |||
|---|---|---|---|---|
| border coordinates | ||||
| 43.1 | ||||
| 91.8 | ←↕→ | 109.2 | ||
| 32.29 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | China Gansu location map.svg
| |||
| 400x400px | ||||
Module:Location map/data/China Gansu is a location map definition used to overlay markers and labels on an equirectangular projection map of Gansu. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Contents
Usage
These definitions are used by the following templates when invoked with parameter "China Gansu":
{{Location map | China Gansu | ...}}{{Location map many | China Gansu | ...}}{{Location map+ | China Gansu | ...}}{{Location map~ | China Gansu | ...}}
Map definition
name = Gansu- Name used in the default map caption
image = China Gansu location map.svg- The default map image, without "Image:" or "File:"
top = 43.1- Latitude at top edge of map, in decimal degrees
bottom = 32.29- Latitude at bottom edge of map, in decimal degrees
left = 91.8- Longitude at left edge of map, in decimal degrees
right = 109.2- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 17.4 degrees.
- At an image width of 200 pixels, that is 0.087 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0174 degrees per pixel.
Latitude: from North to South this map definition covers 10.81 degrees.
- At an image height of 200 pixels, that is 0.0541 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0108 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
Lanzhou is located in Gansu
Lanzhou
Lanzhou (Gansu)
{{Location map | China Gansu
| width = 200
| lat_deg = 36.02
| lon_deg = 103.48
| label = Lanzhou
}}
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return {
name = 'Gansu',
top = 43.10,
bottom = 32.29,
left = 91.80,
right = 109.20,
image = 'China Gansu location map.svg'
}