[mapserver-users] prevent certain output formats
Stefan Schantz
sschantz at bfs.de
Thu Apr 16 23:52:27 PDT 2009
Hello,
is it possible to prevent, that the UMN MapServer uses the output format
gif?
i tried it with the setting of the imagetype, but in the capabilities
document, all output formats are available.
mapfile:
(...)
IMAGETYPE aggpng24
OUTPUTFORMAT
NAME aggpng24
DRIVER AGG/PNG
MIMETYPE "image/png"
IMAGEMODE RGB
EXTENSION "png"
END
OUTPUTFORMAT
NAME jpeg
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
END
(...)
GetCapabilities document:
(...)
<GetMap>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/gif</Format>
<Format>image/png; mode=24bit</Format>
<Format>image/vnd.wap.wbmp</Format>
<Format>image/tiff</Format>
<Format>image/svg+xml</Format>
<DCPType>
(...)
Thanks for helping!
kind regards
Stefan
More information about the MapServer-users
mailing list