Is it possible to get a projection’s verbose name using the EPSG code?
Using the GetEpsgParametersString method I can get the projections parameter string. However, I would like to return the projection name.
For example: GetEpsgParametersString(26716) returns "+proj=utm +zone=16 +ellps=clrk66 +datum=NAD27 +units=m +no_defs"
Is there a method that would return the name “NAD27 / UTM zone 16N” as displayed on the spatialreference.org site?
Get Projection Name
Hi Rudolph,
I check all the methods on Projection and didn’t find a way to get the projection name directly, but there is a way to get all the projection string and the string seems include the projection name. Please try the below method:
ManagedProj4Projection.ConvertEpsgToPrj(26716)
Then you can get its projection string: PROJCS[“NAD_1927_UTM_Zone_16N”,GEOGCS[“GCS_North_American_1927”,DATUM[“D_North_American_1927”,SPHEROID[“Clarke_1866”,6378206.4,294.978698213901]],PRIMEM[“Greenwich”,0],UNIT[“Degree”,0.017453292519943295]],PROJECTION[“Transverse_Mercator”],PARAMETER[“latitude_of_origin”,0],PARAMETER[“central_meridian”,-87],PARAMETER[“scale_factor”,0.9996],PARAMETER[“false_easting”,500000],PARAMETER[“false_northing”,0],UNIT[“Meter”,1]]
Hope it helps.
Regards,
Troy
Thanks Troy for the information
Hi Rudolph,
You are welcome.
If more queries, don’t hesitate to let us know.
Regards,
Troy