[mapserver-users] MapServer 6.0.0-beta1 release - Please test!

Stephen Woodbridge woodbri at swoodbridge.com
Thu Mar 10 12:54:42 PST 2011


A couple of points on this, MS6.0 no longer has a GD driver? is this 
correct? if so, then:
    a. need to add to migration guide
    b. need to indicate appropriate GD to AGG OUTPUTFORMAT conversions
    c. mapfile parsing should throw an error ob DRIVER 'GD/...'

-Steve W

On 3/10/2011 12:36 PM, thomas bonfort wrote:
> use AGG/JPEG
>
> regards,
> thomas
>
> On Thu, Mar 10, 2011 at 18:33, Andy Colson<andy at squeakycode.net>  wrote:
>> On 3/9/2011 8:47 PM, Daniel Morissette wrote:
>>>
>>> The MapServer Team is pleased to announce the release of MapServer
>>> 6.0.0-beta1. This is the first beta on our way to a final 6.0 release.
>>>
>>
>> My mapfile has:
>>
>>         IMAGECOLOR 192 192 192
>>         IMAGEQUALITY 95
>>         IMAGETYPE jpeg
>>         OUTPUTFORMAT
>>                 NAME jpeg
>>                 DRIVER 'GD/JPEG'
>>                 MIMETYPE 'image/jpeg'
>>                 EXTENSION 'jpeg'
>>         END
>>
>> Error I get:
>> ERROR: 12:OUTPUTFORMAT clause references driver GD/JPEG, but this driver
>> isn't configured.:loadOutputFormat()
>>
>>
>>   mapserv -v
>> MapServer version 6.0.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
>> SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=OPENGL SUPPORTS=FREETYPE
>> SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=GEOS INPUT=POSTGIS INPUT=OGR
>> INPUT=GDAL INPUT=SHAPEFILE
>>
>>
>> Sure enough, no GD... but I did compile it in:
>>
>> configure: checking for GD 2.0.28 or higher...
>> checking for gdImageCreatePaletteFromTrueColor in -lgd... yes
>>         using libgd 2.0.28 (or higher) from system libs (-L/usr/lib64 -lgd
>> -ljpeg -lfreetype -lz -lpng -lz -lXpm -lX11 ).
>> checking for gdImageCreate in -lgd... yes
>> checking for gdImageGif in -lgd... yes
>> checking for gdImagePng in -lgd... yes
>> checking for gdImageJpeg in -lgd... yes
>> checking for gdImageWBMP in -lgd... yes
>> checking for gdImageStringFT in -lgd... yes
>> checking for gdImageOpenPolygon in -lgd... yes
>> checking for gdImageGifPtr in -lgd... yes
>> checking for gdFontGetTiny in -lgd... yes
>> checking for gdImageSetResolution in -l... no
>> checking whether gdImageGetTrueColorPixel is declared... yes
>> checking for gdImageGetTrueColorPixel in -lgd... yes
>>         using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
>> -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
>> -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL) from system libs.
>>
>> So what do I use?
>>
>> I'd also like to try the new opengl stuff.. is there new docs for:
>>
>> http://mapserver.org/mapfile/outputformat.html
>>
>> -Andy
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list