Created
October 23, 2017 09:29
-
-
Save BobHarper1/97e673110c3df4b5ec049ae746aa2382 to your computer and use it in GitHub Desktop.
Irish Grid TM75 to WGS84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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