Template talk:Location

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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)Reply[reply]

@Sarang: , That order is encoded in {{Inform}} used by File:Blick von der Teufelskanzel.jpg. --Jarekt (talk) 11:33, 2 September 2022 (UTC)Reply[reply]
I had not been aware that the order can be changed that way - thank you for the hint! It is now corrected - sarang사랑 11:36, 2 September 2022 (UTC)Reply[reply]

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)Reply[reply]

@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)Reply[reply]
Thank you, but it is not such urgent, I can live with it very well. -- sarang사랑 11:36, 2 September 2022 (UTC)Reply[reply]

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)Reply[reply]

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)Reply[reply]

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)Reply[reply]

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 location0° 00′ 00″ N, 0° 00′ 00″ E Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo

best --Herzi Pinki (talk) 12:43, 8 January 2024 (UTC)Reply[reply]

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)Reply[reply]

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

Location34° 01′ 27.37″ N, 116° 09′ 29.88″ W Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo


and

{{Globe location|34|1|27.37|N|116|9|29.88|W|mars}}

which creates

Location34° 01′ 27.37″ N, 116° 09′ 29.88″ W Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo

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 34° 01′ 27.37″ N, 116° 09′ 29.88″ W

Thanks, DFichtmueller (talk) 09:57, 12 January 2024 (UTC)Reply[reply]

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 Moon34° 01′ 27.37″ N, 116° 09′ 29.88″ W View all coordinates using: Google Mapsinfo

and

{{Globe location|34|1|27.37|N|116|9|29.88|W|globe=mars}}

which creates

Location on Mars34° 01′ 27.37″ N, 116° 09′ 29.88″ W View all coordinates using: Google Mapsinfo

Still, I agree the documentation could be further improved in that regard. --Schlurcher (talk) 20:46, 13 January 2024 (UTC)Reply[reply]