Template talk:GeoGroup/Archive 2

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

"Export all coordinates as GPX" doesn't work because of a certificate error

The Export all coordinates as GPX feature under Map all coordinates using OSM which points to https://tripgang.com/kml2gpx/ doesn't work because of a SEC_ERROR_EXPIRED_CERTIFICATE on tripgang.com (example under List of airports in Myanmar). --katpatuka (talk) 09:59, 26 April 2017 (UTC)

Katpatuka It does work, you have to bypass the error message. --Bouzinac (talk) 19:28, 18 September 2017 (UTC)
I see ;) --katpatuka (talk) 04:14, 2 October 2017 (UTC)

Blank screen

Hi, y'all. When I click on Map all coordinates using Google on the List of West Virginia state parks, it returns a blank screen at this URL. Open Streets works fine. Ping me back. Having fun! Cheers! {{u|Checkingfax}} {Talk} 08:57, 7 December 2017 (UTC)

Is there a limit to the number of coords it will display?

I have added some additional coords to Brisbane River over the past day but some of them are not displaying in Google Maps. I count 25 pins in the map but there are 32 uses of the coord template in the article and it is the first 7 coords in the article which don't display, some of which are new but others (the two in the infobox) were previously in the article. Kerry (talk) 22:51, 11 December 2017 (UTC)

It seems to be displaying all of them OK in Open Street Map, so the problems seems to be Google Maps specific. Kerry (talk) 22:53, 11 December 2017 (UTC)

Microform.at links and simplified template style

I made some changes to the sandbox template (see Template:GeoGroup/testcases) and would like to get opinions and approval to update the actual template. Firstly, it was brought up on this talk page in September 2017 that the microform.at website no longer exists so the last two links ("Map all microformatted coordinates" and "Place data as RDF") have not been working at least since then. I propose removing these links until someone can find an alternative that works. Secondly, I did some stylistic tweaks to the template, namely getting rid of all the redundant text and also using the full "OpenStreetMap" and "Google Maps" names for clarity. I also got rid of the collapsing and after all the changes the template is smaller and simpler. - Samuel Wiki (talk) 07:38, 20 January 2018 (UTC)

I, for one, like the proposed changes. Thanks for taking this on! --Delirium (talk) 15:39, 20 January 2018 (UTC)
Improved clarity, less repetition, same functionality. I think it is an improvement! —EncMstr (talk) 17:21, 20 January 2018 (UTC)

Please transfer code from sandbox to actual template. Samuel Wiki (talk) 02:12, 26 January 2018 (UTC)

 Done — Martin (MSGJ · talk) 10:18, 26 January 2018 (UTC)

Ask for help: Broken GeoGroup links on cswiki

Hello, on Czech Wikipedia we have an issue with our GeoGroup template. The template is correct, urls are correct, but sometimes (only sometimes) both the osm4wiki tool (OSM link) and the wp-world tool (Google Maps link) give broken output, as you can see here or here. If you find a GeoGroup template on these pages and click on OSM link, you get broken encoding, but map shows correctly. If you click on Google Maps link, there is no map shown. If you click on Export... link (kmlexport tool), the link is also correct, but the resulting KML is blank. Do you know, what could be the problem? Is there some bug in kmlexport tool (used by all three links)? It happens only for some Czech Wikipedia pages, not for all pages using our GeoGroup template. --Dvorapa (talk) 01:02, 5 February 2018 (UTC)

OpenStreetMap Not working

On many pages that I have tried this on, the OSM integration does not work :(. Here is an example link: https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=en&article=List_of_New_Jersey_state_parks . I unfortunately do not have much more debugging steps. Acebarry (talk) 16:13, 4 March 2018 (UTC)

What do you mean by "does not work"? I see a list, starting with "State parks/Allaire State Park" and ending with "State-owned historic sites/#56", in a box on the left side and a map of the east coast, centered on New Jersey, with lots of blue pins on the right side. --Tim Landscheidt (talk) 16:45, 4 March 2018 (UTC)
I am not able to see any map. I am able to see the list of points, but not where they lay on a map. 19:22, 8 March 2018 (UTC) — Preceding unsigned comment added by Acebarry (talkcontribs)
Which browser are you using? The map works for me with Google Chrome/Android and Firefox 58.0.2/Linux. --Tim Landscheidt (talk) 02:34, 9 March 2018 (UTC)

Google Maps not working

In contrast to the section just above, today, I am getting an HTTP 404 error for the Google Maps link, but Open Street Map is working fine. Does anyone know what to fix? Thanks. --Scott Davis Talk 11:02, 3 August 2018 (UTC)

See Template talk:Attached KML. TheDragonFire (talk) 14:32, 2 October 2018 (UTC)

Coordinates for all places of a municipality with their boundary visible

screenshot of the boundary (municipality Igersheim); see OSM-relation 401807

Hello, I'm looking for a template "coord"/"GeoGroup" which includes the coordinates of all places of a municipality and their boundary visible (together). Can anyone help with a solution? Triplec85 (talk) 20:43, 20 January 2019 (UTC)

actual (is)

Example: Igersheim:

Igersheim with the districts Bernsfelden, Harthausen, Igersheim, Neuses and Simmringen.

+ boundary

See here: https://www.openstreetmap.org/relation/401807 = boundary of Igersheim (municipality)

target (should)

Target: Template "Coord"/"GeoGroup" for Igersheim with the coordinates of all places and the boundary of the municipality!

Does anyone have a solution for this problem? Is this technically possible (coordinates of all places of a municipality and their boundary visible) with the current template? Greetings from Germany Triplec85 (talk) 20:25, 20 January 2019 (UTC)

@Triplec85: You could use a {{Mapframe}} map to display several point features along with a boundary line. - Evad37 [talk] 09:52, 21 January 2019 (UTC)
@Evad37:can you give an example of how it looks like in this case? I have no experience with {{Mapframe}}. Triplec85 (talk) 08:40, 22 January 2019 (UTC)

As an example with just the first three points:

Map
Places in Igersheim
{{maplink |frame=yes |frame-coord={{coord|49.52|9.84}} |zoom=10 |text=Places in [[Igersheim]]
|type=line |id=Q61925 |title=Igersheim |description=municipality
|type2=point |coord2={{coord|49.5631|9.8928}} |title2=Bernsfelden |description2=village
|type3=point |coord3={{coord|49.5726151|9.8318481}} |title3=Bowiesen |description3=hamlet
|type4=point |coord4={{coord|49.5576700|9.8957366}} |title4=Hagenhof |description4=hamlet
}}

You can add as many different features as needed, and adjust styles, frame size, etc using parameters described at Template:Maplink#Parameters - Evad37 [talk] 08:56, 22 January 2019 (UTC)

@Evad37: Thank you Triplec85 (talk) 21:10, 31 January 2019 (UTC)

Tool not working

Google maps was taken off this template some time ago and OpenStreetMap and KML have not worked for several days. Firefox and Internet Explorer block GPX as insecure. Is this very useful template now defunct? I see it is back now. Dudley Miles (talk) 11:44, 21 March 2019 (UTC)

Broken again. ―Mandruss  08:56, 6 April 2019 (UTC)

Now at Wikipedia:Village pump (technical)#GeoGroup broken, albeit with what appears to be a different symptom from that described by the OP. ―Mandruss  09:35, 8 April 2019 (UTC)

Getting "Bad gateway" when I try to test Wrecks of HMS Erebus and HMS Terror National Historic Site Kerry (talk) 06:36, 8 October 2019 (UTC)

#1 being displayed as the first entry

I am not sure what I am doing wrong or whether it is an infobox problem, but when I look at the OSM generated for the town Quilpie, Queensland (and anywhere else in Qld), I see pins on the map and a legend that names all of them (organised by section) except for the first one (the pin for the central of Quilpie itself) which appears named as #1. How can I make this say "Quilpie" or better still "centre of Quilpie" or whatever I'd like it to say? This coord is defined within the {{Infobox Australian place}} (unlike all the others which appear in the body of the article). Thanks Kerry (talk) 14:40, 1 January 2020 (UTC)

pin colour

Is there any way I can get the pins on the OSM map to be in different colour? E.g. automatically using the type in the coord (edu, city, railwaystation, etc) or set by me in some way? Thanks Kerry (talk) 14:43, 1 January 2020 (UTC)

GPX

GPX gives a message "Warning: Potential Security Risk Ahead" and refuses to open. Is this a bug? Dudley Miles (talk) 20:46, 16 April 2020 (UTC)

Articlee?

Really? --Lineagegeek (talk) 20:58, 24 April 2020 (UTC)

OSM link broken

The OSM link is currently broken with a 308 error. Unless the current link can be un-broken, I suggest we switch to wikimap.toolforge.org (example). It doesn't seem to have the ability to handle sections (@DB111: is that correct) but it would still be better as a temporary solution than the dead link. Pi.1415926535 (talk) 01:38, 9 July 2020 (UTC)

I could fix the 308 thing (new toolforge URLs), but it seems to be something more broken, e.g. project=en links give empty results. And yes, WikiMap doesn't parse the article but uses the GeoData API which is a lot faster so it cannot handle sections but has other features as subcategory handling. --DB111 (talk) 12:10, 9 July 2020 (UTC)
If you consider to replace/complement the current OSM tool in the future, here some WikiMap usage examples:
https://wikimap.toolforge.org/?page=Category:Natural_monuments&lang=en (displays a category)
https://wikimap.toolforge.org/?page=Category:Natural_monuments&lang=en&subcats=true&subcatdepth=3 (displays a category incl. 3 levels of subcategories)
https://wikimap.toolforge.org/?page=List_of_tallest_buildings_in_New_York_City&lang=en (displays article's coordinates)
--DB111 (talk) 22:22, 10 July 2020 (UTC)

I've done some testing of the wikimap URL and it seems to work well enough. OSM is almost completely dead for me at this point. Mackensen (talk) 11:11, 16 July 2020 (UTC)

Inline and title coordinates in infoboxes

I am trying to use this template to display hospital articles in Category:WikiProject Hospitals articles. The only articles display are those with only coordinates in title and not inline. It does not display articles with coordinates showing both 'inline and in the title, as recommended by the Infobox hospital template. The coordinates template is included in the Infobox hospital. When I change the coordinates in the article to just display=title, the article is not immediately displayed in the map. Is there a way to make this template work with both coordinates inline and in the title? Is there a latency to updating coordinates that would delay generating maps with recently updated articles? WP:HOS -- Talk to G Moore 15:06, 18 July 2020 (UTC)

No updating coords

Hi, It seems that template don't update coordinates added to articles. I made some tests in preview mode in some articles and it doesn't add the new coordinates to the OSM map. Please, could somebody review that? Bye, Elisardojm (talk) 11:32, 19 June 2020 (UTC)

I found that the system collects co-ordinates from the live article and so will not be current when previewing. — GhostInTheMachine talk to me 18:54, 28 July 2020 (UTC)

Doesn't work

@Evad37: This template no longer shows coordinates contain within an article. See National Register of Historic Places listings in Dakota County, Minnesota, as an example. It only shows the title coordinates. It used to show all the coordinates in an article. What changed. -- Talk to G Moore 01:27, 20 July 2020 (UTC)

Also tried this on the example in Netherton Tunnel Branch Canal and it doesn't work, either. -- Talk to G Moore 13:01, 20 July 2020 (UTC)

different colours?

Is it possible to use this or a related template to show the markers coloured into multiple categories? My example use is List of wind farms in South Australia which has coordinates for operating, under construction, proposed and cancelled wind farms. It would be good to show all of these on one map (as now) but coloured by their actual status so the cancelled and proposed ones are different to the ones actually built. The wind farms that have not been built still give an indication of where the wind might be suitable, so I don't want to remove them completely.

This might need the {{coord}} template to be modified to carry an extra status/colour parameter, so could be a major exercise if we don't want a hack such as the first character of the name codes the colour (and legend group) if that option is turned on in this template.

Is there a better place to put this as an enquiry or feature request? --Scott Davis Talk 10:37, 22 October 2020 (UTC)

Maybe a reference to here at WP:VPT ? — GhostInTheMachine talk to me 11:35, 22 October 2020 (UTC)

GPX option seems to be broken

I don't use the download options myself (I am more interested in seeing the OpenStreetMap display) but someone reported to me that the GeoGroup I recently added to a specific article had a problem but it seems to be a problem with any use of the template. No idea if this is a recent problem or a long-term one. Thanks Kerry (talk) 04:33, 23 February 2021 (UTC)

To expand on this, in both Koumala, Queensland and Kowanyama,_Queensland I have encountered this: At the top is a recently added box which contains a line "Download coordinates as: KML · GPX" If I click on the KML I am asked what I want to use to load .KML files - I have no idea but when clicking on the GPX, I get "404. That’s an error. The requested URL /kml2gpx/http%3A%2F%2Ftools.wmflabs.org%2Fkmlexport%3Farticle%3DKowanyama%252C_Queensland?gpx=1 was not found on this server. That’s all we know." Using Kowanyama as example.Fleet Lists (talk) 05:08, 23 February 2021 (UTC)
I have removed the GPX link for now, until one of the template maintainers is able to find a workaround. — Martin (MSGJ · talk) 12:09, 24 February 2021 (UTC)

Proposed addition of Mapframe/maplink maps

Module:Mapframe now has the ability to show named coordinates from a source page/section (but not category) as point markers on an interactive map. I'm proposing to add to this template the option to show a maplink/mapframe map, as per my recent edits to the sandbox – see Template:GeoGroup/testcases. It is currently set to be off by default, and turned on by setting |mapframe=yes or |maplink=yes. - Evad37 [talk] 14:18, 5 July 2020 (UTC)

 Done - Evad37 [talk] 01:30, 9 July 2020 (UTC)
In light of the OSM link breakage reported in the section below, perhaps the maplink map should be on by default - Evad37 [talk] 02:00, 9 July 2020 (UTC)
@Evad37: - great idea! Is it possible to use in this article? The links work, but the map (adding |mapframe=yes) somehow doesn't for me? ɱ (talk) 23:11, 29 July 2020 (UTC)
Seems to be working now ... — Martin (MSGJ · talk) 17:38, 25 February 2021 (UTC)
@Evad37: same for List of lighthouses in Pakistan. It would be great if the maplink could work on here. — Martin (MSGJ · talk) 17:37, 25 February 2021 (UTC)

Navbox

Is it possible to apply GeoGroup to a Navbox, eg {{Brunel}}? If not, would that be a possible enhancement? --Verbarson (talk) 20:50, 7 May 2021 (UTC)

Ampersand in section passed to maplink causes failure

I have asked a question about this template at Wikipedia:Help desk § Ampersand in section passed to maplink Verbarson (talk) 20:20, 8 December 2021 (UTC)

Recursive category contents

Option level doesn't seem to work anymore. Is this a fault of the target script or performance precaution? For testing, I went to Category:Shield_volcanoes, started editing, added |level=1, but with the link from preview, Grizzly Butte (from subcategory Category:Monogenetic shield volcanoes) still wouldn't show up. In the target URL &l=1 was added, so the option appears to do something, but to no effect. --Passatizhey (talk) 11:59, 9 February 2021 (UTC)

I had the same/similar problem trying to add {{GeoGroup}} (with level=0) to Category:Isambard Kingdom Brunel. It didn't recurse. I could add it to lower-level categories, and it would show a map for a single level OK. I assume that it should work in normally preview? I never published it as it didn't do what I was expecting. --Verbarson (talk) 10:31, 8 May 2021 (UTC)
We could switch from osm4wiki tool to WikiMap also used on c:Template:GeoGroup (Example 1 / Example 2). The level parameter won't work again in osm4wiki I assume, WikiMap has a subcatdepth parameter (default:5). --DB111 (talk) 14:06, 8 January 2022 (UTC)
WikiMap is better, but starts missing points, see my comments on Duplicate Points below. I see from http://de.wikipedia.org/wiki/user:DB111/Tools you are the author, perhaps you could check it out?Vicarage (talk) 10:31, 10 January 2022 (UTC)

Duplicate Points

The list of points need to be run through a uniq filter, as its all too common for the same page to appear twice as a double set of points, because co-ordinates were quoted twice in the same article. See https://osm4wiki.toolforge.org/cgi-bin/wiki/wiki-osm.pl?project=en&article=Category%3APalmerston_Forts

The list of unresolved problems suggests the script has been abandoned, and I couldn't find a support page for it anywhere else Vicarage (talk) 09:29, 23 October 2021 (UTC)

Maybe we can use WikiMap instead of osm4wiki: https://wikimap.toolforge.org/?lang=en&wpcat=Palmerston_Forts. --DB111 (talk) 14:07, 8 January 2022 (UTC)
Its certainly better, as it handles sub-categories, but its not perfect, as pages in 2 sub-categories are displayed twice., and some pages are missing. See https://wikimap.toolforge.org/?lang=en&wpcat=Fortifications%20in%20England and note that Southsea Castle (in Portsmouth) is shown twice because its a Castle and a Device Fort. Also the category should include https://wikimap.toolforge.org/?lang=en&wpcat=Forts%20in%20Hampshire 2 levels down, but forts in Gosport (the other side of the harbour to Portsmouth) are not being shown, though they do appear in the intermediate category https://wikimap.toolforge.org/?lang=en&wpcat=Forts%20in%20England.
using the subcatdepth parameter does not help, see https://wikimap.toolforge.org/?lang=en&wpcat=Fortifications%20in%20England&subcatdepth=10 Vicarage (talk) 10:31, 10 January 2022 (UTC)
In fact the subcatdepth parameter only specifies the levels (default:5), subcats=true enables sub-levels by itself: https://wikimap.toolforge.org/?lang=en&wpcat=Fortifications%20in%20England&subcats=true&subcatdepth=10 --DB111 (talk) 16:08, 12 January 2022 (UTC)
You might want to have the presence of subcatdepth implying subcats. But even with both options, Gosport is still missing many forts I'm afraid. Vicarage (talk) 18:18, 12 January 2022 (UTC)
That's maybe because of categorization, so Gosport is only in https://wikimap.toolforge.org/?lang=en&wpcat=Fortifications_in_the_United_Kingdom&subcats=true (needs some time) or https://wikimap.toolforge.org/?lang=en&wpcat=Forts_in_England&subcats=true --DB111 (talk) 14:11, 13 January 2022 (UTC)
I think you are right. I added Category:Forts in England to Category:Fortifications in England and the Gosport forts appear. Have you an opinion of the double display of sites that end up in the map through 2 different routes, as pretty much all do in the area, as they are in a geographical category Category:Forts in Hampshire) and a descriptive one, Category:Palmerston Forts. My preference would be that sites only appear once, perhaps with all categories mentioned, or just an arbitrary one picked. Vicarage (talk) 17:22, 13 January 2022 (UTC)
Sounds good, I changed the output to just one marker per site, although an arbitrary category is displayed right now. --DB111 (talk) 20:00, 13 January 2022 (UTC)
Gosh, that was quick. It looks a lot better now. We still get double display if a place is in a 'List of pages' with one set of coordinates, and as a separate page in its own right, but there is nothing you can do about that. Have you considered making the Category: line a hyperlink? With all the extra stuff in your documentation, like the KML stuff, I think you have a strong claim to replace the existing mapping system, which while it might have (too) many maps, just isn't being supported. BTW, could WikiMap be used on other mediawiki based wikis, as my obsession with forts is because I'm taking content from Wikipedia and other sources and displaying it with hand-rolled maps using the maps extension, and your approach could give me a lot more flexibility. See http://fortbase.johnbray.org.uk/Southsea_Castle. Vicarage (talk) 20:44, 13 January 2022 (UTC)
Another good idea, implemented. Great project! Yet I have no plans to extend beyond the WMF infrastructure, e.g. am I using project's tile servers for the base maps. --DB111 (talk) 23:57, 13 January 2022 (UTC)

Using anchor as name

See Rivers of Lake County, California, which avoids geostubs by letting the stub names redirect to list entries. It has several lists where each entry has with coordinates. {{GeoGroup}} (below the main infobox to the right) just names the entries as #1, #2, #3 etc., which is not much use Each of the list entries has an {{anchor}} giving the name of the river. Could GeoGroup pick out the anchor in a list entry that also has a coord, and display the anchor name? Aymatth2 (talk) 16:55, 16 April 2022 (UTC)

You can use the coord name parameter for this. --DB111 (talk) 16:36, 31 July 2022 (UTC)
Great! That works. Aymatth2 (talk) 22:32, 31 July 2022 (UTC)

list of articles, but also some standalone ((coord)) or a section

if an article covers 2 locations, i.e. it uses 2 inline coord and no display=title coord it cannot be added to a geogroup that references a list of articles.

so in addition to the article list, i would like to also include a section parameter. Nowakki (talk) 07:54, 20 October 2022 (UTC)

different colors for the markers

i would like to display 2 classes of things simultaneously.

different size for the markers would also be nice. Nowakki (talk) 13:07, 28 October 2022 (UTC)

Problem at the South Pole

The GeoGroup in List of highest astronomical observatories does not work correctly for the observatory at the South Pole, at 90°00′S 0°00′E / 90.000°S 0.000°E / -90.000; 0.000 (Amundsen-Scott South Pole Station Martin A. Pomerantz Observatory). Accessing OpenStreetMap via the GeoGroup link causes the pin for the South Pole to appear in an arbitrary place, which moves as you zoom in and out. Accessing OpenStreetMap directly from the coord link works correctly. This looks like a bug – is there a valid workaround? Verbcatcher (talk) 05:29, 17 February 2023 (UTC)

Suppressing coordinates

Would it be possible to add a parameter to a {{coord}} entry that would make {{GeoGroup}} skip it? This is to deal with a problem in Category:Towns in Texas which includes Groom, Texas, which in turn has a valid {{coord}} for a related location in Spain. "...Many claim this cross to be the largest in the Western Hemisphere. However, it is smaller than the cross erected in the Valle de los Caídos in Spain, located at 40°38′29″N 04°09′26″W / 40.64139°N 4.15722°W / 40.64139; -4.15722 and elevated 500 feet (152.4 m) overground..." Aymatth2 (talk) 17:57, 14 February 2022 (UTC)

Remove the coord and just link to Valle de los Caídos instead. --87.158.47.224 (talk) 08:47, 23 February 2022 (UTC)
Done. Maybe there is sometimes value in coords like this that do not directly relate to the article topic, but this is not one. Aymatth2 (talk) 16:56, 16 April 2022 (UTC)
This problem actually arises in Commons, where a photo subject (person, animal, artifact) from one place is photographed in another. The picture creates a misleading distant dot on the maps for the subject's home categories. Jim.henderson (talk) 12:06, 3 April 2023 (UTC)

Template appears to process coordinates templates inside HTML comments, which it should not do

Please see this discussion for details. – Jonesey95 (talk) 22:49, 7 May 2023 (UTC)

OSM link not working?

The OSM link hasn't been working for me the past few days - the list of locations appears in the left pane, but the right pane is blank. Not sure if the tool linked to is broken, being fixed, or just not working for me? Warofdreams talk 23:03, 18 May 2023 (UTC)

Service is now back up. Warofdreams talk 00:18, 21 May 2023 (UTC)

Microformats: time to remove all mentions?

The current GeoGroup documentation mentions microformats as follows:

  • (struck through) "Export Microformatted coordinates from the Wikipedia page in a GeoRSS file. (No longer working)"
  • (struck through) "Export place data in an RDF file. (No longer working)"
  • and, under "Usage":
"Inline coordinates can be associated with a name using {{Coord}} with the |name= parameter, such as:
{{coord|1|2|type:landmark|name=Interesting uncharted point in the sea}}
However, do not use the |name= parameter when the coordinates are within a parent template or table which emits a microformat, such as an infobox."

Question: Is microformatting, or emission of microformats, at all in use? And if not, shouldn't that dictum in "Usage" be eliminated. If it is in use, then does that make sense, anyhow? I believe that the dictum is ignored in practice, i.e. that perhaps no one editing infoboxes (that involve microformats or not) is even aware of the dictum.

Background: Many years ago, provisions for use of microformats in infoboxes and elsewhere was proposed and rolled out (overly aggressively IMHO). At the time I myself did not believe there ever was any programmer or other user, anywhere, that used microformat emissions, and I never heard of any usage by anyone, for any purpose, thereafter (and a few times I did google searches). And subsequently, wikidata was invented and became a thing, and it may have completely replaced whatever microformats were supposed to do. Can everything about microformats be dropped from Wikipedia now? In particular can/should the mentions of microformat in GeoGroup documentation be dropped?

--Doncram (talk,contribs) 20:36, 2 July 2023 (UTC)