simplegeom | R Documentation |
A simple geom is a simple set of geometries specified locally. See
webgeom
for web features.
simplegeom(.Object, ...)
## S4 method for signature 'missing'
simplegeom(.Object, ...)
## S4 method for signature 'ANY'
simplegeom(.Object, ...)
.Object |
any object that can be coerced into simplegeom |
... |
additional arguments passed to |
the simplegeom object
Jordan S Read
simplegeom(c(-88.6, 45.2))
p1 <- sf::st_polygon(list(cbind(c(-89.0001,-89,-88.9999,-89,-89.0001),
c(46,46.0001,46,45.9999,46))))
p2 <- sf::st_polygon(list(cbind(c(-88.6,-88.5999,-88.5999,-88.6,-88.6),
c(45.2,45.2,45.1999,45.1999,45.2))))
P <- simplegeom(
sf::st_sf(geo = sf::st_sfc(list(p1, p2), crs = 4326))
)
## Not run:
result(geoknife(P, "prism", wait = TRUE))
## End(Not run)
simplegeom(data.frame('point1'=c(-89, 46), 'point2'=c(-88.6, 45.2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.