[Geoserver-devel] Raster style handling in geoserver

Hey all,

A few days ago I committed some changes to gs-trunk (and 1.5.x, I believe) which let raster layers be requested similar to the way that vector layers are requested.

Specifically, the changes were in GetMapKvpReader.java, and had to do with style-parsing for different sorts of raster layers, and letting the various raster layers have a style that’s not always “raster” (perhaps in anticipation of true RasterSymbolizer support)

However, it looks like that class got deprecated and the functionality moved to GetMapKvpRequestReader.java.

Unfortunately, I don’t think my changes made it through the deprecation cycle…am I way off-base in thinking that those two classes are very similar except for some of the code that I added around the:

if layer == TYPE_RASTER

spots?

Anyway, I’ll go ahead and port that over from the old class to the new if there are no objections. Any objections to this small bit of work?

I’ve also learned my lesson that you’ve got to get test cases into the codebase if you want your code to keep getting maintained!

thanks,
–saul