Learn R Programming

tmap (version 1.6-1)

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 PROJ.4 character string, a shortcut, or a CRS object. The following shortcuts are available:
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.