as_rsgeo: Convert to an 'rsgeo' vector

View source: R/utils.R

as_rsgeoR Documentation

Convert to an rsgeo vector

Description

Given an vector of geometries, cast it as an rsgeo class object.

Usage

as_rsgeo(x)

Arguments

x

a geometry vector

Value

an object of class rsgeo

Examples


x <- sf::st_sfc(sf::st_point(c(0,0)))
as_rsgeo(x)


rsgeo documentation built on Sept. 9, 2023, 1:07 a.m.