outputting as a GeoTiff files via WMS and WCS
John Mitchell
mitchelljj98 at GMAIL.COM
Thu Jun 14 11:41:17 PDT 2007
Hi,
I would like to output as a GeoTiff file via WMS and WCS.
I have been able to sucessfully output as a GeoTiff file via WMS as:
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
I have NOT been able to sucessfully output as a GeoTiff file via WCS as:
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
I get the error:
We can't find "
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/client/wms/ConsolidationOutput.map&VERSIO
"
What is the difference between outputting a GeoTiff file from MapServer as
WMS compared to WCS?
Map file below:
------------------------------------------------------------------------------------
#
# $Id: demo.map,v 1.2 2006/08/08 19:02:46 tkralidi Exp $
#
# Start of map file
#
MAP
# all temp files get prefixed with this string
NAME All_Raster_Layers_ignore
# always returns a map
STATUS ON
# image format options
OUTPUTFORMAT
NAME GEOTIFF
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE RGB
EXTENSION "tif"
END
# projection of the INTERFACE that this mapfile supports
PROJECTION
"init=epsg:4326"
END
# minx miny maxx maxy
EXTENT -180 -90 180 90 # World
# units of map/app
UNITS DD
WEB
# this is set in the form which initializes the page, but can be set here
if you want
IMAGEPATH "/ms4w/tmp/ms_tmp/"
# this is set in the form which initializes the page, but can be set here
if you want
IMAGEURL "/ms_tmp/"
END
# start of layer definitions
#---------------------
#--- Saint Louis reprojected ---
#---------------------
LAYER
# name of layer
NAME StLouis
# what type of data is this?
TYPE RASTER
# always returned with interface
STATUS ON
DUMP TRUE
TILEINDEX "E:\converted_1178894945328\fullResolution.shp"
TILEITEM "Location"
#OFFSITE 0 0 0
#MAXSCALE 1000
END
END
Thanks,
--
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070614/296b9b54/attachment.htm>
More information about the MapServer-users
mailing list