raster icon indicating copy to clipboard operation
raster copied to clipboard

.tif.aux.xml no longer generated in raster version 3.6-3

Open mariekecf opened this issue 3 years ago • 1 comments

In raster version 3.5-15 when I saved a raster with label values (i.e. county names) it would generate a .tif.aux.xml file. After updating to raster version 3.6-3 the .tif.aux.xml is no longer generated. Below is a generic example of the code I'm running. I can reproduce this on a Linux server and a Windows laptop. Thanks!

newraster <- rasterize(sf_item, raster_item)
writeRaster(newraster, "newraster.tif") 
# no .tif.aux.xml file is generated

mariekecf avatar Oct 06 '22 22:10 mariekecf

What is the functionality that you are looking for? That is, what is lost for you when that file is not there? Also, can you provide a reproducible example, otherwise it may be difficult to help.

rhijmans avatar Oct 16 '22 04:10 rhijmans

When you can, please let me know what the missing functionality is so that I may be able to address that.

rhijmans avatar Oct 28 '22 23:10 rhijmans