## simple function to check that a given WKT string is valid
## prior to v1.25 this was an ALA4R-specific (and not very comprehensive)
## function
## as of v1.25 we rely on wellknown::lint
check_wkt <- function(wkt) {
assert_that(is.string(wkt)) ## leave for consistency with older code
wellknown::lint(wkt)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.