[Mapserver-users] Re: [Bug 270] 24-bit image processing crash

Steve Lime steve.lime at dnr.state.mn.us
Fri Feb 7 14:45:49 PST 2003


Sure, that would make sense, use that for all layer types. (call the parameter SWATCH) This type of control is why I'd like to ditch everything but GDAL (assuming EPPL support). Much easier to keep track of for one function...

Steve

>>> Frank Warmerdam <warmerdam at pobox.com> 02/07/03 04:06PM >>>
Steve Lime wrote:
> Hmmm... How bout something like this:
> 
>   - RGB rasters totally ignore classes
>   - however, for legends we look at a way to automatically generate a sample *chip*
>     with the name coming from the class definition
> 
> I guess I'm saying. Still define a CLASS, but just for legend purposes and not for
> process purposes. Generating the sample to put in the key would require new code.
> Another idea would be for the user to submit a *chip* via a new parameter called
> something like SAMPLE. The sample would simply be an image used in place of a dynamically
> generated key image. We could even define an internal symbol for rasters as a default.


Steve,

I like the idea of being able to provide a sample swatch via the map file
to place in the legend, but I wonder if the same option should be available
for pseudocolored images we don't want to put through a real classification?

In this, perhaps the raster code would look for the SAMPLE keyword and not
do any classification if it is found.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com 
light and sound - activate the windows | http://pobox.com/~warmerdam 
and watch the world go round - Rush    | Geospatial Programmer for Rent







More information about the MapServer-users mailing list