powered by
Get the list a VIIRS tiles that a polygon intersects with
tilesPolygonIntersectVIIRS(shpPolygon)
a SpatialPolygon or SpatialPolygons
Character vector of the intersecting tiles as given by getNlTiles("VIIRS")
# NOT RUN { ctryShapefile <- dnldCtryPoly("KEN") ctryPoly <- rgdal::readOGR(getPolyFnamePath("KEN"), getCtryShpLyrName("KEN",0)) tileList <- tilesPolygonIntersectVIIRS(ctryPoly) # } # NOT RUN { # }
Run the code above in your browser using DataLab