wk-methods {geos} | R Documentation |
Compatibility with the wk package
Description
Compatibility with the wk package
Usage
## S3 method for class 'geos_geometry'
wk_handle(handleable, handler, ...)
geos_geometry_writer()
## S3 method for class 'geos_geometry'
wk_writer(handleable, ...)
Arguments
handleable |
A geometry vector (e.g., |
handler |
A wk_handler object. |
... |
Passed to the |
Value
The result of the handler
Examples
library(wk)
wk_handle(as_geos_geometry("POINT (1 2)"), wk::wkt_writer())
[Package geos version 0.2.4 Index]