Learn R Programming

rsgeo (version 0.1.7)

as_rsgeo: Convert to an rsgeo vector

Description

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

Usage

as_rsgeo(x)

Value

an object of class rsgeo

Arguments

x

a geometry vector

Examples

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

Run the code above in your browser using DataLab