WCS
Ryan Ollerenshaw
ollerery at ENGR.ORST.EDU
Wed Jul 12 13:08:40 PDT 2006
The only thing that i see that you are missing is:
wcs_rangeset_label 'some label'
wcs_rangeset_name 'some name'
Quoting Angus Dickey <angusd at MIDWESTSURVEYS.COM>:
> Hey list,
>
> I am trying to get WCS working in mapserver 4.8.3; the following is an
> excerpt from my map file:
>
> OUTPUTFORMAT
> NAME GTiff
> DRIVER "GDAL/GTiff"
> MIMETYPE "image/tiff"
> IMAGEMODE RGB
> EXTENSION "tif"
> END #OUTPUTFORMAT
>
> WEB
> #WCS Required
> "wcs_name" "Public OGC Web Service"
> "wcs_service_onlineresource" "http://url"
> "wcs_onlineresource" "http://url/ms?"
> "wcs_srs" "EPSG:4269"
> "wcs_fees" "none"
> "wcs_accessconstraints" "none"
> "wcs_label" "Public WCS"
> END
>
> LAYER
> NAME "NTS_250k"
> STATUS ON
> TILEINDEX "NTS_250k_Index" #uses a postgis layer
> TILEITEM "location"
> TYPE RASTER
>
> MAXSCALE 1000000
> MINSCALE 50000
>
> METADATA
> #WMS Layer
> "wms_title" "250k NTS Maps"
> "wms_abstract" "1:250000 Canadian National Topographic Series"
> "wms_srs" "EPSG:4269"
> "wms_extent" "-134 41 -73 61"
>
> #WCS Layer
> "wcs_name" "250k NTS Maps"
> "wcs_label" "1:250000 Canadian National Topographic Series"
> "wcs_srs" "EPSG:4269"
> "wcs_extent" "-134 41 -73 61"
> "wcs_resolution" "0.000505538 0.000505538"
> "wcs_size" "1000 1000"
> "wcs_formats" "GTiff"
> "wcs_nativeformat" "Paletted 8-bit png"
> "wcs_bandcount" "1"
> END #METADATA
>
> PROJECTION
> "init=epsg:4269"
> END #PROJECTION
>
> END #LAYER
>
>
> I have tried to include all the required tags but my wcs getcapabilities
> returns with no mention of my layer/coverage (WMS & WFS in same mapfile works
> fine). Am I missing something required?
>
> Any ideas or help would be appreciated,
>
> Thanks,
>
> ~Angus
>
More information about the MapServer-users
mailing list