get_prj4s: Retrieve proj4 projection string.

Description Usage Arguments

View source: R/utils.R

Description

Provides a lookup list for default proj4 strings utilized. Users may also specify their own lookup list. Options also include providing either the EPSG, ESRI, or SR-ORG projection codes to retrieve the associated proj4 string from a web query from http://spatialreference.org. Definitions for proj4 string parmeters can be referenced here: http://proj4.org/parameters.html#parameter-list

Usage

1
2
get_prj4s(obj = NULL, prj_type = NULL, prj_code = NULL,
  prj4s_key = NULL)

Arguments

obj

Use object instead that has a predefined proj4 string.

prj_type

The projection type is either 'esri', 'epsg', or 'sr-org' or 'prj4s_key'.

prj_code

The projection code as an integer for EPSG, ESRI, or SR-ORG.

prj4s_key

Lookup key string identifying the default projection.


JGCRI/gcammaptools documentation built on May 4, 2018, 8 a.m.