Get a reference CRS from rasters in a directory

get_crs(dir)

Arguments

dir

is a path to a directory of rasters

Value

the CRS character string