#2321 closed defect (fixed)
Adding TRANSPARENT ON to an AGG OUTPUTFORMAT block results in a strange mapserver response
Reported by: | woodbri | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.0.1 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | tbonfort, warmerdam |
Description
Adding TRANSPARENT ON to an AGG OUTPUTFORMAT block results in a strange mapserver response.
MAP NAME "Tiger2005se Data googlesque" EXTENT -160 15 -60 75 #SIZE 400 250 SIZE 1280 1280 SHAPEPATH "/var/data/imaptools/tiger-maps/" FONTSET "/var/data/imaptools/tiger-maps/fontset.txt" SYMBOLSET "/var/data/imaptools/tiger-maps/symbols/symbol.sym" #IMAGECOLOR 153 179 204 UNITS DD #IMAGETYPE "PNG8" IMAGETYPE "agg/png24" #DEBUG ON OUTPUTFORMAT NAME "agg/png24" MIMETYPE "image/png; mode=24bit" DRIVER "AGG/PNG" EXTENSION "png" #TRANSPARENT ON # uncomment this to get the result below FORMATOPTION "TRANSPARENT=ON" #FORMATOPTION "PALETTE_FORCE=TRUE" #FORMATOPTION "PALETTE=/u/data/maps/palette-google-agg.txt" END
(gdb) run QUERY_STRING='MAP=%2Fvar%2Fdata%2Fimaptools%2Fmaps%2Fgoogle-aa2o.map&LAYERS=all&MAP_IMAGETYPE=agg%2Fpng24&MODE=map&SRS=EPSG%3A4326&mapext=-71.574443%2042.54047%20-71.320461%2042.730957&imgext=-71.574443%2042.54047%20-71.320461%2042.730957&map_size=800%20600&imgx=400&imgy=300&imgxy=800%20600' Starting program: /home/swoodbridge/work/mapserver-5.0.0/mapserv QUERY_STRING='MAP=%2Fvar%2Fdata%2Fimaptools%2Fmaps%2Fgoogle-aa2o.map&LAYERS=all&MAP_IMAGETYPE=agg%2Fpng24&MODE=map&SRS=EPSG%3A4326&mapext=-71.574443%2042.54047%20-71.320461%2042.730957&imgext=-71.574443%2042.54047%20-71.320461%2042.730957&map_size=800%20600&imgx=400&imgy=300&imgxy=800%20600' [Thread debugging using libthread_db enabled] [New Thread -1208333792 (LWP 21599)] Content-type: text/html <HTML> <HEAD><TITLE>MapServer Message</TITLE></HEAD> <!-- MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE --> <BODY BGCOLOR="#FFFFFF"> </BODY></HTML> Program exited normally. (gdb) q
Change History (2)
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Cc: | added |
---|---|
Milestone: | → 5.0.1 release |
I have taken the liberty of porting the same change into the 5.0-branch as r6956.
Note:
See TracTickets
for help on using tickets.
this also affected whenever setting TRANSPARENT ON when using an IMAGEMODE RGB (i.e. not only agg)
fixed in r6953