Description Usage Arguments Value Examples
Get list of cells in a given shape
1 |
shape |
(character) WKT representation of SRID 4326 polygon/multipolygon |
check_wkt |
(logical) validate WKT or not. Default: |
... |
curl options passed on to crul::HttpClient |
list of cell ids
1 2 3 4 5 6 7 8 9 10 11 12 | getcells("POLYGON ((-48.177685950413291 15.842380165289299,
-48.177685950413291 15.842380165289299,
-54.964876033057919 28.964280991735578,
-35.960743801652967 27.606842975206646,
-48.177685950413291 15.842380165289299))")
wkt <- "POLYGON((2.37 43.56,13.18 43.56,13.18 35.66,2.37 35.66,2.37 43.56))"
getcells(wkt)
wkt <-
"MULTIPOLYGON(((15 5,5 10,10 20,40 10,15 5)),((30 20,10 40,45 40,30 20)))"
getcells(wkt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.