MapServer WMS : Geotiff Float 32
Fabio D'Ovidio
dovidio at PLANETEK.IT
Tue Dec 19 03:12:21 PST 2006
Hi !
I'm working with ESRI GRID raster and I have exported it in GeoTiff.
Now, I have configured MapServer as WMS to render it. The problem is that I am not able to
download GeoTiff from MapServer and display each pixel float value.
Is this possible with a WMS ? Have I use a WCS configuration for this purpose ?
This is the map file :
MAP
NAME "Preview"
STATUS ON
EXTENT 1.67416e+006 4.82883e+006 1.68398e+006 4.83571e+006 SIZE 800 600
IMAGETYPE gtiff
IMAGEQUALITY 100
WEB
# path relative to the webserver document root
IMAGEPATH "C:/inetpub/wwwroot/temp/"
# full path to image tmp dir, so cgi can find it
# Note: Windows is much happier with a full path here. Unixes might get away with path
relative to cgi-bin.
# Use backslash "\" with Windows, forward-slash "/" with Unixes, and end the path with
the proper slash.
IMAGEURL "./temp/"
METADATA
"wms_title" "Pkt164_PREVIEW"
"wms_onlineresource" "http://agossiu02/cgi-bin/mapserv.exe?map=C:/preview.map&"
"wms_srs" "EPSG:4326 EPSG:32633
EPSG:25833 EPSG:26592"
END
# url location of image tmp dir, so web browser can find it
# Don't forget a trailing "/" here, too
END
PROJECTION
"init=epsg:4326"
END
OUTPUTFORMAT
NAME GTiff
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE FLOAT32
EXTENSION "tif"
END
LAYER
NAME "preview1"
STATUS ON
DATA "C:\Terzona FS\TIFF\fs_gist1.tif"
TYPE RASTER
PROJECTION
"init=epsg:4326"
END
METADATA
"wms_title" "Preview1"
"wms_srs" "EPSG:4326 EPSG:32633
EPSG:25833 EPSG:26592"
END
END
END
********************************************************************************************
Ing. Fabio D'Ovidio
WebGIS Staff
Planetek Italia Srl
via Massaua, 12 - 70123 Bari - Italy
web : http ://www.planetek.it
e-mail : dovidio at planetek.it
Lat/Lon 41° 8' 16''N 16° 50' 40''E
********************************************************************************************
More information about the MapServer-users
mailing list