Stars seems to plot geotifs with colours from a lookup table of some sort (some plot as b and w, some with colour). Does anyone know how to access the lookup table? My google skills are letting me down...
Stars seems to plot geotifs with colours from a lookup table of some sort (some plot as b and w, some with colour). Does anyone know how to access the lookup table? My google skills are letting me down...
@michcampbell possibly can't with stars, but maybe sf provides it
happy to explore if you have an example, I have *palette* geotiffs on hand but not raster attribute table, which sounds like you have RAT not pal - can you share the file? (it is a bit of a dusty corner, supported by GDAL but not exposed enough, I had to deep dive this last year but don't have examples) x <- sf::gdal_read(...) has x$color_tables which might have rat for other types