Description Usage Arguments Value Examples
View source: R/geolinecompare.R
This function takes a LINESTRING simple feature in WGS84 and creates its copy in an equirectangular projection as if the ellipsoidal coordinates are treated as metrics and not as spherical. It returns a list as s3 class geolinecompare
1 | geolinecompare(sfline_wgs84)
|
sfline_wgs84 |
a LINESTRING simple feature in WGS84 |
object of class geolinecompare
1 2 3 4 | 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)
geolinecompare <- geolinecompare(random_line)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.