[Mapserver-users] Re: [Bug 270] 24-bit image processing crash
Steve Lime
steve.lime at dnr.state.mn.us
Fri Feb 7 13:51:48 PST 2003
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
>>> "Brent Fraser" <bfraser at geoanalytic.com> 02/07/03 09:14AM >>>
Steve,
I think this can be solved with a note in the documentation. I had
discovered the issue while experimenting with HTML Legends with layers that
referenced 24-bit raster data.
The rule is: "Adding a CLASS section to a raster LAYER will cause the
raster to be classified."
Seems obvious to me now!
I doubt if anyone will want to classify a 24-bit raster using MapServer (as
Frank pointed out, the processing time could be significant).
Thanks!
Brent
----- Original Message -----
From: <bugzilla-daemon at lists.gis.umn.edu>
To: <bfraser at geoanalytic.com>
Sent: Thursday, February 06, 2003 6:57 PM
Subject: [Bug 270] 24-bit image processing crash
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=270
>
> warmerdam at pobox.com changed:
>
> What |Removed |Added
> --------------------------------------------------------------------------
--
> AssignedTo|warmerdam at pobox.com
|steve.lime at dnr.state.mn.us
>
>
>
> ------- Additional Comments From warmerdam at pobox.com 2003-02-06
19:57 -------
> Steve,
>
> Brent mentions that he was using a CLASS with an RGB layer with
> the intention of producing a legend entry, but not really wanting to
> affect the way the layer looks. Currently if there are classes the
> raster code treats a layer quite differently.
>
> Do you have any thoughts on how Brent could generate a legend entry in
another
> way, or if there is some mechanism by which I should avoid treating the
layer
> as classified?
>
>
>
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
More information about the MapServer-users
mailing list