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

ursaCRSR Documentation

Coordinate Reference System (CRS) for raster images.

Description

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

Usage

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

Arguments

x

ursaCRS object in function print.

object

ursaCRS object in function str.

...

Further arguments passed to generic functions print, and str.

Value

Functions print information about CRS and return invisible NULL value.

Author(s)

Nikita Platonov platonov@sevin.ru

Examples

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)

nplatonov/ursa documentation built on May 8, 2024, 6:02 p.m.