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.

I would like to add location data to images. So new services will be possible later. E.g. "Show me all images in a radius of 50 km to my position." or "Show me all pictures of museums within 100 km." If this data will be available, I think new stuff hence unimaginable will become possible. It is basically the extension of the good work of WikiProjekt Georeferenzierung towards images or other media. It will be a lot of work, and I don't know if others would be interested. But it is worth a try.

It should be added to the image description pages on top of Template:Information. Else, the data would appear at the bottom beneath the licence information and could not possibly be found. It is too specialised to be included in the Template:Information itself. So, many times it would simply be left open without data, to the detriment of the appearance of the Template.

Longbow4u 14:14, 22 April 2006 (UTC)

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).

Weitere Bilder[edit]

Der Satz weitere Bilder auf OpenStreetMap - Google Maps - Google Earth sollte auf weitere Bilder bis zum 30. November 2013 auf OpenStreetMap - Google Maps - Google Earth geändert werden, da alle jüngeren Bilder nicht angezeigt werden und ein Ende dieses Problems nicht absehbar ist. --störfix (talk) 07:26, 3 September 2014 (UTC)

Can someone translate? Google Translate version is not clear. --Jarekt (talk) 11:45, 4 September 2014 (UTC)
pictures younger than 2014-11-30 are not on the GeoCommons layer for OpenStreetMap, Google maps or Google Earth. This information should be given by the text. [1] --störfix (talk) 15:54, 4 September 2014 (UTC)
According to your link the problem should correct itself soon. --Jarekt (talk) 16:03, 4 September 2014 (UTC)
soon?? The problem exist since 9 month. --störfix (talk) 19:01, 4 September 2014 (UTC)

location broken?[edit]

{{location|48.18367|16.312481|region:AT-9}} ->

Camera location 48° 11′ 01.21″ N, 16° 18′ 44.93″ E View this and other nearby images on: OpenStreetMap - Google Maps - Google Earth info

in namespace template_talk, but in namespace file it produces: additional characters (see File:Palace_of_Schönbrunn_4.jpg):

{{#coordinates:primary| 48.187491| 16.256633|type:camera_}}

I was searching a bit, but I did not get an idea of the root cause. So I need help. --Herzi Pinki (talk) 15:04, 27 October 2014 (UTC)

All files add mw:Extension:GeoData tags, but you can not see them. I will try to figure out why you can see those. --Jarekt (talk) 17:40, 27 October 2014 (UTC)
Actually I can not reproduce it anymore. It seems to have fixed itself. --Jarekt (talk) 17:45, 27 October 2014 (UTC)
Hi Jarekt, thanks for caring. It is gone also for me. Servers had hickup. --Herzi Pinki (talk) 17:49, 27 October 2014 (UTC)

caused by CirrusSearch outage Bugzilla72559 --Herzi Pinki (talk) 23:38, 27 October 2014 (UTC)

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Herzi Pinki (talk) 17:49, 27 October 2014 (UTC)

Broken again, perhaps? It hasn't brought up Google Earth for me today or yesterday, though Google Maps and OSM work. Jim.henderson (talk) 18:14, 6 November 2014 (UTC)

And it started working again. It's an intermittent service. Jim.henderson (talk) 23:43, 9 November 2014 (UTC)
Failed again. Hasn't worked yesterday or today for me. Jim.henderson (talk) 21:45, 12 November 2014 (UTC)
Working again for several hours now. Thanks again. Jim.henderson (talk) 02:45, 14 November 2014 (UTC)

Nowrap, please![edit]

My screen is set to 1152 px wide and still I see the lat&long field of this template, the most important one, wrapped to two lines, which looks bad and is harder to read. Can we have a no-wrap / NOBR thingy added to the code, please? (This doesn’t happen to me with {{Location}}, only with {{Object location}}, but people will narrower screens will have the same issue with it, too.) -- Tuválkin 16:37, 7 November 2014 (UTC)

I am looking at File:Kerk Wijhe.jpg and lat&long field is in one line. By the way, both {{Location}} and {{Object location}} use almost the same code Module:Coordinates so if there is a difference between them it should be in the actual {{Location}} and {{Object location}} templates calling the module. Feel free to clone one of them into /sandbox subtemplate and modify it as you wish. If some other configuration works better, than you can propose to change it. --Jarekt (talk) 17:20, 7 November 2014 (UTC)