PlusPedia wird derzeit technisch modernisiert. Aktuell laufen Wartungsarbeiten. Für etwaige Unannehmlichkeiten bitten wir um Entschuldigung; es sind aber alle Artikel zugänglich und Sie können PlusPedia genauso nutzen wie immer.

Neue User bitte dringend diese Hinweise lesen:

Anmeldung - E-Mail-Adresse Neue Benutzer benötigen ab sofort eine gültige Email-Adresse. Wenn keine Email ankommt, meldet Euch bitte unter NewU25@PlusPedia.de.

Hinweis zur Passwortsicherheit:
Bitte nutzen Sie Ihr PlusPedia-Passwort nur bei PlusPedia.
Wenn Sie Ihr PlusPedia-Passwort andernorts nutzen, ändern Sie es bitte DORT bis unsere Modernisierung abgeschlossen ist.
Überall wo es sensibel, sollte man generell immer unterschiedliche Passworte verwenden! Das gilt hier und im gesamten Internet.
Aus Gründen der Sicherheit (PlusPedia hatte bis 24.07.2025 kein SSL | https://)

Bei PlusPedia sind Sie sicher: – Wir verarbeiten keine personenbezogenen Daten, erlauben umfassend anonyme Mitarbeit und erfüllen die Datenschutz-Grundverordnung (DSGVO) vollumfänglich. Es haftet der Vorsitzende des Trägervereins.

PlusPedia blüht wieder auf als freundliches deutsches Lexikon.
Wir haben auf die neue Version 1.43.3 aktualisiert.
Wir haben SSL aktiviert.
Hier geht es zu den aktuellen Aktuelle Ereignissen

Vorlage:Location/general documentation

Aus PlusPedia
Zur Navigation springen Zur Suche springen

This is a family of templates used to geo-code Commons images. See Commons:Geocoding for information on how to find coordinates for your images.

  • {{Location}} – used to provide camera location using degrees/minutes/seconds (DMS) notation
  • {{Location dec}} – used to provide camera location using decimal notation
  • {{Object location}} – used to provide object location using DMS notation
  • {{Object location dec}} – used to provide object location using decimal notation
  • {{Globe location}} – used to provide object location on other globes, like moon, mars, etc. Uses both decimal and DMS notations.

In most cases, camera location is preferred and most images should use the first two templates. However, in some cases object location—which indicates the position of the main subject of the photograph—makes more sense, for example when providing the location of a painting or sheet music. It can also be used to point to a nearby feature instead of giving the exact location of the main object, e.g. when you do not want to reveal the exact location of a rare plant.

Object location tags do not add the picture onto the Geocommons layer for Google maps and Google Earth, so if you know the camera location and want the picture to be shown in this layer, use the camera location tag instead.

Syntax

{{Location|Degree|Minute|Second|Latitude|Degree|Minute|Second|Longitude|Information attributes}}
{{Location dec|Degree Latitude|Degree Longitude|Information attributes}}
{{Object location|Degree|Minute|Second|Latitude|Degree|Minute|Second|Longitude|Information attributes}}
{{Object location dec|Degree Latitude|Degree Longitude|Information attributes}}
{{Globe location|Degree Latitude|Degree Longitude|Globe|Information attributes}}
{{Globe location|Degree|Minute|Second|Latitude|Degree|Minute|Second|Longitude|Globe|Information attributes}}

Syntax examples of "Information attributes": (Don't use spaces instead of underscores!)
heading:180
region:XX-YYY_heading:45
region:XX-YYY_scale:10000_heading:SW

Don't use parameter "type", it is hardcoded as "camera". Use "scale" or "dim" to indicate a suitable map region size to display the picture.

Beispiele

{{Location}} example
Code {{Location|34|1|27.37|N|116|9|29.88|W|region:DE-NI_heading:SE}}
Produces

Kameraposition

34° 1′ 27,37″ N, 116° 9′ 29,88″ W

Dieses und weitere Bilder auf Google Maps (Information)
{{Location dec}} example
Code {{Location dec|34.02427|-116.15830|region:DE-NI_scale:10000_heading:SW}}
Produces

Kameraposition

34° 1′ 27,37″ N, 116° 9′ 29,88″ W

Dieses und weitere Bilder auf Google Maps (Information)
{{Object location dec}} example
Code {{Object location dec|34.02427|-116.15830|region:DE-NI_scale:10000}}
Produces

Objektposition

34° 1′ 27,37″ N, 116° 9′ 29,88″ W

Dieses und weitere Bilder auf Google Maps - Proximityrama (Information)
{{Globe location}} example
Code {{Globe location|34.02427|-116.15830|moon}}
Produces

Location

34° 1′ 27,37″ N, 116° 9′ 29,88″ W

(Information)
Code {{Globe location|34|1|27.37|N|116|9|29.88|W|mars}}
Produces

Location

34° 1′ 27,37″ N, 116° 9′ 29,88″ W

(Information)

The syntax and output of {{Object location}} and {{Object location dec}} templates is the same, except for the word "Object" in the template name resulting in the use of Object Location phrase instead of Camera Location in the output.

Parameter

{{Location}} and {{Object location}} parameters
Parameter Mandatory or Optional Default Description
{1} Mandatory Undefined Degrees of Latitude
{2} Mandatory Undefined Minutes of Latitude
{3} Mandatory Undefined Seconds of Latitude
{4} Mandatory Undefined Latitude Direction (N or S)
{5} Mandatory Undefined Degrees of Longitude
{6} Mandatory Undefined Minutes of Longitude
{7} Mandatory Undefined Seconds of Longitude
{8} Mandatory Undefined Longitude Direction (W or E)
{9} Optional type:landmark region:XX-YYY_scale:_heading:
{{Location dec}} and {{Object location dec}} parameters
Parameter Mandatory or Optional Default Description
{1} Mandatory Undefined Degrees of Latitude
{2} Mandatory Undefined Degrees of Longitude
{3} Optional type:landmark region:XX-YYY_scale:_heading:
{{Globe Location}} parameters
Parameter Mandatory or Optional Default Description
{1} Mandatory Undefined Degrees of Latitude
{2} Mandatory Undefined Degrees of Longitude
{3} Mandatory Earth Globe - Supported types: Mars, Moon, Venus, Mercury, Titan, Ganymede
{4} Optional type:landmark region:XX-YYY_scale:_heading:

Where:

  • region:XX-YYY
  • XX is an ISO 3166-1 alpha 2 country code abbreviation, and
  • YYY is a 1-, 2- or 3- characters (see en:ISO 3166-2#Format for details) province/region/state code abbreviation (typically the same as a local postal code abbreviation).
  • type: is a class descriptor about the object. It is defined by geohack.php and mapsources.php on ToolServer.Org and corresponding documentation can be found on en:WP:GEO. NOTE: type:landmark is hard-coded default value
  • scale: is an information about which range the image covers, given in meters (1000 is 1 kilometer).
  • heading: is either a compass rose point (up to four letters) or degree heading (zeropoint North, clockwise).

Übersetzung

To create a new language version of all four templates, create a new subpage of Template:Location, cut and paste code below and translate terms in bold letters. For some languages it might also make sence to translate optional labels written in italics.

{{Location/layout 
| lat = {{{lat}}}
| lon = {{{lon}}}
| attributes = {{{attributes}}}
| NoError = {{{NoError}}}
| mode = {{{mode}}}
| globe = Earth
| lang = {{subst:SUBPAGENAME}}
| Location-label3 = Location on {{#switch: {{{globe|Earth}}} | Mars = Mars | Moon = Moon | Venus = Venus | Mercury = Mercury
| Titan = Titan | Ganymede = Ganymede | Earth = Earth}}
| Location-label1 = Camera Location
| Location-label2 = Object Location
| Link-label = This and other images at their location on:
| GoogleMaps = Google Maps
| GoogleEarth = Google Earth
| OpenStreetMap = OpenStreetMap
| Proximityrama = Proximityrama
| Info-label = Info
| N = N
| S = S
| W = W
| E = E
}}<noinclude>{{translated tag|infobox}}</noinclude>

Placement on file description pages

{{location}} is generally placed just after {{information}}.

If there is an object location template (sample: {{object location}}), it is placed just below the camera location template.

Both would be followed by the license header if present: =={{int:license-header}}==


Quelle: http://commons.wikimedia.org/wiki/Template:Location/general_documentation