GRASS logo

Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

NAME

g.proj.identify - Autoidentifies EPSG code from WKT CRS definition.

KEYWORDS

general, projection, EPSG, WKT, .prj

SYNOPSIS

g.proj.identify
g.proj.identify --help
g.proj.identify [-pws] [wkt=name] [epsg=integer] [--help] [--verbose] [--quiet] [--ui]

Flags:

-p
Print projection info in Proj4 format
-w
Print projection info in WKT format
-s
Save as default EPSG in the current location
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

wkt=name
Name of input file with WKT definition
epsg=integer
Input EPSG code

Table of contents

DESCRIPTION

g.proj.identify allows to automaticaly identify the EPSG code from a given Well-Know Text (WKT) projection string stored in a file. The user can also print the EPSG code of the current location. The conversion from a given EPSG code to WKT and proj4 is supported.

EXAMPLE

# print EPSG code of current Location - use without parameters
g.proj.identify

# identify EPSG code from WKT definition stored in file 'myproj.wkt'
g.proj.identify wkt=myproj.wkt

# print WKT and proj4 for given EPSG code, independent from current location
g.proj.identify -p -w epsg=4326

SEE ALSO

g.proj, m.proj, r.proj, v.proj

AUTHORS

Matej Krejci, OSGeoREL at the Czech Technical University in Prague, developed during Google Summer of Code 2015 (mentors: Martin Landa)

SOURCE CODE

Available at: g.proj.identify source code (history)

Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

Main index | General index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual