spTransform: Function to transform the coordinate reference system of an...

Description Usage Arguments Details Value Examples

Description

Joint reprojection of entire sets of vector data.

Usage

1
2
3
4
5
## S4 method for signature 'SpatialStack,ANY'
spTransform(x, CRSobj, ...)

## S4 method for signature 'SpatialArray,ANY'
spTransform(x, CRSobj, ...)

Arguments

x

The SpatialStack or SpatialArray object.

CRSobj

A CRS class or character object defining a coordinate reference system.

...

Additional arguments.

Details

The function requires the rgdal package to run.

Value

A SpatialStack or SpatialArray object.

Examples

1
2
3
# load example data
data(coasts)
mollCoast <- spTransform(coasts, "+proj=moll")

chronosphere documentation built on April 19, 2021, 1:07 a.m.