Create lines, polygons, and collections
wk_linestring(handleable, feature_id = 1L, ..., geodesic = NULL)
wk_polygon(handleable, feature_id = 1L, ring_id = 1L, ..., geodesic = NULL)
wk_collection(
handleable,
geometry_type = wk_geometry_type("geometrycollection"),
feature_id = 1L,
...
)
wk_linestring_filter(handler, feature_id = 1L)
wk_polygon_filter(handler, feature_id = 1L, ring_id = 1L)
wk_collection_filter(
handler,
geometry_type = wk_geometry_type("geometrycollection"),
feature_id = 1L
)
A geometry vector (e.g., wkb()
, wkt()
, xy()
,
rct()
, or sf::st_sfc()
) for which wk_handle()
is defined.
An identifier where changes in sequential values indicate a new feature. This is recycled silently as needed.
Passed to the wk_handle()
method.
Use TRUE
or FALSE
to explicitly force
the geodesic-ness of the output.
An identifier where changes in sequential values indicate a new ring. Rings are automatically closed. This is recycled silently as needed.
The collection type to create.
A wk_handler object.
An object of the same class as handleable
with
whose coordinates have been assembled into the given
type.