Description Usage Arguments Value Examples
Get the list a VIIRS tiles that a polygon intersects with
1 | tilesPolygonIntersectVIIRS(shpPolygon)
|
shpPolygon |
a SpatialPolygon or SpatialPolygons |
Character vector of the intersecting tiles as given by getNlTiles
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
#download shapefile if it doesn't exist
ctryShapefile <- Rnightlights:::dnldCtryPoly("KEN")
#read in shapefile top layer
ctryPoly <- readCtryPolyAdmLayer("KEN",
Rnightlights:::getCtryShpLyrNames("KEN",0))
#get list of intersecting tiles
tileList <- Rnightlights:::tilesPolygonIntersectVIIRS(ctryPoly)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.