PNG24 output and GDAL dependency?

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Wed Apr 26 12:17:01 EDT 2006


On a side note, maybe the error message should be changed to "24bit 
input requires GDAL" instead of "24 bit output requires GDAL" ?

Best regards,
Bart

Frank Warmerdam wrote:

> Eijnden, B. van den (Bart) wrote:
>
>> Hi Frank,
>>
>> with respect to the first problem, Mapserver outputs an error message in
>> this case:
>>
>> [26-Apr-2006 14:20:07] PHP Warning:  [MapServer Error]:
>> msDrawRasterLayerLow(): Attempt to render raster layer to IMAGEMODE 
>> RGB or
>> RGBA but without GDAL available.  24bit output requires GDAL.
>>
>> Are you not aware of this requirement?
>
>
> Bart,
>
> Ah, I didn't realize you were trying to render input rasters to a 24bit
> result.  24bit raster input is only supported with GDAL enabled.  But
> you should be able to render vector data to png24 without GDAL.
>
> I would add that raster input capabilities are very limited without
> GDAL enabled.
>
> Best regards,



-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the mapserver-users mailing list