Python coding transformation problem
I am trying to convert from Helmert1906 to WGS84 and i added the 7 parameters but doesn’t work , Can you help me to fix it
import pyproj
print(pyproj.version)
print(pyproj.proj_version_str)
p = pyproj.Proj(“+proj=tmerc +lat_0=30 +lon_0=31 +k=1 +x_0=615000 +y_0=810000 +ellps=helmert+towgs84=-121.8,98.1,-10.7,0,0,0.554,00.2263 +units=m +no_defs”)
inProj = pyproj.Proj(init=’epsg:22992′)
outProj = pyproj.Proj(init=’epsg:4326′)
x1, y1 = (810000, 615000)
lon, lat = p(x1, y1, inverse=True)
print(lon,lat)
Log in to reply.