R/check_wkt.R

Defines functions check_wkt

## 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)
}

Try the ALA4R package in your browser

Any scripts or data that you put into this service are public.

ALA4R documentation built on July 12, 2021, 9:07 a.m.