Module:Location map/data/Germany Rhine

MyWikiBiz, Author Your Legacy — Thursday November 21, 2024
Jump to navigationJump to search

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


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

Map definition

  • name = Rhine
    Name used in the default map caption
  • bottom = 46.48
    Latitude at bottom edge of map, in decimal degrees
  • left = 4
    Longitude at left edge of map, in decimal degrees
  • right = 12.02
    Longitude at right edge of map, in decimal degrees

Precision

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

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

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

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

Examples using location map templates

Template:Location map Example labeling "Duisburg":

{{Location map
| Germany Rhine
| label = Duisburg
| label_size = 90  <--percent 0-900%
| caption = Show "Duisburg" on map
| lat  = 51.4377
| long = 6.7706
| background = #FFFF99
| float = right
| width = 260
}}

Template:-


Template:Location map Example for orange "Basel" at bottom:

{{Location map
| Germany Rhine
| label=Basel  | position=left
| label_size = 80  <--percent 0-900%
| caption = Show "Basel" on map
| lat  = 47.5597
| long = 7.5805
| background = <!--orange-->#FFCC66
| float = right
| width = 220
| AlternativeMap = <!--none(default)-->
}}

Template:-


Example showing Düsseldorf/Mannheim

Example showing "Düsseldorf" (and "Mannheim") on one map.

Template:Location map many

{{Location map many | Germany Rhine
| Show "Mannheim" & "Düsseldorf"
| label = Mannheim
| label_size = <!-- 0-900%--> 82
  | lat=49.489 | long=8.469
  | marksize=7 | position=left
  | bg = <!--gold-->#CCCC11
| label2=Düsseldorf |label2_size=99
| pos2=left
  | lat2  = 51.2251
  | long2 = 6.7757
  | bg2 = <!--bluegreen-->#66BBDD
| label3 = Anytown
  | label3_size=93 | pos3=top
  | lat3_deg=48  | lat3_min=1.1
  | lon3_deg=10  | lon3_min=0.0
  | bg3 = <!--yellow-->#EEEE11
| float = right | width = 250
}}

Note that the marker for "Mannheim" has been placed correctly now (had been west of the mark, due to narrow longitudes far north, on the non-equirectangular map).

Template:Clear

See also

Location map templates

Creating new map definitions


return {
	name = 'Rhine',
	top = 53.56,
	bottom = 46.48,
	left = 4.0,
	right = 12.02,
	image = 'Rhine_watershed_closer.gif'
}