SameCRS: Ensure that two Spatial* objects have the same CRS

Description Usage Arguments Value

Description

Checks whether or not two objects have the same spatial reference. If not, one of them is transformed to match the other.

Usage

1
SameCRS(spgeom1, spgeom2)

Arguments

spgeom1

Spatial* object that will be evaluated and transformed if necessary

spgeom2

Spatial* object that will not be transformed (reference CRS)

Value

a Spatial* object with the same CRS as spgeom2


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.