View source: R/geospatial_data_loading.R
Get a SpatialPolygons around a point
1 | get_pol(i, pts, dl = 1000, .crs = sp::CRS("+proj=longlat +datum=WGS84"))
|
i |
the indice of the requested points |
pts |
SpatialPoints |
dl |
a number of pixel added in all direction to the coordinates of the i-th point in order to create a square tile |
.crs |
a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.