Jump to content

Template talk:GeoGroup

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Kml)
WikiProject iconGeographical coordinates
WikiProject iconGeoGroup is of interest to WikiProject Geographical coordinates, which encourages the use of geographical coordinates in Wikipedia. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks.
Microformats
GeoGroup is part of, or of interest to, WikiProject Microformats, which encourages the deployment of microformats in Wikipedia, and documents them in the article space. If you would like to participate, visit the project page.

What am I missing?

[edit]

I used the GeoGroup function back when I was sorting Category:Central Province, Sri Lanka geography stubs about a year ago. It was dandy. Now I'd like to use it in some stub categories under Category:Pakistan geography stubs, but when I try to apply {{GeoGroup}} or {{GeoGroupTemplate}} to a category (such as Category:Populated places in Upper Kohistan District), I'm taken to an OSM page that shows "sorry, no data to show". (I get the same result on the categories I previously used it on in Category:Central Province, Sri Lanka geography stubs.) I've tried varying the parameters per the template/doc, to no avail. Is there another setting I need to use, or has the OSM URL in the code changed? Please help. Her Pegship (?) 18:32, 4 December 2023 (UTC)[reply]

You don't miss anything, this was a bug over months. --DB111 (talk) 13:11, 22 February 2024 (UTC)[reply]

GeoGroup not working

[edit]

It times out with an error message starting with "Webservice request timed out". Initially it did it on an article with many coords, but further testings shows it is not working on any article no matter how few coords. Kerry (talk) 01:51, 6 January 2024 (UTC)[reply]

Antarctica

[edit]

I have been expanding articles on mountain ranges and major glaciers in Antarctica to include lists of smaller features such as mountains, cliffs and tributary glaciers. The idea is to get rid of trivial little stubs, and put the information they hold into the context of a larger feature. Worcester Range is an example. I usually remember to add {{geogroup}}, which I find helpful to check for anomalies in the coordinates. But at first glance, what displays is just a scatter of pointers on a plain, pale blue background. The reader has to look very carefully to see there are some light grey regions where the mountains are. And they have to zoom in, zoom in further. and zoom in more to find a little red triangle where OpenStreetMap thinks the peak is, and zoom in further again to find the OpenStreetMap name.

Is there any way to add a parameter or parameters to {{GeoGroup}} to ask for greater contrast and more prominent feature symbols and names? Aymatth2 (talk) 14:08, 12 February 2024 (UTC)[reply]

GeoGroup doesn't seem to be working

[edit]

Clicking on the GeoGroup box in the rendered article isn't launching Open Street Map. However, Open Street Map itself seems to be working as normal. Not sure where to report this problem. Kerry (talk) 02:28, 15 February 2024 (UTC)[reply]

OSM4Wiki (the tool behind) isn't maintained very well anymore, so maybe replace (or complement) by WikiMap (which doesn't have "section" support), e.g. https://wikimap.toolforge.org/?lang=en&page=Paris
WikiMap has working "level" support (showing subcategories), broken in osm4wiki for years: {{#if: {{{level|}}}|&subcats=true&subcatdepth={{{level|}}}}} --DB111 (talk) 13:03, 22 February 2024 (UTC)[reply]
Having GeoGroup not working is quite a big loss. Where should that be reported in the hope that someone can work out a solution? Thanks! Underwaterbuffalo (talk) 14:56, 22 February 2024 (UTC)[reply]
Unfortunately (resp. with good reason) not everybody could change the template to switch the tool. --DB111 (talk) 16:07, 22 February 2024 (UTC)[reply]
Replace [https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=en&article={{urlencode:{{{articlee|{{{article|{{FULLPAGENAMEE}}}}}}}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}|&l={{urlencode:{{{level|}}}}}}} OpenStreetMap] with
[https://wikimap.toolforge.org/?lang=en&page={{urlencode:{{{articlee|{{{article|{{FULLPAGENAMEE}}}}}}}}}}{{#if:{{{level|}}}|&subcats=true&subcatdepth={{urlencode:{{{level|}}}}}}} OpenStreetMap] --DB111 (talk) 16:19, 22 February 2024 (UTC)[reply]
That does not work for me. See https://wikimap.toolforge.org/?lang=en&page=Saint+Johns+Range. But it seems as though GeoGroup works some of the time, just not all the time. Aymatth2 (talk) 17:20, 22 February 2024 (UTC)[reply]
Geogroup Screenshot from w:en:Saint Johns Range
Now GeoGroup is working. Maybe it is just running on an antique server that cannot handle the load. Aymatth2 (talk) 19:57, 22 February 2024 (UTC)[reply]
Not working for me. Try it on Indooroopilly, Queensland or [1] Kerry (talk) 23:39, 22 February 2024 (UTC)[reply]
Now it's working again! Hurrah! Thanks to anyone who helped make it happen! Kerry (talk) 07:24, 24 February 2024 (UTC)[reply]

Stopped working again. After a long delay, I see "Wikimedia Toolforge Error: Our servers are currently experiencing a technical problem. This is probably temporary and should be fixed soon. Please try again later." Aymatth2 (talk) 15:29, 12 March 2024 (UTC)[reply]

The template's feature "Map this section's coordinates using OpenStreetMap" is not working correctly; coordinates are not mapped at all (see Marcos mansions#List of current & former properties owned by the Marcos clan). Please fix it. Thanks. Sanglahi86 (talk) 22:14, 5 July 2024 (UTC)[reply]
Working for me, using both Chrome and Firefox, on Lubuntu Linux. Works with whole article or single section selection. Tested on List of Isle of Man railway lines and locations. -- Verbarson  talkedits 21:40, 6 July 2024 (UTC)[reply]
The Isle of Man railway lines are mapped, but the Marcos mansions coordinates are not. I'm using Chromium on Linux Mint. I cannot identify what is wrong with the coordinates in that article. Sanglahi86 (talk) 10:06, 7 July 2024 (UTC)[reply]
I think I've solved it by replacing the ampersand (&) in the section title. Maybe GeoGroup's underlying code is picky about special characters? -- Verbarson  talkedits 14:31, 7 July 2024 (UTC)[reply]
GeoGroup generates a URL that includes the section name, with & replaced by %26 (and space replaced by +) apparently following the percent-encoding process (specifically the application/x-www-form-urlencoded variant):
https://osm4wiki.toolforge.org/cgi-bin/wiki/wiki-osm.pl?project=en&article=Marcos_mansions&section=List+of+current+%26+former+properties+owned+by+the+Marcos+clan
(note: this URL will not work since the section has been renamed)
I guess that the code which interprets this URL fails to decode the encoded characters properly. -- Verbarson  talkedits 17:25, 7 July 2024 (UTC)[reply]

All GeoGroups are showing the same place in Germany?

[edit]

Initially I thought I must have made an error entering coordinates in the article I was working on, but it seems every GeoGroup I checked both in Australian articles and beyond is taking the reader to the same map of somewhere in Germany. Not sure if this is our problem or Open Street Maps. Kerry (talk) 02:24, 27 July 2024 (UTC)[reply]

I am currently working on OSM4Wiki. Some changes in Wikimedia forced me to activate the new version before it was bug-free. I even asked on several places to test the new version, but there was little feedback. Nobody told me "your tool does not work with GeoGroups". So please be patient. --Plenz (talk) 19:00, 31 July 2024 (UTC)[reply]
Thanks for fixing it! Kerry (talk) 07:55, 2 August 2024 (UTC)[reply]

A new weirdness today: First coord is duplicated

[edit]

GeoGroup is creating two "pins" on the map for the first coordinate it encounters in a lot of articles, e.g., Victoria Harbour (British Columbia). It seems to occur where the infobox has a coord set to "display=inline,title". Kerry (talk) 00:21, 12 August 2024 (UTC)[reply]

Fixed. DB111 (talk) 09:58, 14 August 2024 (UTC)[reply]

A couple more issues

[edit]

First, the GeoGroup is titled as "article" rather than the name of the article.

More importantly though, the grouping of the points into clustered is not helpful on most maps I create. For example, South Coast railway line, Queensland previously showed the reader all 20 stations along the route in sequence. Now they are unhelpfully clustered into 4 groups. I can imagine there are situations when clustering might be useful, but it's not for most of the maps I create, where I am trying to show the relative position of the points of interest to one another as an aid to understanding the geography of the area. Could the use of clusturing be made a parameter so it could be turned on when it suits the map for that article, but the default be the display of points as before. Thanks. Kerry (talk) 02:27, 18 August 2024 (UTC)[reply]

@Kerry: The clustering is controlled by the two pins/ellipse icon at the top of the location list on the map, and can be permanently set (via cookies) using the star icon to get a Settings menu. -- Verbarson  talkedits 09:36, 18 August 2024 (UTC)[reply]

Also the section headings are lost and therefore the ability to enable/disable display of that section

[edit]

For example with List of schools in Darling Downs, it was possible to know which schools were open/closed, primary/secondary and filter accordingly. Now those distinctions and that capability has disappeared.

Also, the map starts loading in Germany and with a spinning wheel. Can this be suppressed please.

Given that the GeoGroup template is used on very many articles, perhaps there is needs to be some discussion before changes are made. While they may suit some articles, they may not suit others and a conversation in advance to obtain consensus on what should be default and what optional etc. Thanks Kerry (talk) 02:37, 18 August 2024 (UTC)[reply]

Documentation is here on the German wiki. Google translate seems to give a clear translation, but I don't read German so I cannot be sure. -- Verbarson  talkedits 09:43, 18 August 2024 (UTC)[reply]