Blank WCS
Ryan Ollerenshaw
ollerery at ENGR.ORST.EDU
Tue Jul 11 10:18:45 PDT 2006
I am trying to create a WCS from my already existing WMS mapfile. I know that
my mapserver supports WCS but when request a DescribeCoverage through the URL
it reports back that i do not have any coverages in my map file when there
should be three:
<CoverageDescription version="1.0.0" updateSequence="0"
xsi:schemaLocation="http://www.opengis.net/wcs
http://schemas.opengeospatial.net/wcs/1.0.0/describeCoverage.xsd">
</CoverageDescription>
Here is my mapfile:
NAME WMS_WFS_WCS_server
STATUS ON
SIZE 1000 600
EXTENT 0 -90 360 90
UNITS METERS
SHAPEPATH "../data"
IMAGECOLOR 255 255 255
WEB
TEMPLATE test_template.html
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
WCS_NAME "WMS Mars MapServer"
WCS_ACCESSCONSTRAINTS "NONE"
WCS_ONLINERESOURCE "http://neuron/cgi-bin/mapserv?map=display.map&"
WCS_SRS "EPSG:4326" #"AUTO:42003"
WCS_FEES "NONE"
END
END
PROJECTION
"init=epsg:4326"
END
#GTiff will not display in browser but a PNG will
OUTPUTFORMAT
NAME GEOTIFF
DRIVER "GDAL/GTiff"
MIMETYPE "image/tiff"
IMAGEMODE "RGBA"
#IMAGEMODE "PC256"
EXTENSION "tif"
FORMATOPTION "COMPRESS=PACKBITS"
END
LAYER
NAME "themis"
STATUS ON
TILEINDEX "thm_dir.shp"
TILEITEM "location"
TYPE RASTER
DUMP TRUE
METADATA
wcs_title "THEMIS_Data"
END
END
LAYER
NAME "moc"
STATUS ON
TILEINDEX "moc_256.shp"
TILEITEM "location"
TYPE RASTER
METADATA
WCS_TITLE "MOC_Data"
wcs_description "test"
END
END
LAYER
NAME "mola"
STATUS ON
TILEINDEX "mola_color.shp"
TILEITEM "location"
TYPE RASTER
METADATA
WCS_TITLE "MOLA_Data"
END
END
END # of map file
More information about the MapServer-users
mailing list