I'm using pyproj
in python and I want to get epsg code based on an existing Proj
class. An example in version=1.9.6:
from pyproj import Proj
CGCS2000metre = Proj(init='EPSG:4544')
print(CGCS2000metre.srs)
# +units=m +init=epsg:4544
As you can see, I can find epsg code 4544
in the return result. But I can't do it in version==2.1.3:
from pyproj import Proj
CGCS2000metre = Proj(init='EPSG:4544')
print(CGCS2000metre.srs)
# +proj=tmerc +lat_0=0 +lon_0=105 +k=1 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs
I just want to get epsg code from an existing Proj
.
How can I get epsg code in pyproj with version==2.1.3? Thanks in advance.