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.
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)
- @Schlurcher: Thank you, it hadn't occur to me, that this is an issue with the example and not with the template, but it was hard to judge due to the lack of documentation. Anyways, this is a much easier fix than expected and solves the issue. Thanks again. --DFichtmueller (talk) 15:53, 15 January 2024 (UTC)
attribute elevation[edit]
In some cases (e.g. on steep mountains), it may be useful to add the elevation of the camera position (it was done e.g. here, but with a wrong vertical datum). Has this ever been considered? Is there reason to avoid it? The use of the correct vertical datum may be a challenge. --Kuhni74 (talk) 09:04, 7 February 2024 (UTC)