Don, > The colortable is apparently not preserved when using crop() from the > raster package. This is something I would find useful.
I agree. Color table support is relatively recent and it is ignored by most functions (and hence lost when using crop). That needs improvement. > (also, is there a better way to set the colortable?) No, there are no functions for that yet. So you'll have to do that by hand. Thanks for pointing this out. Robert -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/cropping-in-raster-package-loses-color-table-tp6075534p6075542.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo