Hi,<br><br>I would like to output as a GeoTiff file via WMS and WCS.<br> <br>I have been able to sucessfully output as a GeoTiff file via WMS as:<br><a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=StLouis&SRS=EPSG:4326&BBOX=-90.21816960144152,38.61906329981721,-90.17724991531047,38.64238752091208&WIDTH=800&HEIGHT=456&FORMAT=GeoTiff">
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=StLouis&SRS=EPSG:4326&BBOX=-90.21816960144152,38.61906329981721,-90.17724991531047,38.64238752091208&WIDTH=800&HEIGHT=456&FORMAT=GeoTiff
</a><br><br>I have NOT been able to sucessfully output as a GeoTiff file via WCS as:<br>
<a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSION=1.0.0&REQUEST=GetCoverage&SERVICE=WCS&COVERAGE=StLouis&CRS=EPSG:4326&BBOX=-90.21816960144152,38.61906329981721,-90.17724991531047,38.64238752091208&WIDTH=800&HEIGHT=456&FORMAT=GeoTiff">
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSION=1.0.0&REQUEST=GetCoverage&SERVICE=WCS&COVERAGE=StLouis&CRS=EPSG:4326&BBOX=-90.21816960144152,38.61906329981721,-90.17724991531047,38.64238752091208&WIDTH=800&HEIGHT=456&FORMAT=GeoTiff
</a><br>
I get the error:<br>We can't find <span class="term">"<a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSIO">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSIO
</a>"<br><br>What is the difference between outputting a GeoTiff file from MapServer as WMS compared to WCS?<br></span><br>Map file below:<br>------------------------------------------------------------------------------------
<br>#<br># $Id: demo.map,v 1.2 2006/08/08 19:02:46 tkralidi Exp $<br>#<br># Start of map file<br>#<br><br>MAP<br><br> # all temp files get prefixed with this string<br> NAME All_Raster_Layers_ignore<br><br> # always returns a map
<br> STATUS ON<br><br> # image format options<br> OUTPUTFORMAT<br> NAME GEOTIFF<br> DRIVER "GDAL/GTiff"<br> MIMETYPE "image/tiff"<br> IMAGEMODE RGB<br> EXTENSION "tif"<br> END<br>
<br> # projection of the INTERFACE that this mapfile supports<br> PROJECTION<br> "init=epsg:4326"<br> END<br><br> # minx miny maxx maxy<br> EXTENT -180 -90 180 90 # World<br><br> # units of map/app<br> UNITS DD
<br><br> WEB<br> # this is set in the form which initializes the page, but can be set here if you want<br> IMAGEPATH "/ms4w/tmp/ms_tmp/"<br><br> # this is set in the form which initializes the page, but can be set here if you want
<br> IMAGEURL "/ms_tmp/"<br> END<br><br> # start of layer definitions<br><br><br>#---------------------<br>#--- Saint Louis reprojected ---<br>#---------------------<br> LAYER<br> # name of layer<br> NAME StLouis
<br> <br> # what type of data is this?<br> TYPE RASTER<br><br> # always returned with interface<br> STATUS ON<br><br> DUMP TRUE<br> <br> TILEINDEX "E:\converted_1178894945328\fullResolution.shp"<br> TILEITEM "Location"
<br><br> #OFFSITE 0 0 0<br><br> #MAXSCALE 1000<br><br> END<br><br>END<br><br clear="all"><br>Thanks,<br>-- <br>John J. Mitchell