[Mapserver-dev] WCS GetCoverage question
Frank Warmerdam
warmerdam at pobox.com
Fri Oct 29 15:16:57 EDT 2004
Kralidis,Tom [Burlington] wrote:
> I put in:
>
> OUTPUTFORMAT
> NAME GTiff
> DRIVER "GDAL/GTiff"
> MIMETYPE "GEOTIFF_RGB"
> IMAGEMODE RGB
> EXTENSION "tif"
> END
>
> ...not sure whether this is correct.
Tom,
My understanding was that the outputformat is selected based on it's name, not
the mime type though it is possible would work. I would suggest a declaration
like:
OUTPUTFORMAT
NAME GEOTIFF_RGB
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE RGB
EXTENSION "tif"
END
> When I run GetCoverage again, it
> almost looks as if the data is returned inline (i.e. in a web browser,
> not prompted for unknown mime type download).
Hmm, thats odd.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the mapserver-dev
mailing list