GRASS logo

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 (mentor: Martin Landa)

SOURCE CODE

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

Latest change: Tuesday Nov 05 09:35:47 2024 in commit: f00067506253c89598cffadc3c7fa07cff7233fd


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

© 2003-2024 GRASS Development Team, GRASS GIS 8.5.0dev Reference Manual