[mapserver-commits] r11038 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Mar 2 09:31:07 EST 2011
Author: sdlime
Date: 2011-03-02 06:31:07 -0800 (Wed, 02 Mar 2011)
New Revision: 11038
Modified:
trunk/mapserver/mapwcs20.c
Log:
Applied patch for ticket #3705...
Modified: trunk/mapserver/mapwcs20.c
===================================================================
--- trunk/mapserver/mapwcs20.c 2011-03-02 13:39:25 UTC (rev 11037)
+++ trunk/mapserver/mapwcs20.c 2011-03-02 14:31:07 UTC (rev 11038)
@@ -3600,7 +3600,17 @@
return msWCSException(map, NULL, NULL, params->version);
/* Actually produce the "grid". */
- status = msDrawRasterLayerLow( map, layer, image, NULL );
+ if( MS_RENDERER_RAWDATA(map->outputformat) )
+ {
+ status = msDrawRasterLayerLow( map, layer, image, NULL );
+ }
+ else
+ {
+ rasterBufferObj rb;
+ MS_IMAGE_RENDERER(image)->getRasterBufferHandle(image,&rb);
+ status = msDrawRasterLayerLow( map, layer, image, &rb );
+ }
+
if( status != MS_SUCCESS ) {
return msWCSException(map, NULL, NULL, params->version );
}
More information about the mapserver-commits
mailing list