getNlTiles: Create mapping of nightlight tiles

Description Usage Arguments Value Examples

View source: R/tiles.R

Description

Creates a data.frame mapping nightlight tile names to their vertice coordinates. This is used to identify nightlight tiles as well as to build a spatial polygons dataframe used to plot the tiles. OLS only has one tile for the whole world and thus has a dummy entry. OLS is included to prevent code duplication by writing separate functions for OLS.

Usage

1
getNlTiles(nlType)

Arguments

nlType

the nlType of interest

Value

A data.frame of names of tiles and lon-lat coordinate of top-left corner of each

Examples

1
2
3
Rnightlights:::getNlTiles("VIIRS.M")

Rnightlights:::getNlTiles("OLS.Y")

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.