Copy a geometry vector

wk_identity(handleable, ...)

wk_identity_filter(handler)

wk_restore(handleable, result, ...)

# Default S3 method
wk_restore(handleable, result, ...)

Arguments

handleable

A geometry vector (e.g., wkb(), wkt(), xy(), rct(), or sf::st_sfc()) for which wk_handle() is defined.

...

Passed to the wk_handle() method.

handler

A wk_handler object.

result

The result of a filter operation intended to be a transformation.

Value

A copy of handleable.

Examples

wk_identity(wkt("POINT (1 2)"))
#> <wk_wkt[1]>
#> [1] POINT (1 2)