[GRASS-user] Retrieve projection's EPSG code

Hi,

Is it possible to get the EPSG code of the active projection (if it exists)?

thank you
Panos

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.

On Feb 1, 2016 9:37 PM, “Panagiotis Mavrogiorgos” <pmav99@gmail.com> wrote:

Hi,

Is it possible to get the EPSG code of the active projection (if it exists)?

You may try this addon:

https://grass.osgeo.org/grass70/manuals/addons/g.proj.identify.html

Markus

On Tue, Feb 2, 2016 at 3:49 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Feb 1, 2016 9:37 PM, "Panagiotis Mavrogiorgos" <pmav99@gmail.com>
wrote:
>
> Hi,
>
> Is it possible to get the EPSG code of the active projection (if it
exists)?

You may try this addon:

https://grass.osgeo.org/grass70/manuals/addons/g.proj.identify.html

Markus

Thank you, both