[mapserver-users] Help with wcs output format

Thomas Bonfort thomas.bonfort at gmail.com
Fri Jan 17 02:28:44 PST 2014


Where does your FORMAT=GTiff come from? Try with FORMAT=image/tiff or FORMAT=GEOTIFF_16

--
thomas

On 17 janv. 2014, at 11:25, Andrea Peri <aperi2007 at gmail.com> wrote:

> Hi,
> 
> I'm try to set a wcs server using mapserver.
> using mapserver-trunk version.
> 
> I try to set an output of kind FLOAT 32 GDAL/Tiff
> 
> To do this I use this setting:
> 
>   OUTPUTFORMAT
>     NAME GEOTIFF_16
>     DRIVER "GDAL/GTiff"
>     MIMETYPE "image/tiff"
>     IMAGEMODE FLOAT32
>     EXTENSION "tif"
>   END
> 
> and at layer level I set this values:
> 
>       "wcs_srs" "EPSG:3003"
>       "wcs_resolution" "75 75"
>       "wcs_bandcount" "1"
>       "wcs_formats" "GDAL/GTiff AAIGrid"
>       "wcs_nativeformat" "     AAIGrid "
>       "wcs_rangeset_name"  "Range 1"
>       "wcs_rangeset_label" "My Lable"
> 
> But when I retrieve the image,
> 
> www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wcsdem&&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=GTiff&COVERAGE=rt_dem.iddtm.10m.rt&BBOX=1552445.86499726003967226,4672361.01880083978176117,1787087.97314971010200679,4930453.35410698968917131&CRS=EPSG:3003&RESPONSE_CRS=EPSG:3003&WIDTH=490&HEIGHT=538
> 
> I retrieve an 8bit tif.
> :(
> 
> Perhaps is missing something in definition ?
> 
> Thx
> 
> 
> -- 
> -----------------
> Andrea Peri
> . . . . . . . . . 
> qwerty àèìòù
> -----------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list