Re: [R-sig-Geo] Wrong layer names written with writeRaster() (package raster)

2013-09-10 Thread Robert J. Hijmans
Correct me if I am wrong, but it is my impression that GDAL does not support names for bands; so there would be to directly write these via (r)gdal. I am not sure if GeoTiff supports the concept. In the case of ENVI, I suppose it would be possible to add the band names to the hdr file; but the rast

[R-sig-Geo] Wrong layer names written with writeRaster() (package raster)

2013-09-05 Thread Agustin Lobo
Envi and GTiff files (at least) do not keep the names of the brick object: > require(rgdal) Loading required package: rgdal rgdal: version: 0.8-10, (SVN revision 478) Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 1.10.0, released 2013/04/24 Path