[GRASS-user] Retrieve projection's EPSG code

Helmut Kudrnovsky hellik at web.de
Tue Feb 2 05:06:15 PST 2016


Panagiotis Mavrogiorgos wrote
> Hi,
> 
> Is it possible to get the EPSG code of the active projection (if it
> exists)?

if the location was created by an EPSG code, e.g. in the location wizzard:

g.proj -p                                                                       
-PROJ_INFO-------------------------------------------------
name       : Lat/Lon
proj       : ll
datum      : wgs84
ellps      : wgs84
no_defs    : defined
towgs84    : 0.000,0.000,0.000
-PROJ_EPSG-------------------------------------------------
epsg       : 4326
-PROJ_UNITS------------------------------------------------
unit       : degree
units      : degrees
meters     : 1.0




-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Retrieve-projection-s-EPSG-code-tp5248374p5248488.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list