Learn R Programming

Rnightlights (version 0.2.4)

getTilesCtryIntersectVIIRS: Get a list of tiles that a country polygon intersects with

Description

Create a dataframe mapping each country in the rworldmap to the VIIRS tiles which they intersect with and thus need to be retrieved to process their nightlight imagery. Since some functions use this dataframe for long-term processing, omitCountries can eliminate countries that should be excluded from the list hence from processing. Countries can be added in the omitCountries function. Default is "none".

Usage

getTilesCtryIntersectVIIRS(ctryCode)

Arguments

ctryCode

The country's ISO3 code

Value

None

Examples

Run this code
# NOT RUN {
Rnightlights:::getTilesCtryIntersectVIIRS("KEN")

# }

Run the code above in your browser using DataLab