readLegend: Read a legend from a file

Description Usage Arguments

View source: R/style.R

Description

Read a legend from a csv file, with four columns: Value (with pixel values), Label (with pixel labels), Short (with short names to be used when one wants to refer to the pixel values), and Color (strings with hexadecimal values, such as #1e33f4). This function returns a tibble with these four columns.

Usage

1
readLegend(legend_file = NULL)

Arguments

legend_file

A csv file with the legend. As default, it uses the sits brazil legend.


pedro-andrade-inpe/sits.validate documentation built on Dec. 4, 2019, 3:02 p.m.