Skip to content

Commit

Permalink
better wcs mapfile mimetypes
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Jul 19, 2012
1 parent d1e7242 commit 09bd0f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/testdata/raster/wcs.map
@@ -1,3 +1,4 @@

MAP
NAME WCS
STATUS ON
Expand All @@ -8,7 +9,8 @@ MAP
# in 1.1 the MIMETYPE is used instead
NAME "GEOTIFFBYTE"
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
# MIMETYPE is used as format by 1.1
MIMETYPE "image/x-tiff-byte"
# IMAGEMODE: standard modes: PC256, RGB, RGBA
# WCS (GDAL) modes: BYTE, INT16, FLOAT32
IMAGEMODE "BYTE"
Expand All @@ -18,15 +20,15 @@ MAP
OUTPUTFORMAT
NAME "GEOTIFFINT16"
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff16"
MIMETYPE "image/x-tiff-int16"
IMAGEMODE "INT16"
EXTENSION "tif"
END

OUTPUTFORMAT
NAME "GEOTIFFFLOAT32"
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff32"
MIMETYPE "image/x-tiff-float32"
IMAGEMODE "FLOAT32"
EXTENSION "tif"
END
Expand Down

0 comments on commit 09bd0f6

Please sign in to comment.