Jump to content

Template talk:GeoGroup

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]
Permanently on what basis? Per user? Or can I control it from the Wikipedia article? Kerry (talk) 21:36, 18 August 2024 (UTC)[reply]
Certainly I have never enabled clustering yet I was seeing clusters. Kerry (talk) 21:37, 18 August 2024 (UTC)[reply]
It's controlled per user within OSM. According to the Settings drop-down, the settings are 'permanently stored in cookies', so they last as long as the cookies do. I think it is a pity that the default is to use clustering, which makes it different from the previous behaviour, but each user can disable it (if they try out the icons). -- Verbarson  talkedits 23: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]
Please add a topic with your pain points here, you can write in English for sure. DB111 (talk) 09:40, 19 August 2024 (UTC)[reply]
I have created a topic there listing all the points raised in this and the previous topic. -- Verbarson  talkedits 11:34, 19 August 2024 (UTC)[reply]