Click or drag to resize
IrishRef Class Home

Class to represent an Irish National Grid reference.

Irish National Grid

  • Projection: Transverse Mercator
  • Reference ellipsoid: Modified Airy
  • Units: metres
  • Origin: 53°30'N, 8°W
  • False co-ordinates of origin: 200000m east, 250000m north

Inheritance Hierarchy

Namespace:  DotNetCoords
Assembly:  DotNetCoords (in DotNetCoords.dll) Version: (
public sealed class IrishRef : CoordinateSystem

The IrishRef type exposes the following members.

Public methodIrishRef(String)
Take a string formatted as a six-figure Irish grid reference (e.g. "N514131") and create a new IrishRef object that represents that grid reference.
Public methodIrishRef(LatLng)
Create an IrishRef object from the given latitude and longitude.
Public methodIrishRef(Double, Double)
Create a new Irish grid reference using a given easting and northing. The easting and northing must be in metres and must be relative to the origin of the Irish National Grid.
Public propertyDatum
Gets the datum.
(Inherited from CoordinateSystem.)
Public propertyEasting
Gets the easting in metres relative to the origin of the Irish Grid.
Public propertyNorthing
Gets the northing in metres relative to the origin of the Irish Grid.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToLatLng
Convert this Irish grid reference to a latitude/longitude pair using the Ireland 1965 datum. Note that, the LatLng object may need to be converted to the WGS84 datum depending on the application.
(Overrides CoordinateSystemToLatLng.)
Public methodToSixFigureString
Return a String representation of this Irish grid reference using the six-figure notation in the form X123456
Public methodToString
Return a String representation of this Irish grid reference showing the easting and northing in metres.
(Overrides ObjectToString.)
See Also