[mapserver-users] getting true wcs-dem value

Ahmet Temiz ahmettemiz88 at gmail.com
Mon Oct 19 01:08:49 PDT 2015


hello

I retrieve wcs-dem .

curl --trace -i  -H "Content-Type: application/image" -XGET "
http://127.0.1.1/cgi-bin/mapserv?map=wcs1.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&coverage=dem&CRS=EPSG:4326&BBOX=35.670381,35.813051,44.81901235734796,42.106463&WIDTH=1600&HEIGHT=1066&FORMAT=GTiff"
> dem.tif

But, it generates 3 bands without having any dem value as :

(gdalinfo dem.tif)

Band 1 Block=1600x1 Type=Byte, ColorInterp=Red
Band 2 Block=1600x1 Type=Byte, ColorInterp=Green
Band 3 Block=1600x1 Type=Byte, ColorInterp=Blue

----
shp2img produce proper  results :

Band 1 Block=2707x3 Type=Byte, ColorInterp=Gray

What am I doing possibly wrong ?
What do I have to do to get raw wcs-dem value?

regards


-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151019/bbd334a6/attachment.htm>


More information about the MapServer-users mailing list