A.Th.C. Hulst wrote:
Frank,I have a fix (ugly, but it works): in mapdrawgdal.c --------------ParseDefaultLUT()------------ int user_defined=FALSE; while( !all_done ) { int this_in, this_out; int lut_i; while( isspace(*lut_read) ) lut_read++; /* if we are at end, assum 255:255 */ if( *lut_read == '\0') { all_done = TRUE; if ( !user_defined ){ // Only assume 255:255 end when user did not specify PROCESSING option this_in = 255; this_out = 255; } } /* otherwise read "in:out", and skip past */ else { user_defined = TRUE; the rest of the code ------------------------------
Sander, It seems that this code change just ignores the implicit 255:255 if there is any user provided lut points at all. I'm not sure that this is advisable. I'd suggest you file a specific bug against MapServer indicating what you consider is the issue, and your proposed solution. But I think that the above code won't quite do as is, unless I am misunderstanding it. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org
