Template talk:Gbmapping

Not working
This template appears not to be working - leads to a page of random symbols. This applies to the examples in the documentation as well as to usage in articles such as Leeds Country Way. Does anyone know whether this is a temporary glitch, or whether the template is defunct? It is transcluded in a lot of articles - certainly 500+, didn't look beyond that. PamD (talk) 22:25, 22 January 2009 (UTC)
 * looks ok on Leeds Country way from here. Pit-yacker (talk) 19:55, 23 January 2009 (UTC)
 * Yes, for me too - but was definitely playing up last night! Thanks for looking at it. PamD (talk) 00:07, 24 January 2009 (UTC)

Noticed this morning: this template and a couple of related ones, link to a site refusing access. That surely is wrong or broken. The problem effects several pages I've tried, which leads me here. I have no solution. Northfield (talk) 09:29, 8 August 2009 (UTC)

Odd inaccuracy
Following the link for,  takes me to http://stable.toolserver.org/geohack/geohack.php?pagename=Template_talk%3AGbmapping&params=51.915874531785_N_-2.8672768351309_E_region%3AGB_scale%3A25000 which includes SO4035524553 (all-numeric format: 340356 224553) on the British national grid reference system. Surely SO40442450 should map to SO4044024500, shouldn't it? --Cavrdg (talk) 18:13, 27 July 2009 (UTC)
 * I think I can see the problem. The shift from SO4044024500 to SO4035524553 is 85 m west and 53 m north.  This is almost exactly size of the datum shift between OSGB 36 and WGS 84 in that part of the country.  Basically, I think the geohack tool is failing to do a Helmert transform (or a better approximation) to shift between the two co-ordinate systems.  This should probably be reported to the author/maintainer of the geohack tool.  —ras52 (talk) 17:11, 28 July 2009 (UTC)

Template goes to a redirect

 * The template does not go directly to Ordnance Survey National Grid. Hektor (talk) 15:45, 10 January 2012 (UTC)

Full URL on printed pages
If I select 'printable page' from the toolbox, or right-click and request 'print', using Firefox 3.6.2 or Chrome, the whole url gets included alongside any gbmapping grid refs, which really mangles any lists or infoboxes. It doesn't do it in ME8, and the 'download to pdf' doesn't do it either. Template:Coord doesn't have the same problem, and it would seem that in coord/link is the bit that deals with it.(However I notice it also removes the blue arrow symbol) For example: Would it solve the problem for all the pages that use these templates if the span class could be added to the templates? RobinLeicester (talk) 20:49, 30 January 2012 (UTC)
 * This grid ref is within the span class
 * And this one is just within standard text.
 * Here is a coord example for comparison52.6853°N, -1.24699°W

Edit request on 3 June 2012 for Template:Gbmaprim
please append after. this will add documentation and categories to the Template:Gbmaprim template.

Frietjes (talk) 19:42, 3 June 2012 (UTC)
 * Why not add ? That would be consistent with the others in this group, for which a shared doc page has already been set up. -- Red rose64 (talk) 18:39, 6 June 2012 (UTC)
 * The problem with this method is that separate categories and interwikis are not easy to set up. But perhaps that it not needed in this case. &mdash; Martin (MSGJ · talk) 19:53, 10 June 2012 (UTC)
 * I'm deactivating this request because there has been no response for 3 days and I'm not sure which method is needed here. &mdash; Martin (MSGJ · talk) 20:14, 13 June 2012 (UTC)

Please implement as per Redrose64. DH85868993 (talk) 07:52, 19 August 2012 (UTC)
 * Yes check.svg Done see . -- Red rose64 (talk) 12:54, 19 August 2012 (UTC)
 * Pictogram voting comment.svg Note: The technique found at Template:Merge/doc carries the interlanguage links for Template:Merge from and Template:Merge to in addition to those for Template:Merge. We could do the same here. -- Red rose64 (talk) 12:51, 19 August 2012 (UTC)

403: User account expired
Tried using this template for Reculver today, it led to a Toolserver.org error notice "403: User account expired". Anyone know what gives? Nortonius (talk) 10:10, 7 May 2014 (UTC)
 * Have you informed ? -- Red rose64 (talk) 10:59, 7 May 2014 (UTC)
 * I have the matter in hand. An error described as "cosmetic" was preventing me from renewing. I have requested re-instatement. &mdash; RHaworth (talk · contribs) 11:10, 7 May 2014 (UTC)
 * Ah great, thanks RHaworth; good suggestion but no, I just thought if RHaworth were around they'd respond here. Cheers all. Nortonius (talk) 12:04, 7 May 2014 (UTC)


 * Same here - first sentence, and on around 4,000 pages. Can someone fix it please? Llywelyn2000 (talk) 09:04, 16 September 2014 (UTC)
 * Please can someone take a look at this on cywiki, as we have hundreds of malfunctioning links! Many thanks. 2.28.216.58 (talk) 18:21, 2 March 2015 (UTC)
 * I copied some of the code from Template:OS coord to cy:Nodyn:OS coord, see this edit, although I forgot the :en: prefix in the edit summary link back here. -- Red rose64 (talk) 19:57, 2 March 2015 (UTC)
 * Many thanks, once again - our Welsh Knight in shining armour! Llywelyn2000 (talk) 07:53, 4 March 2015 (UTC)

Bypass redirect
This template generates a piped link to grid reference, where the piping is actually a redirect to Ordnance Survey National Grid. Could it please be changed to go directly to the target - there's no advantage in retaining this very old (since 2010) redirect. Colonies Chris (talk) 21:04, 19 April 2016 (UTC)
 * Yes check.svg Done &mdash; Martin (MSGJ · talk) 22:07, 19 April 2016 (UTC)

Converting grid references to coordinates
I use a Natural England source which gives locations as TL 932 367 and insert in  °N, °W. I then insert the grid reference into 'Gridref' to get the location in coords. This is time consuming and prone to error. Is there any way of automating the conversion? Dudley Miles (talk) 18:56, 25 April 2017 (UTC)
 * Not sure what you are asking for here. Please give an example of an edit which could have been made easier by your suggestion. -- Red rose64 &#x1f339; (talk) 10:42, 27 April 2017 (UTC)
 * In  °N, °W I have a grid ref of TL 932 367 for Arger Fen which I insert against gbmapping. I then insert the grid reference in Gridref] and check the coordinates, which I transfer to complete the coord, reducing to 2 or 3 decimal places as editors object to excessively precise coords, as 51.986|0.812. This gives  51.986°N, 0.812°W  . Is there any way to simplify this process? Thanks. Dudley Miles (talk) 11:04, 27 April 2017 (UTC)
 * Sorry, don't understand? Which article are you editing? It's always best if you provide a diff of the edit in question. -- Red rose64 &#x1f339; (talk) 20:28, 27 April 2017 (UTC)
 * I was editing my sandbox, which has now gone live as List of Local Nature Reserves in Suffolk. A sample diff is . For Haverhill Railway Walks: (1) I copied the grid reference from the Natural England Details page at . (2) I pasted the grid reference into . (3) I also pasted the grid reference to the Gridref program to get the coords. (4) I then noted the coords to 2 or 3 decimal places (in this case to 2 places as it is a long narrow site) and inserted them in °N, °W . This gave:
 * 52.08°N, 0.46°W
 * Sorry I did not make myself clear and I hope I have done now. Thanks. Dudley Miles (talk) 22:49, 27 April 2017 (UTC)
 * Might be worth asking for a script -, is this in your area of expertise? -- Red rose64 &#x1f339; (talk) 18:54, 29 April 2017 (UTC)
 * The conversion is non-trivial, I use a perl module to perform it. All the best: Rich Farmbrough, 19:29, 29 April 2017 (UTC).


 * Thanks. At least I know that I am not missing out on an obvious fix. Dudley Miles (talk) 20:18, 29 April 2017 (UTC)

gbmapscaled
gbmapscaled has a page template:gbmapscaled, but the content is documentation for gbmapping and the talk page redirects here?? There is no documentation to explain this strange construction that I have just found: Anyone know what might be [might have been] intended? Any reason why I shouldn't just swap it out for a simple  given that the infobox that it is being used in has a standard mapframe? --John Maynard Friedman (talk) 14:59, 13 May 2021 (UTC)
 * It seems to be valid usage. is a front end for  where the first parameter is the grid ref; the second param is the scale in thousands, so 25 sets a scale of 1:25000; and the third param is the text to display in the link. So  is exactly equivalent to  which produces . For information on   and , see Template:Coord and Template:Coord. -- Red rose64 &#x1f339; (talk) 18:48, 13 May 2021 (UTC)
 * Thank you,, that was what I needed to know. It would be nice if that info could be added to the template doc or better still the gbmapscaled template given its own doc page.--John Maynard Friedman (talk) 19:58, 13 May 2021 (UTC)