Plot Geometries
Usage
# S3 method for 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.
Examples
if (rlang::is_installed(c("sf", "wk"))) {
plot(geom_linestring(1:10, runif(10)))
}