plot.rsgeo: Plot Geometries

View source: R/compat.R

plot.rsgeoR Documentation

Plot Geometries

Description

Plot Geometries

Usage

## S3 method for class 'rsgeo'
plot(x, ...)

Arguments

x

an object of class rsgeo

...

arguments passed to wk::wk_plot()

Details

Plotting geometries utilizes wk::wk_plot(). The rust geometries are handled by first converting to an sfc object in the wk::wk_handle() method thus requiring both packages for plotting.

Value

Nothing.

Examples

if (rlang::is_installed(c("sf", "wk"))) {
  plot(geom_linestring(1:10, runif(10)))
}

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