Template:Location map GermanyWeser

From Wikipedia, the free encyclopedia

[edit] Template:Location_map_GermanyWeser

This is a map locator for the Germany Weser River map, allowing a specified marker-image (parameter "mark=") of set size (defaults "marksize=8") plus an optional name-label to be placed by latitude and longitude coordinates on the default map (or a given image).
This template is used by the parent "Template:Location map" which must be invoked with parameter "GermanyWeser" to process the options before it uses this template. Specify each of the individual parameters by using vertical bars: {{Location map | GermanyWeser | ...}}.
Because the map is not equirectangular, the coordinates will need to be adjusted to match northern-area mapping, or use skewed coordinates with "Template:Location map skew".
See: {{Location map}} for description of parameters, or Examples below.
Map for Germany Weser river
Map for Germany Weser river
Coordinates
Top 54.02
Bottom 50.0
Left 8.0
Right 12.05
skew 0.91


[edit] Examples

Bremen (GermanyWeser)
Bremen
Bremen
Show "Bremen" on map

Example labeling "Bremen":

{{Location map
| GermanyWeser
| label = Bremen
| label_size = 90 <--percent 0-900%
| caption = Show "Bremen" on map
| lat=53.075
| long=8.8071
| background = #FFFF99
| float = right
| width = 250
}}

Bad Hersfeld (GermanyWeser)
Bad Hersfeld
Bad Hersfeld
Show "Bad Hersfeld" on map

Example for orange "Bad Hersfeld" at bottom:

{{Location map
| GermanyWeser
| label=Bad Hersfeld | position=left
| label_size = 90 <--percent 0-900%
| caption = Show "Bad Hersfeld" on map
| lat=50.8689 | long=9.7072
| background = <!--orange-->#FFCC66
| float = right
| width = 220
| AlternativeMap = <!--none(default)-->
}}



Two examples, showing "Fulda" & "Bremerhaven" with map position aligned (by using parameters "float=left" and "float=right"). Note that the marker for "Bremerhaven" is west of the mark, due to narrow longitudes far north (on non-equirectangular map).

Fulda (GermanyWeser)
Fulda
Fulda
Show "Fulda" on map
Bremerhaven (GermanyWeser)
Bremerhaven
Bremerhaven
Show "Bremerhaven"

Longitude lines converge to the center, so center towns would be positioned more accurately. The "polar" skew factor should be used (as in Template:Location_map_skew) to scale longitude smaller near polar latitudes (relative to map height), and position longitudes from map center, rather than left-side base longitude (see example below).


[edit] Example skewing Bremerhaven/Wolfsburg

Example showing "Bremerhaven" (and "Wolfsburg") on one map.


Bremerhaven (GermanyWeser)
Bremerhaven
Bremerhaven
Wolfsburg   -->
Wolfsburg
Anytown   -->
Anytown
Show "Bremerhaven" & "Wolfsburg"
{{Location map skew | GermanyWeser
| Show "Bremerhaven" & "Wolfsburg"
| skew=0.91
| label = Bremerhaven
| label_size = <!-- 0-900%--> 84
| lat=53.54 | long=8.57
| marksize=7 | position=top
| background = <!--gold-->#CCCC11
| label2 = Wolfsburg | label2_size=103
| skew2=0.91
| lat2=52.4267 | pos2=left
| long2=10.7893
| bg2 = <!--bluegreen-->#66BBDD
| label3 = Anytown
| label3_size=93 | pos3=top
| lat3_deg=51 | lat3_min=1.1
| lon3_deg=11 | lon3_min=0.0
| bg3 = <!--yellow-->#EEEE11
| float = right | width = 230
}}

The map uses alternate Template:Location_map_skew. Note that the marker for "Bremerhaven" has been placed correctly now (had been west of the mark, due to narrow longitudes far north, on the non-equirectangular map).


Bremen (GermanyWeser)
Bremen
Bremen
"Bremen" put on wrong-scale map

Example labeling "Bremen" on wrong-scale map:

{{Location map
| GermanyWeser
| label = Bremen | position = top
| label_size = <!-- 0-900%--> 128
| caption = "Bremen" put on wrong-scale map
| lat =53.0750
| long=8.8071
| background = #FFFF99
| float = right
| width = 200
| AlternativeMap = Karte Deutschland.png
}}