Nothing
context("wkt projection")
test_that("conversion to wkt results in longlat data", {
skip_on_cran()
shpfile <- mr_shp(key = "MarineRegions:eez_iho_union_v2", read = FALSE)
x <- rgdal::readOGR(dirname(shpfile), gsub("\\.shp", "", basename(shpfile)), verbose = FALSE)
suppressWarnings(x1 <- sp::spTransform(x, "+proj=laea +ellps=WGS84 +lon_0=2.5 +lat_0=51.6"))
suppressWarnings(wkt <- mr_as_wkt(x1))
## should not see a number like this
expect_match(wkt, 'GEOMETRYCOLLECTION')
expect_match(wkt, 'POLYGON')
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.