wk_example: Create example geometry objects
Description
Create example geometry objects
Usage
wk_example(which = "nc", crs = NA, geodesic = FALSE)wk_example_wkt
Value
A wkt()
with the specified example.
Format
An object of class list
of length 29.
Arguments
- which
An example name. Valid example names are
"nc" (data derived from the sf package)
"point", "linestring", "polygon", "multipoint",
"multilinestring", "multipolygon", "geometrycollection"
One of the above with the "_z", "_m", or "_zm" suffix.
- crs
An object that can be interpreted as a CRS
- geodesic
TRUE
if edges must be interpolated as geodesics when
coordinates are spherical, FALSE
otherwise.