Template:Geogroup

From Wikimedia Commons, the free media repository
(Redirected from Template:GeoGroupTemplate)
Jump to: navigation, search
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Geogroup/doc.

This creates links to maps on categories and articles

  • With the "level=" parameter, it displays coordinates from subcategories as well: e.g. level=2.
  • With the "uk=" parameter, a link to an OS (Ordnance Survey) map is displayed. Any non-empty value in the field will display the link, e.g. "uk=y". This is currently not available in combination with "level="

You can activate an additional tab in Special:Preferences#mw-prefsection-gadgets to display a map link on all categories.

The template generates an information box with links to this maps:

  • Map of all coordinates from OSM
  • Map of all coordinates from Google
  • Map of all coordinates from Bing

Extended menu:

  • Export all coordinates as KML
  • Export all coordinates as GeoRSS

The template scans all file description pages of the files in the used category or article regarding geotagged informations. The pages are scanned, looking for entries of the templates {{Object location}} and {{Location}} to collect the geolocation informations of object and camera locations. As a result a map is shown with a layer presenting icons of all object and camera locations.

Map of all coordinates from OSM

This is a link to an OpenStreetMap. Every object and camera location is marked by a blue pin. At the left hand side is a object list, the visibility of every entry can be switched on or off.

Map of all coordinates from Google

This is a link to a Google Map. Object and camera locations are marked by three different icons:

  • Placemark Circle.png Object locations are presented by this icon.
  • Commons logo without arrow.png Camera locations without viewing direction are presented by this icon.
  • Commons logo with arrow to right.png Camera locations with a viewing direction (parameter “heading” at {{Location}}) are presented by icons like this. The arrow of this sample icon points to the right – it means, the viewing direction of the photographer by taking the photo was east.

A click at an icon leads to a popup, showing the file name and a preview of the related image. A further click leads to the file description page of the image.

Map of all coordinates from Bing

This is a link to a Bing Map. Object and camera locations are marked by three different icons:

  • Placemark Circle.png Object locations are presented by this icon.
  • Commons logo without arrow.png Camera locations without viewing direction are presented by this icon.
  • Commons logo with arrow to right.png Camera locations with a viewing direction (parameter “heading” at {{Location}}) are presented by icons like this. The arrow of this sample icon points to the right – it means, the viewing direction of the photographer by taking the photo was east.

A click at an icon leads to a popup, showing the file name and a preview of the related image. A click at “More info...” leads to the file description page of the image.

Export all coordinates as KML

This link leads to a download of the list of informations in a KML format. The downloaded file can e.g. used to open it in Google Earth.

Export all coordinates as GeoRSS

This link leads to a download of the list of informations in a GeoRSS format.

Usage[edit]