Debug filters and handlers
wk_debug(handleable, handler = wk_void_handler(), ...)
wk_debug_filter(handler = wk_void_handler())
A geometry vector (e.g., wkb()
, wkt()
, xy()
,
rct()
, or sf::st_sfc()
) for which wk_handle()
is defined.
A wk_handler object.
Passed to the wk_handle()
method.
The result of the handler
.
wk_debug(wkt("POINT (1 1)"))
#> initialize (dirty = 0 -> 1)
#> vector_start: <Unknown type / 0>[1] <0x7ffd36789d40> => WK_CONTINUE
#> feature_start (1): <0x7ffd36789d40> => WK_CONTINUE
#> geometry_start (<none>): POINT[UNKNOWN] <0x7ffd36789bd0> => WK_CONTINUE
#> coord (1): <0x7ffd36789bd0> (1.000000 1.000000) => WK_CONTINUE
#> geometry_end (<none>) => WK_CONTINUE
#> feature_end (1): <0x7ffd36789d40> => WK_CONTINUE
#> vector_end: <0x7ffd36789d40>
#> deinitialize
#> NULL
wk_handle(wkt("POINT (1 1)"), wk_debug_filter())
#> initialize (dirty = 0 -> 1)
#> vector_start: <Unknown type / 0>[1] <0x7ffd36789d40> => WK_CONTINUE
#> feature_start (1): <0x7ffd36789d40> => WK_CONTINUE
#> geometry_start (<none>): POINT[UNKNOWN] <0x7ffd36789bd0> => WK_CONTINUE
#> coord (1): <0x7ffd36789bd0> (1.000000 1.000000) => WK_CONTINUE
#> geometry_end (<none>) => WK_CONTINUE
#> feature_end (1): <0x7ffd36789d40> => WK_CONTINUE
#> vector_end: <0x7ffd36789d40>
#> deinitialize
#> NULL