Skip to content

Commit 09bd0f6

Browse files
committed
better wcs mapfile mimetypes
1 parent d1e7242 commit 09bd0f6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/testdata/raster/wcs.map

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
MAP
23
NAME WCS
34
STATUS ON
@@ -8,7 +9,8 @@ MAP
89
# in 1.1 the MIMETYPE is used instead
910
NAME "GEOTIFFBYTE"
1011
DRIVER "GDAL/GTiff"
11-
MIMETYPE "image/tiff"
12+
# MIMETYPE is used as format by 1.1
13+
MIMETYPE "image/x-tiff-byte"
1214
# IMAGEMODE: standard modes: PC256, RGB, RGBA
1315
# WCS (GDAL) modes: BYTE, INT16, FLOAT32
1416
IMAGEMODE "BYTE"
@@ -18,15 +20,15 @@ MAP
1820
OUTPUTFORMAT
1921
NAME "GEOTIFFINT16"
2022
DRIVER "GDAL/GTiff"
21-
MIMETYPE "image/tiff16"
23+
MIMETYPE "image/x-tiff-int16"
2224
IMAGEMODE "INT16"
2325
EXTENSION "tif"
2426
END
2527

2628
OUTPUTFORMAT
2729
NAME "GEOTIFFFLOAT32"
2830
DRIVER "GDAL/GTiff"
29-
MIMETYPE "image/tiff32"
31+
MIMETYPE "image/x-tiff-float32"
3032
IMAGEMODE "FLOAT32"
3133
EXTENSION "tif"
3234
END

0 commit comments

Comments
 (0)