Hello; <br><br>I am newbie to Mapserver, so maybe this is a naive question but I am doing my best to find a solution to serve raster data by using Mapserver.<br><br>I have MapServer 5.6.5, I have prepared my map server with WFS and WMS  and I would like to serve GEOTIFF images with WCS 1.0.0 protocol.<br>
<br>I prepared a map file, with two layers to be served and I made a capabilities of the server:<br><br><a href="http://domainserver/cgi-bin/mapserv?SERVICE=WCS&amp;VERSION=1.0.0&amp;REQUEST=GetCapabilities">http://domainserver/cgi-bin/mapserv?SERVICE=WCS&amp;VERSION=1.0.0&amp;REQUEST=GetCapabilities</a><br>
<br>The problem is that all metadata is full but there is no content for coverages (&quot;identifiers&quot; in v.1.1.0), that is, the content between  ContentMetada labels is empty, <br><br>&lt;ContentMetadata&gt;<br>&lt;/ContentMetadata&gt;&lt;/WCS_Capabilities&gt;<br>
<br>So I don&#39;t know what is happen, I made a probe like using shp2img to generate a image png from mapfile and it is done<br><br>My Mapfile (only one layer) looks like in the following way: <br><br><br>MAP<br><br>  NAME &quot;xxxx Map Server&quot;<br>
  SIZE  100 100   # NECESARIO PARA LA UTILIDAD shp2img <br>  UNITS DD<br>  EXTENT -90 -90 90 90<br>  DEBUG 5<br>  CONFIG &quot;CPL_DEBUG&quot; &quot;ON&quot;<br>  CONFIG &quot;MS_ERRORFILE&quot; &quot;/tmp/mapserver.log&quot; #a este fichero van mensajes de error!! (equivalent to set SetEnv MS_ERRORFILE &quot;/tmp/mapserver.log&quot; in /etc/apache2/apache2.conf)<br>
  PROJECTION<br>   &quot;init=epsg:4326&quot;<br>   END # end projection<br># Background color for the map canvas -- change as desired<br>  IMAGECOLOR 192 192 192<br>  IMAGEQUALITY 95<br>  IMAGETYPE jpeg<br><br>  # Usamos el driver GDAL para crear el formato Ráster en modo IMAGEN RGB <br>
  OUTPUTFORMAT<br>   NAME GEOTIFF_RGB<br>   DRIVER &quot;GDAL/GTiff&quot;<br>   MIMETYPE &quot;image/tiff&quot;<br>   IMAGEMODE RGB<br>   EXTENSION &#39;tif&#39;<br>  END   #end outputformat<br> <br>  # Legend<br>  LEGEND<br>
      IMAGECOLOR 255 255 255<br>      STATUS ON<br>      KEYSIZE 18 12<br>   LABEL<br>      TYPE BITMAP<br>      SIZE MEDIUM<br>      COLOR 0 0 89<br>    END #end label<br>  END #end legend<br><br>  <br>  # Web interface definition. Only the template parameter is required to display a map. See MapServer documentation<br>
  WEB<br>  <br>    # Set IMAGEPATH to the path where MapServer should write its output.<br>    IMAGEPATH &#39;/tmp/&#39;<br>    # Set IMAGEURL to the url that points to IMAGEPATH as defined in your web server configuration<br>
    IMAGEURL &#39;/tmp/&#39;<br><br>    # WCS server settings<br>    METADATA<br>      &#39;wms_title&#39;            &#39;xxxx Map Server&#39;<br>      &#39;wms_enable_request&#39;   &#39;*&#39;<br>      &#39;ows_onlineresource&#39;   &#39;<a href="http://domainserver/cgi-bin/mapserv">http://domainserver/cgi-bin/mapserv</a>?&#39;<br>
      #&#39;ows_srs&#39;             &#39;CRS:84 EPSG:4326 urn:x-ogc:def:crs:EPSG:4326 urn:x-ogc:def:crs:EPSG:3035 EPSG:3035 EPSG:4258&#39;<br>      &#39;ows title&#39;            &#39;Intamap WCS&#39;<br>      &#39;ows_srs&#39;              &#39;CRS:84 EPSG:4326 urn:x-ogc:def:crs:EPSG:4326&#39;<br>
      &#39;ows_abstract&#39;         &#39;Comentarios Blah Blah Blah&#39;<br>      #&#39;ows_srs&#39;             &#39;EPSG:3035 urn:x-ogc:def:crs:EPSG:3035&#39;<br>      &#39;wfs_title&#39;            &#39;xxxx WFS Server&#39;<br>
      &#39;wfs_onlineresource&#39;   &#39;<a href="http://domainserver/cgi-bin/wfs">http://domainserver/cgi-bin/wfs</a>?&#39;<br>      &#39;wfs_srs&#39;              &#39;EPSG:4326&#39; ## Recommended<br>      &#39;wfs_abstract&#39;         &#39;Web Feature Service for the XXXX central geonode.&#39; ## Recommended<br>
      &#39;wfs_enable_request&#39;   &#39;*&#39;<br>      &#39;wms_abstract&#39;         &#39;Web Map Service for the XXXX central geonode&#39;<br>###### WCS  ################<br>      &#39;wcs_label&#39;              &#39;XXXX WCS Server&#39; ### required for WCS<br>
      &#39;wcs_title&#39;              &#39;XXX  Web Coverage Service Server&#39;<br>      &#39;wcs_description&#39;        &#39;Web Coverage Service for the XXXX central geonode to serve coverages&#39;<br>      &#39;wcs_onlineresource&#39;     &#39;<a href="http://domainserver/cgi-bin/wcs">http://domainserver/cgi-bin/wcs</a>?&#39;<br>
      &#39;wcs_service_onlineresource&#39; &#39;<a href="http://domainserver/cgi-bin/wcs">http://domainserver/cgi-bin/wcs</a>?&#39;<br>      &#39;wcs_fees&#39;               &#39;none&#39;<br>      &#39;wcs_srs&#39;                &#39;EPSG:4326&#39; ## Recommended<br>
#     &#39;wcs_abstract&#39;           &#39;Web Coverage Service for the XXXXXX central geonode.&#39; ## Recommended<br>      &#39;wcs_accessconstraints&#39;  &#39;none&#39;<br>      &#39;wcs_keywordlist&#39;        &#39;WCS, TEXT, Coverage&#39;<br>
      &#39;wcs_metadatalink_format&#39;  &quot;text/plain&quot; #tipo MIME para formato de ficheros <br>      &#39;wcs_metadatalink_href&#39;    &quot;<a href="http://domainserver/catalog">http://domainserver/catalog</a>&quot;  # URL al metadata<br>
      &#39;wcs_metadatalink_type&#39;    &quot;TC211&quot;   # standard que cumple el metadata<br>      &quot;wcs_address&quot;              &quot;124 Gilmour Street&quot;<br>      &quot;wcs_city&quot;                 &quot;Ottawa&quot;<br>
      &quot;wcs_stateorprovince&quot;      &quot;ON&quot;<br>      &quot;wcs_postcode&quot;             &quot;90210&quot;<br>      &quot;wcs_country&quot;              &quot;Canada&quot;<br>      &quot;wcs_contactelectronicmailaddress&quot; &quot;blah@blah&quot;<br>
      &quot;wcs_contactperson&quot;            &quot;me&quot;<br>      &quot;wcs_contactorganization&quot;      &quot;unemployed&quot;<br>      &quot;wcs_contactposition&quot;          &quot;manager&quot;<br>      &quot;wcs_contactvoicetelephone&quot;    &quot;613-555-1234&quot;<br>
      &quot;wcs_contactfacimiletelephone&quot; &quot;613-555-1235&quot;<br>#      &quot;wcs_service_onlineresource&quot;   &quot;<a href="http://domainserver/cgi-bin/wcs">http://domainserver/cgi-bin/wcs</a>?&quot;<br>      &#39;wcs_enable_request&#39;   &#39;*&#39;<br>
    END #end metadata<br><br>    #Scale range at which web interface will operate<br>    # Template and header/footer settings<br>    # Only the template parameter is required to display a map. See MapServer documentation<br>
  END #end web<br><br>  LAYER<br>    NAME &#39;GLOBCORINE_Color&#39;<br>    TYPE RASTER<br>    STATUS ON<br>    METADATA<br>       &#39;wms_title&#39;                &#39;GLOBCORINE_2009&#39;<br>#      &#39;ows_metadataurl_format&#39;   &#39;text/html&#39;<br>
#      &#39;ows_metadataurl_href&#39;     &#39;<a href="http://domainserver/catalog">http://domainserver/catalog</a>&#39;<br>#      &#39;ows_metadataurl_type&#39;     &#39;TC211&#39;<br>      &#39;wcs_label&#39;                &#39;GLOBCORINE 2009&#39;<br>
      &#39;wcs_formats&#39;              &#39;GEOTIFF&#39;   <br>      &#39;wcs_enable_request&#39;       &#39;*&#39;<br>      &#39;wcs_rangeset_name&#39;        &#39;Range 1&#39;  ### required to support DescribeCoverage request<br>
      &#39;wcs_rangeset_label&#39;       &#39;Globcorine 2009 classes&#39; ### required to support DescribeCoverage request<br>    END  #end metadata<br>    DATA &#39;/path/GLOBCORINE_Color.tif&#39;<br>#    PROJECTION<br>
#    &#39;proj=longlat&#39;<br>#    &#39;ellps=WGS84&#39;<br>#    &#39;datum=WGS84&#39;<br>#    &#39;no_defs&#39;<br>#    &#39;&#39;<br>#    END #end projection<br><br>#    DUMP TRUE <br>  END  #end layer<br>END #end map<br>
<br><br>I have no xml capabilities file if I set DUMP TRUE in LAYER class, there is a internal server error according to Apache.<br><br>I don`t know if there is a problem with GDAL library or not. I am just be confussed <br>
<br>Any help would be very appreciate. <br><br>Thank you in advance<br><br>Jorge<br><br><br><br><br>