Template talk:Oscoor

From Wikipedia, the free encyclopedia

Template:Oscoor is permanently protected from editing, as it is a heavily used or visible template.

Substantial changes should be proposed here, and made by administrators if the proposal is uncontroversial, or has been discussed and is supported by consensus. Use {{editprotected}} to attract the attention of an administrator in such cases.
Any contributor may edit the template's documentation to add usage notes, categories or interwiki links.

Contents

[edit] Irish Grid Reference

Get-a-map for Irish grid refrences exists see clifden it uses the A to Y notation followed Km North and East.

but is not yet supported by template:oscoor for example, see Giant's Causeway --Red King 17:12, 12 May 2005 (UTC)

[edit] Which alternative?

The instructions above say use one of the templates which use this one, but cites no examples. Andy Mabbett 13:24, 6 September 2005 (UTC)

There is good list of them at template talk:gbmapping but for the definitive list use Whatlinkshere and then your browser's search facility to find "late:". -- RHaworth 16:35:31, 2005-09-06 (UTC)

[edit] Use from external website

It would be wonderful to be able to use this (or something like it) from an external website, so that the link would be to, say

http://en.wikipedia.org/Oscoor?SK123456

which would return the Wikipedia page with links to the various mapping services (and thereby promote Wikipedia!). Andy Mabbett 13:27, 6 September 2005 (UTC)

The present external destination is liable to change without notice. But I intend to keep
http://www.rhaworth.myby.co.uk/oscoor_a.htm?SK176462_region:GB (more interesting than SK123456 - [1])
available indefinitely and compatible with the present parameters. To underscore this, I have just changed Elmbridge to use it. Feel free to use - it helps my Google rating! -- RHaworth 16:25:28, 2005-09-06 (UTC)
If you want to feel a little more independant of my site, and especially if you are creating lots of links:
That way, if anything happens and oscoor_a.htm moves for some reason, you will only have one file that needs changing. On the minus side, this means that you will have not one but two layers of back button breaking improper redirects. (Sorry I aint got into any other sort of scripts yet.) -- RHaworth 23:07:26, 2005-09-06 (UTC)

I've finally (!) gotten around to copying the page as you suggest, and it works well. Thank you very much. I've updated all the links on the main "county" pages on http://www.westmidlandbirdclub.com/ and will do the stragglers as I as I revisit the pages. I've also added a "noscript" section, for people without JavaScript enabled. The back button works fine, in Firefox 2. Andy Mabbett 13:22, 31 March 2007 (UTC)

  • A new tool. I have taken RHaworthcode, rewritten parts and added a new user interface. See here. This was in response to the need to add inline co- ord templates to the page River Bourne, where both the OSGB and WGS84 were needed to maintain compatibility with page and the reference book, I did not want to go serverside. I have posted a beta version and am open to suggestion for improvements.ClemRutter (talk) 22:58, 25 November 2007 (UTC)


[edit] Link to geograph

Can you add in link to Geograph (UK photographs of every 1km grid square) Using their browse.php seems to take an OS Grid ref

eg. http://www.geograph.co.uk/browse.php?gridref=SK176462 to use the example above.

As the photos are under {{cc-by-sa-2.0}} they can be used in articles

-- Elwell 11:28, 26 September 2005 (UTC)

  • Now done - and it did not require an edit to a protected page. -- RHaworth 06:27, 16 January 2006 (UTC)

[edit] datum

For those interested in fine detail, be aware that the lat/long calculated by this resource are for the OSGB 36 datum. This will give slight errors if they are used in resources that expect WGS 84. For example if we ask multimap to show us Mavis Enderby using her grid reference directly we get this. But if we do it via oscoor (select the "Multimap - with circle (using lat/long)" option) the circle falls about 100 metres away.

Fortunately Template:coor assumes that lat/long are in OSGB 36 when it converts them back to a Grid Ref, so we do not get any "drift". -- RHaworth 06:27, 16 January 2006 (UTC)

This means that Template:Oscoor, and all the templates that use it, e.g. Template:gbmapping, are of little use if you want to pinpoint the exact location of a building or street. And it means that the grid references generated via Template:coor are also inaccurate by 100m or so. However, User:The Anomebot2 (a bot) is correctly converting grid references found within articles into WGS-84 latitude/longitude in Template:coor title d. Such articles then contain two geo refs which are displayed as about 100 metres apart.
What are needed are routines to convert OSGB36 lat/longs to and from WGS-84 lat/longs.--Dr Greg 18:23, 15 March 2007 (UTC)
This conversion uses a Helmert Transform. See http://www.movable-type.co.uk/scripts/LatLongConvertCoords.html, or http://www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents/, for example. --Dr Greg 12:47, 16 March 2007 (UTC)
See discussion at WT:GEO here, which includes links to re-usable code. The OSGB36 output is already linking to the wrong spot on GoogleMaps and WikiMapia. If GeoHack is upgraded to do what it claims it does (ie translate from WGS84), this will result in it linking OSGB36 output to the same wrong spot on Streetmap etc (and the Grid refs won't be round-tripping properly).
So can we change the {{oscoor}} back end, to give WGS84 co-ordinates? Jheald (talk) 14:15, 26 November 2007 (UTC)

[edit] Interwiki

If the external resource is moved, it will be necessary also to change:

[edit] Category

Why is this template not in Category:Coordinates templates? --Hroðulf (or Hrothulf) (Talk) 11:55, 9 October 2006 (UTC)