Description Usage Arguments Examples
View source: R/trans-explicit.R
A wk_trans implementation that replaces coordinate values using a vector of pre-calculated coordinates. This is used to perform generic transforms using R functions and system calls that are impossible or impractical to implement at the C level.
1 | crs_trans_explicit(value, use_z = NA, use_m = NA)
|
value |
A vector of coordinates as a |
use_z |
Used to declare the output type. Use |
use_m |
Used to declare the output type. Use |
1 2 | trans <- crs_trans_explicit(wk::xy(1:5, 1:5))
wk::wk_transform(rep(wk::xy(0, 0), 5), trans)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.