Skip to content

Instantly share code, notes, and snippets.

@BobHarper1
Created October 23, 2017 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BobHarper1/97e673110c3df4b5ec049ae746aa2382 to your computer and use it in GitHub Desktop.
Save BobHarper1/97e673110c3df4b5ec049ae746aa2382 to your computer and use it in GitHub Desktop.
Irish Grid TM75 to WGS84
from pyproj import Proj, transform
def irish_to_wgs84(northing, easting):
prj_tm75 = Proj(init='epsg:29902')
prj_wgs84 = Proj(proj='latlong', datum='WGS84')
x, y = transform(prj_tm75, prj_wgs84, northing, easting)
return x, y
print(irish_to_wgs84(248264, 442542))
## -6.9927979, 53.709714
## http://spatialreference.org/ref/epsg/tm75-irish-grid/
## https://irish.gridreferencefinder.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment