wk_problems | R Documentation |
The problems handler returns a character vector of parse
errors and can be used to validate input of any type
for which wk_handle()
is defined.
wk_problems(handleable, ...)
wk_problems_handler()
handleable |
A geometry vector (e.g., |
... |
Passed to the |
A character vector of parsing errors. NA
signifies
that there was no parsing error.
wk_problems(new_wk_wkt(c("POINT EMTPY", "POINT (20 30)")))
wk_handle(
new_wk_wkt(c("POINT EMTPY", "POINT (20 30)")),
wk_problems_handler()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.