I am trying to follow the solution posted at Converting projected coordinates to lat/lon using Python to convert NZTM coordinates into WGS84.
I wrote following script to covert NZTM to WGS84:
from pyproj import Proj, transform
inProj = Proj(init='epsg:')
outProj = Proj(init='epsg:4326')
x1,y1 = 1400677.021,4914233.543
x2,y2 = transform(inProj,outProj,x1,y1)
print x2,y2
I am not sure what would be the epsg number for NZTM. I tried to find it online but could not make it.
What is the EPSG number for NZTM?
latitude, longitude = mytransform(1400677.021, 4914233.543)– alphabetasoup Jan 21 '21 at 08:56