get_proj4

0th

Percentile

Get a PROJ.4 character string

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:
  1. a PROJ.4 character string
  2. a CRS object
  3. an EPSG code
  4. 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.

Aliases
  • get_proj4
Documentation reproduced from package tmaptools, version 1.0, License: GPL-3

Community examples

Looks like there are no examples yet.