Rdocumentation
powered by
Learn R Programming
tmaptools (version 1.2)
get_proj4: Get a PROJ.4 character string
Description
Get full PROJ.4 string from an existing PROJ.4 string, a shortcut, or a
CRS
object.
Usage
get_proj4(x, as.CRS = FALSE)
Arguments
x
a projection. One of:
a
PROJ.4
character string
a
CRS
object
an EPSG code
one the following shortcuts codes:
as.CRS
should a CRS object be returned instead of a PROJ.4 character string? Default is
FALSE
.
Value
validated PROJ.4 character string, or, if
as.CRS=TRUE
a
CRS
object.
See Also
http://en.wikipedia.org/wiki/List_of_map_projections
for a overview of projections.
http://trac.osgeo.org/proj/
for the
PROJ.4
project home page. An extensive list of
PROJ.4
codes can be created with rgdal's
make_EPSG
.