Closed Sibada closed 1 year ago
I normally put this into the reader functions (it avoids ruining non-file dsn):
f <- "~/image.tif"
if (file.exists(f)) {
f <- normalizePath(f)
}
# then proceed ...
but, I'd like to know why gdal doesn't just handle this - can you share your sessionInfo and the output of vapour_gdal_version()
please?
thanks, I fixed this across a lot of the exported functions
But when I using "/home/username/image.tif", it works.