Template talk:Location
Template:Location has been template 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.
Display sequence[edit]
It's not anyway serious, just irritating a bit: when as well Camera location and Object location are given, in my logic is the first one the camera, and the second one the object. I know that it can be seen the other way - first I glance an object, and then I grip my camera.
So I do not know whether it will be worth any effort to change that sequence (which is now object - camera). I just would like it more the other way.
See as an example Blick von der Teufelskanzel.jpg -- sarang♥사랑 14:31, 12 August 2022 (UTC)
- @Sarang: , That order is encoded in {{Inform}} used by File:Blick von der Teufelskanzel.jpg. --Jarekt (talk) 11:33, 2 September 2022 (UTC)
link to help[edit]
@Jarekt: Will there be a possibility to suppress the display of the - it bears IMHO no indispensable information, and can be very disturbing, e.g. there.
It is generated at stmt 829 of Module:Coordinates. -- sarang♥사랑 10:42, 2 September 2022 (UTC)
- @Sarang: , the on the right of the Template has been part of the template since 2007 and I am reluctant to just remove it. I am not very attached to it, but I do not know if other users find it useful or not. Maybe the best option would be propose this change at Commons:Village pump/Proposals (2 options: keep as is or remove) and if there is consensus I will easily remove it. --Jarekt (talk) 11:33, 2 September 2022 (UTC)
Mention camera velocity?[edit]
OK the camera was pointed north, but the airplane it was in was speeding 1000 km/h westbound. Mention what to do about that fact. Jidanni (talk) 06:10, 10 January 2023 (UTC)
- I don't think the template need mention where the camera was going or how fast. Thw information is not automatically collected in EXIF and says nothing about the subject of the picture. So, it belongs in the description if anywhere. Jim.henderson (talk) 18:29, 11 January 2023 (UTC)
Videos taken from a plane[edit]
In File:Landing at SFO 2022.07.06.webm I filmed for five minutes from point A to point B many miles away. Thus there should be more templates we can use:
- Beginning location
- Final location
- and maybe even Average location.
And maybe another set too: Beginning Object location, Final Object location... Jidanni (talk) 08:49, 25 March 2023 (UTC)
Missleading silent ignoring of syntax errors in location[edit]
Hi, I have added the following wrong construct to a file description
{{Location|46.90380,10.47712}}
(komma instead of pipe), and there was no error message. Instead the wrong coordinates from SDC (or Wikidata?) were shown. As I do not have a proper intuitive feeling on how to convert decimal to degree, minute, second representation, a quick glimpse on the result would not help. Only following the shown coordinates to a map made me wonder, why my change did not have the expected effect.
To avoid these kind of errors, please do not silently ignore syntax errors in coordinates and replace them silently from values from some other source. Show the syntax error in any case, it has to be fixed. When there is no SDC (or Wikidata?) behind, the above will render at least recognizably broken:
Camera location | View all coordinates using: OpenStreetMap |
---|
best --Herzi Pinki (talk) 12:43, 8 January 2024 (UTC)
- There are few, but some occurrences [1]. My complaint is not about to fix those, but to do some kind of error message in those cases (e.g. There is a syntax error in the above coordinates, those stored at Wikidata are shown instead (...). Remove local redundant coordinates after having reconciled them with wikidata. ). best --Herzi Pinki (talk) 15:53, 8 January 2024 (UTC)
Template Globe location doesn't work for non earth globes[edit]
The talk page for Template talk:Globe location redirects here, so I am posting my issue here:
In the documentation of this template ("Location") it states "{{Globe location}} used to provide object location on other globes, like Moon, Mars, etc." and in the documentation of Template:Globe location there are examples for that:
{{Globe location|34.02427|-116.15830|moon}}
which creates
Location | View all coordinates using: OpenStreetMap |
---|
and
{{Globe location|34|1|27.37|N|116|9|29.88|W|mars}}
which creates
Location | View all coordinates using: OpenStreetMap |
---|
However, both links show the earth in Geohack. The problem is that the template creates the parameter "globe:Earth_moon" and "globe:Earth_mars" in the URLs respectively, which causes the problem. If the output was "globe:moon" or "globe:mars" it would work. This should be fixed by somebody who has the right to edit the code of the Module:Coordinates (and knows what they are doing), as the template itself just calls {{#invoke:Coordinates| LocationTemplateCore |mode=globe}}
.
Also the documentation of the Template:Globe location should be expended to better describe the use of the globe parameter, and not just have it hidden in the example. But this should be done, once the main issue is fixed.
A workaround would be to directly call the function of the module that creates the link:
{{#Invoke:Coordinates | GeoHack_link| lat=34.02427 | lon=-116.15830 | globe=Mars }}}
will create
Thanks, DFichtmueller (talk) 09:57, 12 January 2024 (UTC)
- The code provided in the examples was incorrect and I've updated this now.
{{Globe location|34.02427|-116.15830|globe=moon}}
- which creates
Location on Moon View all coordinates using: Google Maps and
{{Globe location|34|1|27.37|N|116|9|29.88|W|globe=mars}}
which creates
Location on Mars View all coordinates using: Google Maps Still, I agree the documentation could be further improved in that regard. --Schlurcher (talk) 20:46, 13 January 2024 (UTC)