Description Usage Arguments Value Examples
View source: R/geolinecompare_diff.R
This function calculates the length difference between a sf LINESTRING on WGS84 and the equirectangular projection
1 |
x |
object of class geolinecompare |
length in meter
1 2 3 4 5 | random_matrix <- matrix(c(runif(30, -90, 90), runif(30, -180, 180)), nrow=10, ncol=2)
random_line <- sf::st_linestring(random_matrix)
random_line <- sf::st_sfc(random_line, crs = 4326)
random_line_comp <- geolinecompare(random_line)
geolinecompare_diff(random_line_comp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.