Template:GBfromIEgrid/doc

From Wikishire
Revision as of 22:21, 23 February 2020 by RB (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A series of templates can be used to convert grid references in the Great Britain grid or the Irish grid between the standard letter-and-numbers format and the all-numeric format. {{GBfromIEgrid}} converts an Irish grid reference into the eastings and northings of the GB grid reference, roughly. (It is very much a simplified formula and does not provide an exact location because the two grids use projections on different bases, but it should be good enough for the mapping used here.)

The relevant templates are:

  • {{IegridNum}}: converts and Irish grid ref into all numeric format:
    • {{IegridNum|E}} gives the easting
    • {{IegridNum|N}} gives the northing
  • {{GBfromIEgrid}}
  • {{IeZero}}: converts an Irish grid reference to an artificial numeric Easting ({{IeZero|E}}) or Northing ({{IeZero|N}}) on the Irish Grid given a nominal E-N origin (at the centre of the dome of the Customs House in Dublin). This is a halfway-point template, for the purpose only of feeding figures {{GBfromIEgrid}}.