Module talk:WikidataCoord

Error of WikidataCoord
Precision of ±0.1° seems to make an error. ±1° is fine, as is ±0.01°. 213.205.251.75 (talk) 18:59, 25 September 2016 (UTC)
 * Can you show examples of what you mean?
 * —Trappist the monk (talk) 19:29, 25 September 2016 (UTC)
 * I suppose you should change Wikdata to Wikidata for the coordinate template. :-) --Gereon K. (talk) 20:59, 20 July 2017 (UTC)
 * You could have done that, the module isn't protected.
 * —Trappist the monk (talk) 21:06, 20 July 2017 (UTC)
 * The editing format is not standard source editing. I was afraid to edit code. --Gereon K. (talk) 13:06, 23 July 2017 (UTC)

Strange error
There might be some strange error in module, see Talk:Statue of Lutgardis, Charles Bridge. Jklamo (talk) 18:40, 24 June 2019 (UTC)

Problem with coordinate using dm (dms without s)
If the coordinate is without arcseconds, it falls over. I think the seconds should be defaulted to 0" Not Samuel Pepys (talk) 11:31, 27 October 2020 (UTC) https://geohack.toolforge.org/geohack.php?pagename=Argao&params=9_53_N_123_36_E_type:city(72366)_region:PH-CEB so doesn't give dim: but gives type:city(pop) and gives a region:PH-CEB which shouldn't be used for third-order places (check GeoNames ID = 1730195) Not Samuel Pepys (talk) 18:51, 27 October 2020 (UTC) (display normally  but not here for testing)
 * Are you sure? If I use the coordinates shown on the doc page for this module and remove the seconds portions that I get a working link:
 * Do you have an example that does not work?
 * —Trappist the monk (talk) 11:59, 27 October 2020 (UTC)
 * https://en.wikipedia.org/w/index.php?title=Template_talk:WikidataCoord&oldid=985687582
 * also, GeoHack out of the Infobox settlement gives different errors, such as
 * https://en.wikipedia.org/w/index.php?title=Template_talk:WikidataCoord&oldid=985687582
 * also, GeoHack out of the Infobox settlement gives different errors, such as
 * I am not going to even attempt to decode what it is that you are saying at . I just go cross-eyed when I try to read that.  Clearly, there is something wrong with this from :
 * I asked you for an example that shows that this module does not work with coordinates that omit seconds. I don't think that you have given me such an example.  If this module is broken, provide an example using the simplest construction you can create.
 * —Trappist the monk (talk) 19:23, 27 October 2020 (UTC)
 * 1 a fourth-order place, area=0.48 km2 coordinates 10°19'55"N, 123°57'13"E
 * 1 a fourth-order place, area=0.48 km2 coordinates 10°19'55"N, 123°57'13"E

GeoHack - https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=10_19_55_N_123_57_13_E_dim:1000 – Correct via Infobox it gives https://geohack.toolforge.org/geohack.php?pagename=Alang-alang,_Mandaue&params=10_19_55_N_123_57_13_E_type:city(13457)_region:PH-CEB – wrong, twice
 * 2 a third-order place, area=191.50 km2 coordinates 9°53'N, 123°36'E
 * 2 a third-order place, area=191.50 km2 coordinates 9°53'N, 123°36'E

direct GeoHack – https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=9_53_N_123_36_E_ – no cordinate parameters via Infobox – https://geohack.toolforge.org/geohack.php?pagename=Argao&params=9.88_N_123.6_E_region:PH_type:city(72366) region is short, and should be given only for adm1st and adm2nd; type:city(pop) is not particularly helpful
 * 3 a second-order place, area=337.49 km2 coordinates 9°11'N, 123°34'E
 * 3 a second-order place, area=337.49 km2 coordinates 9°11'N, 123°34'E

direct GeoHack – https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=9_11_N_123_34_E_ – no coordinate parameters via Infobox – https://geohack.toolforge.org/geohack.php?pagename=Siquijor&params=9.18_N_123.57_E_region:PH_type:adm1st_dim:8km region:PH is short; type:adm1st is wrong; dim:8km is wrong
 * 4 a first-order place area=15,895.66 km2 coordinates 10°0'N, 123°30'E
 * 4 a first-order place area=15,895.66 km2 coordinates 10°0'N, 123°30'E

direct GeoHack – https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=10_0_N_123_30_E_ – no coordinate parameters via Infobox – https://geohack.toolforge.org/geohack.php?pagename=Central_Visayas&params=10_N_123.5_E_region:PH_type:city(7396898) incomplete region; type:city(pop)
 * I'll complete tomorrow. Not Samuel Pepys (talk) 00:23, 28 October 2020 (UTC)
 * I'll complete tomorrow. Not Samuel Pepys (talk) 00:23, 28 October 2020 (UTC)

(I don't know how to write a left arrow) I tried 2 – 4 changing wikidata to full dms:

2b direct from template https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=9_53_0_N_123_36_0_E_type:adm3rd_dim:16000 via infobox https://geohack.toolforge.org/geohack.php?pagename=Argao&params=9.8833_N_123.6_E_region:PH_type:city(72366)

3b direct from template https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=9_11_0_N_123_34_0_E_type:adm2nd_region:PH-SIG_dim:64000 via infobox https://geohack.toolforge.org/geohack.php?pagename=Siquijor&params=9.1833_N_123.5667_E_region:PH_type:adm1st_dim:8km

4b direct from template https://geohack.toolforge.org/geohack.php?pagename=Module_talk:WikidataCoord&params=10_0_0_N_123_30_0_E_type:adm1st_region:PH-07_dim:256000 via infobox https://geohack.toolforge.org https://geohack.toolforge.org/geohack.php?pagename=Central_Visayas&params=10_0_0_N_123_30_0_E_region:PH-07_type:city(7396898)

So different coordinate parameters with full dms (with s=0"). But still wrong!

Not Samuel Pepys (talk) 09:18, 28 October 2020 (UTC)
 * So what you are really complaining about is not that Module:WikidataCoord doesn't handle coordinates without seconds but that it does not include the template parameters in the call to when seconds are omitted.  It would have been better for both of us had you simply said that at the beginning.
 * Yep, parameters are not passed when seconds are omitted.  This module did not initially support degrees/minutes; that was added later by another editor so I'll fix that.  You do know that  has qid, right?  See these:
 * —Trappist the monk (talk) 11:19, 28 October 2020 (UTC)
 * Fixed I think. Your examples:
 * —Trappist the monk (talk) 12:08, 28 October 2020 (UTC)
 * Thanks. Yes, I spent hours, more than four, just to find the question.  So that's fine now.  But I don't know what is the point of WikidataCoord when it does the same think as coord? PS only four of your answers are printed!
 * The other question is why is the internal gubbins of infobox settlement ignoring the parameters from coord / wikidatacoord and instead make up stupid from here and there wikidata – region is not put in third- and fourth-order so they're insisting (wrongly) from a higher order one; and type:city is ludicrously, completely wrong, while dim: is ignored even though it's true. Not Samuel Pepys (talk) 13:35, 28 October 2020 (UTC)
 * This module was created in May 2016; before support for qid was added to Module:Coordinates in November 2018.
 * What do you mean by: PS only four of your answers are printed!
 * I am not familiar with, but a cursory glance through the template's wikitext doesn't clearly show that that template gets anything from wikidata. Clearly, it gets data from Module:ISO 3166 which also does not appear to get anything from wikidata.  To resolve issues with , your next stop is Template talk:Infobox settlement.  Write a simple question; do not obfuscate with unnecessary detail as you did here.
 * —Trappist the monk (talk) 14:42, 28 October 2020 (UTC)
 * —Trappist the monk (talk) 12:08, 28 October 2020 (UTC)
 * Thanks. Yes, I spent hours, more than four, just to find the question.  So that's fine now.  But I don't know what is the point of WikidataCoord when it does the same think as coord? PS only four of your answers are printed!
 * The other question is why is the internal gubbins of infobox settlement ignoring the parameters from coord / wikidatacoord and instead make up stupid from here and there wikidata – region is not put in third- and fourth-order so they're insisting (wrongly) from a higher order one; and type:city is ludicrously, completely wrong, while dim: is ignored even though it's true. Not Samuel Pepys (talk) 13:35, 28 October 2020 (UTC)
 * This module was created in May 2016; before support for qid was added to Module:Coordinates in November 2018.
 * What do you mean by: PS only four of your answers are printed!
 * I am not familiar with, but a cursory glance through the template's wikitext doesn't clearly show that that template gets anything from wikidata. Clearly, it gets data from Module:ISO 3166 which also does not appear to get anything from wikidata.  To resolve issues with , your next stop is Template talk:Infobox settlement.  Write a simple question; do not obfuscate with unnecessary detail as you did here.
 * —Trappist the monk (talk) 14:42, 28 October 2020 (UTC)
 * —Trappist the monk (talk) 12:08, 28 October 2020 (UTC)
 * Thanks. Yes, I spent hours, more than four, just to find the question.  So that's fine now.  But I don't know what is the point of WikidataCoord when it does the same think as coord? PS only four of your answers are printed!
 * The other question is why is the internal gubbins of infobox settlement ignoring the parameters from coord / wikidatacoord and instead make up stupid from here and there wikidata – region is not put in third- and fourth-order so they're insisting (wrongly) from a higher order one; and type:city is ludicrously, completely wrong, while dim: is ignored even though it's true. Not Samuel Pepys (talk) 13:35, 28 October 2020 (UTC)
 * This module was created in May 2016; before support for qid was added to Module:Coordinates in November 2018.
 * What do you mean by: PS only four of your answers are printed!
 * I am not familiar with, but a cursory glance through the template's wikitext doesn't clearly show that that template gets anything from wikidata. Clearly, it gets data from Module:ISO 3166 which also does not appear to get anything from wikidata.  To resolve issues with , your next stop is Template talk:Infobox settlement.  Write a simple question; do not obfuscate with unnecessary detail as you did here.
 * —Trappist the monk (talk) 14:42, 28 October 2020 (UTC)
 * What do you mean by: PS only four of your answers are printed!
 * I am not familiar with, but a cursory glance through the template's wikitext doesn't clearly show that that template gets anything from wikidata. Clearly, it gets data from Module:ISO 3166 which also does not appear to get anything from wikidata.  To resolve issues with , your next stop is Template talk:Infobox settlement.  Write a simple question; do not obfuscate with unnecessary detail as you did here.
 * —Trappist the monk (talk) 14:42, 28 October 2020 (UTC)
 * I am not familiar with, but a cursory glance through the template's wikitext doesn't clearly show that that template gets anything from wikidata. Clearly, it gets data from Module:ISO 3166 which also does not appear to get anything from wikidata.  To resolve issues with , your next stop is Template talk:Infobox settlement.  Write a simple question; do not obfuscate with unnecessary detail as you did here.
 * —Trappist the monk (talk) 14:42, 28 October 2020 (UTC)