Problem with map file serving WMS - tiff
Steven De Vriendt
gisaalter at GMAIL.COM
Mon Apr 16 00:34:22 PDT 2007
Below is my map-file for serving a tiff file using mapserver WMS-capabilities.
Yet, I'm unsuccesfull finding out why it doesn't work.
Can someone have a look at it and correct it where I've gone wrong ?
Thanks !
MAP
NAME TIFF_TEST
STATUS ON
SIZE 500 500
SYMBOLSET ../etc/symbols.sym
EXTENT 77336.359625 189988.500250 90937.297125 201812.968625
UNITS METERS
IMAGECOLOR 255 255 255
FONTSET ../etc/fonts.txt
TRANSPARENT FALSE
WEB
IMAGEPATH "/ms4w/apps/chameleon/samples/data/topo"
IMAGEURL "/ms_tmp/"
METADATA
"wms_abstract" "Demo for Geotiff"
"wms_title" "WMS Demo Server"
"wms_onlineresource"
"http://0.0.0.0:8888/cgi-bin/mapserv.exe?map=/ms4w/apps/chameleon/samples/map/wmsserver_tiff.map&"
"wms_srs" "EPSG:31300"
END
END
OUTPUTFORMAT
NAME GEOTIFF
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE "PC256"
EXTENSION "tif"
END
PROJECTION
"init=epsg:31300"
END
LAYER
NAME "hillshade_rough"
TILEINDEX "/ms4w/apps/chameleon/samples/data/topo/shpindex.shp"
TILEITEM "location"
TYPE RASTER
STATUS ON
# display layer only in map scales of 100000 and smaller, means
scale values > 100000
MINSCALE 100000
METADATA
"WMS_TITLE" "topokaarten"
"WMS_ABSTRACT" "agiv vlaanderen"
"WMS_SRS" "EPSG:31300"
END
PROJECTION
"init=epsg:31300"
END
END
More information about the MapServer-users
mailing list