Hi, If it does not say it supports AGG then it does not. Without AGG pngs are created with GD renderer. Mapserver -v output will look like this when AGG is included.
MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICO NV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUP PORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -Jukka Rahkonen- > Ganaël Jatteau wrote > > Hi Thomas, > > Thanks for your answer. The info I get with mapserver -v is: > > MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG > OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS > SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL > INPUT=SHAPEFILE > > It doesn't say anything about AGG, however it has PNG (which > I believe use the same driver). > > Cheers, > Ganael > > -----Message d'origine----- > De : Thomas Bonfort [mailto:[email protected]] > Envoyé : vendredi 24 juillet 2009 10:08 > À : Galigeo > Cc : [email protected] > Objet : Re: [mapserver-users] loadOutputFormat(): error > AGG/PNG driver isn't configured. > > what's the output of > > mapserv -v > > it should include the AGG key somewhere for agg to be supported. > > regards, > thomas > > www.camptocamp.com > +33 4 79 26 57 97 > > > > On Fri, Jul 24, 2009 at 09:58, Galigeo<[email protected]> wrote: > > > > Hi kapilmanoj > > > > I do have actually the same problem (exept I use Ubuntu > 8.04). I had > > to compile mapscript by myself since I use Java and Java > mapscript is > > not pre-packaged by Ubuntu. Maybe I missed a dependency during the > > compilation > ? > > > > Anyway, if anyone has a solution to this problem, I'd be > glad to know it! > > > > Cheers, > > Ganael > > > > > > kapilmanoj wrote: > >> > >> Dear users, > >> > >> I am using mapserver 5.0.3 on fedora 9. i have been trying out the > >> examples given in the mapserver 5.x tutorial. i am receiving the > >> following error message when attempting to use AGG Output > format. i > >> have installed > AGG-2.5 > >> through yum install command in fedora 9.... > >> > >> error message: *loadOutputFormat(): General error message. > >> OUTPUTFORMAT clause references driver AGG/PNG, but this > driver isn't configured. > >> * > >> > >> This my mapfile for your kind attention MAP > >> NAME Gods own country > >> EXTENT 201621.496941 -294488.285333 1425518.020722 > 498254.511514 > >> # > >> LAEA > >> #EXTENT -97.5 41.619778 -82.122902 49.38562 # Geographic > >> SIZE 400 300 > >> IMAGECOLOR 255 255 255 > >> SHAPEPATH "/var/www/html/ms4w/aapa/tutorial/data" > >> SYMBOLSET "/var/www/html/ms4w/aapa/tutorial/symbols/symbols35.sym" > >> FONTSET "/var/www/html/ms4w/aapa/tutorial/fonts/fonts.list" > >> > >> IMAGETYPE PNG24 > >> > >> OUTPUTFORMAT > >> NAME png > >> DRIVER "GD/PNG" > >> MIMETYPE "image/png" > >> IMAGEMODE PC256 > >> EXTENSION "png" > >> END > >> OUTPUTFORMAT > >> NAME png24 > >> DRIVER "GD/PNG" > >> MIMETYPE "image/png" > >> IMAGEMODE RGBA > >> EXTENSION "png" > >> END > >> OUTPUTFORMAT > >> NAME jpeg > >> DRIVER "GD/JPEG" > >> FORMATOPTION "QUALITY=75" > >> MIMETYPE "image/jpeg" > >> IMAGEMODE RGB > >> EXTENSION "jpg" > >> END > >> OUTPUTFORMAT > >> NAME GTiff > >> DRIVER "GDAL/GTiff" > >> MIMETYPE "image/tiff" > >> IMAGEMODE RGB > >> EXTENSION "tif" > >> END > >> > >> OUTPUTFORMAT > >> NAME AGG > >> DRIVER "AGG/PNG" > >> IMAGEMODE RGB > >> END > >> OUTPUTFORMAT > >> NAME AGGA > >> DRIVER "AGG/PNG" > >> IMAGEMODE RGBA > >> END > >> OUTPUTFORMAT > >> NAME AGGJ > >> DRIVER "AGG/JPEG" > >> IMAGEMODE RGB > >> END > >> > >> WEB > >> IMAGEPATH '/tmp/ms_tmp/' > >> IMAGEURL '/ms_tmp/' > >> END > >> > >> PROJECTION > >> "init=epsg:2163" > >> END > >> LAYER > >> NAME districts > >> DATA parl_04 > >> STATUS OFF > >> TYPE POLYGON > >> > >> PROJECTION > >> "init=epsg:4326" > >> END > >> > >> CLASSITEM "NAME" > >> > >> CLASS > >> EXPRESSION 'party' > >> STYLE > >> SYMBOL 0 > >> COLOR 232 232 232 > >> END > >> END > >> END > >> . > >> . > >> . > >> . > >> > >> LAYER > >> NAME districts > >> DATA parl_04 > >> STATUS OFF > >> TYPE ANNOTATION > >> > >> PROJECTION > >> "init=epsg:4326" > >> END > >> > >> CLASSITEM "NAME" > >> LABELITEM "WINNER" > >> CLASS > >> EXPRESSION 'party' > >> STYLE > >> COLOR -1 -1 -1 > >> END > >> LABEL > >> COLOR 255 255 255 > >> TYPE TRUETYPE > >> FONT arial-bold > >> SIZE 12 > >> ANTIALIAS TRUE > >> POSITION CL > >> PARTIALS FALSE > >> MINDISTANCE 300 > >> BUFFER 4 > >> END # end of label > >> END # end of class > >> END # States label layer ends here > >> # End of LAYER DEFINITIONS ------------------------------- > >> > >> END # end of map file > >> > >> > >> > >> can anyone please help me out ..... > >> suggestion will be appreciated.. > >> > >> Thanks > >> kapilmanoj > >> > >> _______________________________________________ > >> mapserver-users mailing list > >> [email protected] > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > >> > >> > > > > -- > > View this message in context: > http://n2.nabble.com/loadOutputFormat%28%29%3A-error-AGG-PNG-d river-isn%27t- > configured.-tp2388899p3314438.html > > Sent from the Mapserver - User mailing list archive at Nabble.com. > > _______________________________________________ > > mapserver-users mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
