Extract the Projection from a (virtual) raster file

proj_info_extract(path_to_raster, verbose = FALSE)

Arguments

path_to_raster

a valid path to a raster file

verbose

a boolean. If TRUE then information will be printed out in the console

Value

a character string with the projection information

Examples


require(PlanetNICFI)

pth_vrt = system.file('data_files/virt_rast.vrt', package = "PlanetNICFI")

proj_info = proj_info_extract(path_to_raster = pth_vrt)