rsgeo
R/utils.R
as_rsgeo.Rd
Given an vector of geometries, cast it as an rsgeo class object.
as_rsgeo(x)
a geometry vector
an object of class rsgeo
x <- sf::st_sfc(sf::st_point(c(0,0))) as_rsgeo(x) #> <rs_POINT[1]> #> [1] Point(Coord { x: 0.0, y: 0.0 }))