Learn R Programming

RSurvey (version 0.9.3)

SetCrs: GUI: Coordinate Reference System

Description

A graphical user interface (GUI) for specifying PROJ.4 arguments associated with a coordinate reference system (CRS). The arguments must be entered exactly as in the PROJ.4 documentation, in particular there cannot be any white space in +<arg>=<value> strings, and successive such strings can only be separated by blanks.

Usage

SetCrs(crs = sp::CRS(as.character(NA)), parent = NULL)

Arguments

crs

CRS. Coordinate reference system described using PROJ.4 arguments.

parent

tkwin. GUI parent window

Value

Returns an updated value of the crs argument.

See Also

CRS, checkCRSArgs

Examples

Run this code
# NOT RUN {
  SetCrs("+init=epsg:4326")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab