Folks:

I was wondering if there is any support for writing an ENVI classification
file (which contains additional header info to assign the number of
classes, the color as RGB values, and class names to each class).  Here's
an example from the ENVI header:

classes = 11
class lookup = {
   0,   0,   0, 255,   0,   0, 139,   0,   0, 205,   0,   0,   0,   0, 255,
   0, 255, 255, 238, 210, 238, 255, 255,   0, 160,  32, 240,   0,   0, 139,
 255, 165,   0}
class names = {
 Unclassified, temperature_min, temperature_max, temperature_var,
 precipitation_mean, precipitation_var, wnd_mean, rad_mean, eto_mean,
 aet_mean, deficit_mean}

Specifically I'd like to use writeRaster to do it, but I assume this is an
issue with passing rgdal the right info...

--j

-- 
Jonathan A. Greenberg, PhD
Assistant Professor
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Department of Geography and Geographic Information Science
University of Illinois at Urbana-Champaign
607 South Mathews Avenue, MC 150
Urbana, IL 61801
Phone: 217-300-1924
http://www.geog.illinois.edu/~jgrn/
AIM: jgrn307, MSN: jgrn307@hotmail.com, Gchat: jgrn307, Skype: jgrn3007

	[[alternative HTML version deleted]]

