[mapserver-users] loadOutputFormat(): error AGG/PNG driver isn't configured.
kmanoj-pg7 kmanoj-pg7
kmanoj-pg7 at iiitmk.ac.in
Thu Feb 26 02:37:13 PST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090226/c2632f2c/attachment.htm>
More information about the MapServer-users
mailing list