Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.

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

SOURCE CODE

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

Latest change: Thu Feb 3 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c


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

© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual