This function populates a spatialRaster element with the required elements by reading a local raster file in. The coord_name argument can be found by examining the data.frame that get_coord_list() returns against the proj4string of the raster file.

eml_get_raster_metadata(path, coord_name = NULL, attributes)

Arguments

path

(char) Path to a raster file

coord_name

(char) horizCoordSysDef name

attributes

(dataTable) attributes for raster