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., wkb(), wkt(), xy(), rct(), or sf::st_sfc()) for which wk_handle() is defined.

handler

A wk_handler object.

...

Passed to the wk_handle() method.

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]