powered by
Extract the Projection from a (virtual) raster file
proj_info_extract(path_to_raster, verbose = FALSE)
a character string with the projection information
a valid path to a raster file
a boolean. If TRUE then information will be printed out in the console
require(PlanetNICFI) pth_vrt = system.file('data_files/virt_rast.vrt', package = "PlanetNICFI") proj_info = proj_info_extract(path_to_raster = pth_vrt)
Run the code above in your browser using DataLab