Template talk:Location

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Info non-talk.svg Template:Location has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.
Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.

This Template is intended to complement Template:Information.

Example for use[edit]

See: Image:Hildesheim-Hoher.Weg.Huckup.01.JPG

Syntax {{Location|Degree|Minute|Second|Latitude|Degree|Minute|Second|Longitude|Information attributes}}
Example {{Location|52|09|03.70|N|9|57|02.79|E|type:landmark_region:DE-NI_scale:5000}}

Explanation[edit]

The example is for a landmark in the region Germany (DE), Lower Saxony (Niedersachsen NI). By scale you request the mapping program to render the map in a scale of 1/5000.) Information attributes on landmark and region should always be added. Scale is an optional parameter and is not necessarily required. To find adequate parameters for other regions of the Earth, please look at the project pages in the English Wikipedia (w:en:Wikipedia:WikiProject Geographical coordinates or in the German Wikipedia (w:de:Wikipedia:WikiProjekt Georeferenzierung).

Adding a link to Google Maps[edit]

Since Google Maps is by far the most used mapping provider out there, I propose that this template be edited to provide a link to Google Maps. This could either supplement or replace the Google Earth link. The Google Earth link does not even work and instead prompts to download a "doc.kml" file. OSX (talkcontributions) 03:01, 30 March 2015 (UTC)

See the second topic above this one: Google Maps recently changed their interface, so the links (now broken) have been taken out until the necessary code can be developed to connect to their new system. As for Google Earth, AFAIK it doesn’t exist in any Web-hosted form, so a KML file is the closest available approximation to a link.—Odysseus1479 (talk) 04:49, 30 March 2015 (UTC)
Hi, thanks for getting back to me. I understand that the old quasi-Google Maps interface (with Wikimedia changes) linked from the template previously is no longer available. What I am suggesting is using the standard Google Maps website. If the coordinates are 51.483778,-0.606139, then https://www.google.com/maps/place/51.483778,-0.606139 works as a link. OSX (talkcontributions) 05:47, 30 March 2015 (UTC)
To get to Google maps you can click on the coordinates and than on Google maps. It is just one extra click. --Jarekt (talk) 01:58, 6 May 2015 (UTC)

Add missing heading to location template[edit]

For a long time the heading data where not added to the {{location}} template when uploading files with the UploadWizard. I'd like to change this. The starting point would be a list of files with missing the {{location}} but without heading data. Is it possible to introduce a maintenance category for this purpose? Or is there any other way to derive this list? --Arnd (talk) 13:09, 1 May 2015 (UTC)

I assume it will be large portion of Category:Media with locations. I see no need for the new maintenance category unless there is some chance that the problem will be corrected, but just like with Category:Location possible I do not see large effort fixing geolocation by people others than uploaders. Also for many images like this one location is useful but heading is unnecessary. I would suggest just using Category:Media with locations and skip the files with heading if you need a list. A better way to find and fix such files might be to target areas you are personally familiar with , for example here and there you can identify images with and without heading by different icons (with and without arrows). --Jarekt (talk) 15:17, 1 May 2015 (UTC)
It is not that i want that the direction is manually added. Just i want to use a Bot to add the direction if it is already contained in the EXIF data of the image. But assuming that almost all files in Media with locations have no heading information then you are right and i could just skip the ones i am not interested in. --Arnd (talk) 16:22, 1 May 2015 (UTC)

✓ Done I found another way by extracting the files from a dump. --Arnd (talk) 17:36, 1 May 2015 (UTC)

Location of measurement[edit]

VLF 18.1 kHz spectrogram

I have a figure of a radio measurement taken at a particular location. The template says "Camera location", but there was no camera. Also the source of the transmission is at a distance, so what I have is the measurement location, not the "object" location. What to do? Olli Niemitalo (talk) 07:19, 5 May 2015 (UTC)

Is the location really relevant? At any rate I don’t think it’s a great stretch to expand the definition of camera, for the purpose, to something like recording device for electromagnetic radiation—thereby including the receiver-spectrograph apparatus used; I don’t think anyone would be confused or misled by that. I‘m not sure what you mean by “measurement location”, but if the source is ill-defined (or multiple), I‘d just leave the object location out. If the source has directional coordinates (RA & Dec or similar), I guess those should be provided in the description, as I don’t think the location templates can be used for anything but geographic (or selenographic &c.) latitude & longitude.—Odysseus1479 (talk) 01:28, 6 May 2015 (UTC)
I've used {{object location}} (same syntax, but not about a camera location) on a similar file, because the location is relevant for the observation, i.e., Hamburg is no rural area.:-)Be..anyone (talk) 10:20, 7 May 2015 (UTC)