MAP
NAME DEMO
STATUS ON
SIZE 500 500
SYMBOLSET ../etc/symbols.sym
EXTENT 77336.359625 189988.500250 90937.297125 201812.968625
UNITS METERS
SHAPEPATH "/ms4w/apps/chameleon/samples/data/topo"
IMAGECOLOR 125 125 125
FONTSET ../etc/fonts.txt
TRANSPARENT FALSE
PROJECTION
"init=epsg:31300"
END
OUTPUTFORMAT
NAME GEOTIFF
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE "RGB"
EXTENSION "tif"
END
WEB
IMAGEPATH "c:/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
"wms_title" "Aalter_WMS"
"wms_onlineresource" "
http://10.109.2.100/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver.map&"
"wcs_description" "Orthospot mosaic"
"wcs_name" "TOPO"
"wcs_label" "Topokaart"
"ows_srs" "EPSG:31300"
"ows_extent" "77336.359625 189988.500250 90937.297125 201812.968625"
"wcs_resolution" "381 381"
"wcs_bandcount" "1"
"wcs_formats" "GEOTIFF"
"wcs_nativeformat" "8-bit GeoTIF"
END
END
LAYER
NAME topokaart
DATA t136n.tif
TYPE RASTER
STATUS ON
PROCESSING "SCALE=AUTO"
DUMP TRUE
METADATA
"wms_title" "AALTER"
END
TRANSPARENCY 0
OFFSITE 255 255 255
PROJECTION
"init=epsg:31300"
END
END
END
From: UMN MapServer Users List [mailto: [email protected]] On Behalf Of Steven De Vriendt
Sent: Friday, March 31, 2006 9:21 AM
To: [email protected]
Subject: [UMN_MAPSERVER-USERS] Serve GeoTIFF with Mapserver
Hi,
Related to the raster serving images question, I'd like to ask if there's a reference
for serving geotiff files ? What do I need to specify more in the map file
for letting mapserver to do this. I've tried with the WCS tutorials but I
think I'm missing out on something because I can't see my geotiff...
Steven,
Any chance you can post your map file, and a sample (small) geotiff? I have used MapServer WCS a lot, and it is very good / stable.
Gail Millin and myself wrote a tutorial here http://mapserver.gis.umn.edu/docs/howto/WCSServerFormatHowTo that may be of use as well.
Norman
