outputformat and default image format output
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Wed Nov 17 07:45:07 PST 2004
Hi,
In my mapfile, I've defined:
OUTPUTFORMAT
NAME GEOTIFF_RGB
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE RGB
EXTENSION "tif"
END
...for some raster data, which is fine. However, it seems to have taken
over my app/service as the default format. i.e. if I request:
http://host/url?mode=legend&layers=roadlayer
..this gives me back a prompt to download a TIFF image.
If I comment out the OUTPUTFORMAT object, I get back a GIF image, which
is web friendly.
Any ideas on how to define OUTPUTFORMAT and making sure a web friendly
format is returned on requests?
Thanks
..Tom
More information about the MapServer-users
mailing list