Skip to contents

Helper function to find raster extension

Usage

match_rformat(format)

Arguments

format

(character) any of the format names allowed for raster objects. Options are: "GTiff", "ascii", "EHdr", "SAGA", "IDRISI", "CDF", "ENVI", and "HFA".

Value

Raster extension according to format type.

Examples

match_rformat("GTiff")
#> [1] ".tif"