Learn R Programming

ursa (version 3.11.1)

ursaCRS: Coordinate Reference System (CRS) for raster images.

Description

Class ursaCRS is a part of class ursaGrid. It defines map projection.

Usage

# S3 method for ursaCRS
print(x, ...)
# S3 method for ursaCRS
str(object, ...)

Value

Functions print information about CRS and return invisible NULL value.

Arguments

x

ursaCRS object in function print.

object

ursaCRS object in function str.

...

Further arguments passed to generic functions print, and str.

Author

Nikita Platonov platonov@sevin.ru

Examples

Run this code
session_grid(NULL)
a <- ursa_dummy()
crs <- ursa_crs(a)
print(c('Is proj4string used?'=p4 <- isTRUE(getOption("ursaProj4Legacy"))))
print(crs)
str(crs)
op <- options(ursaProj4Legacy=!p4)
print(c('Is proj4string used?'=p4 <- isTRUE(getOption("ursaProj4Legacy"))))
session_grid(NULL)
a <- ursa_dummy()
crs <- ursa_crs(a)
print(crs)
str(crs)
options(op)

Run the code above in your browser using DataLab