por_transformation_sf {tectonicr} | R Documentation |
Conversion between PoR to geographical coordinates of spatial data
Description
Transform spatial objects from PoR to geographical coordinate reference system and vice versa.
Usage
PoR_to_geographical_sf(x, PoR)
geographical_to_PoR_sf(x, PoR)
Arguments
x |
|
PoR |
Pole of Rotation. |
Details
The PoR coordinate reference system is oblique transformation of the geographical coordinate system with the Euler pole coordinates being the translation factors.
Value
sf
or SpatRast
object of the data points in the
transformed geographical or PoR coordinate system
Examples
data("nuvel1")
PoR <- subset(nuvel1, nuvel1$plate.rot == "na") # North America relative to Pacific plate
data("san_andreas")
san_andreas.por <- geographical_to_PoR_sf(san_andreas, PoR)
PoR_to_geographical_sf(san_andreas.por, PoR)
[Package tectonicr version 0.3.2 Index]