<div dir="ltr"><div class="gmail_default" style="font-size:small">thank you</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">it is png file. </div><div class="gmail_default" style="font-size:small">$display out.png returns blank image.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 10:10 AM, Yves Jacolin <span dir="ltr"><<a href="mailto:yves.jacolin@camptocamp.com" target="_blank">yves.jacolin@camptocamp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday, August 16, 2016 10:07:40 Ahmet Temiz wrote:<br>
> Hi,<br>
><br>
> I am testing my wms, postgis layer it works with QUERY_STRING but not<br>
> displays anything with curl and QGIS.<br>
><br>
> ** It works<br>
><br>
> mapserv -nh<br>
> "QUERY_STRING=map=/var/www/ms_<wbr>map/jeo.map&SERVICE=WMS&<wbr>VERSION=1.1.1&REQUEST=<br>
> GetMap&map.extent=2588830.<wbr>423584977+4061255.6481961836+<wbr>5426172.9135307195+53<br>
> 82087.496964029&LAYERS=jeo&<wbr>STYLES=&SRS=EPSG:3857&BBOX=<wbr>2588830.423584977,4061<br>
> 255.6481961836,5426172.<wbr>9135307195,5382087.496964029&<wbr>WIDTH=1160&HEIGHT=540&FO<br>
> RMAT=image/png"<br>
> > out.png<br>
><br>
> -----<br>
> ** it doesn't work<br>
><br>
> curl --trace -i -X GET -H "Content-Type: image/png" "<br>
> <a href="http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/jeo.map&SERVICE=WMS&VER" rel="noreferrer" target="_blank">http://localhost/cgi-bin/<wbr>mapserv?map=/var/www/ms_map/<wbr>jeo.map&SERVICE=WMS&VER</a><br>
> SION=1.1.1&REQUEST=GetMap&map.<wbr>extent=2588830.423584977+<wbr>4061255.6481961836+54<br>
> 26172.9135307195+5382087.<wbr>496964029&LAYERS=jeo&STYLES=&<wbr>SRS=EPSG:3857&BBOX=258<br>
> 8830.423584977,4061255.<wbr>6481961836,5426172.9135307195,<wbr>5382087.496964029&WIDTH<br>
> =1160&HEIGHT=540&FORMAT=image/<wbr>png"<br>
> > out.png<br>
><br>
> Can you tell me what the likely reasons are?<br>
> regards<br>
<br>
</span>Hello,<br>
<br>
Does out.png is a png file or a text file with an error message in it? If so,<br>
what is this message? If it is not a png file, is it the mapserv cgi file?<br>
<span class="HOEnZb"><font color="#888888"><br>
Y.<br>
--<br>
Responsable Formation et Support<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
Tel (France) : <a href="tel:%2B33%204%2058%2048%2020%2043" value="+33458482043">+33 4 58 48 20 43</a> (new !)<br>
Tel (Suisse) : <a href="tel:%2B41%2021%20619%2010%2043" value="+41216191043">+41 21 619 10 43</a><br>
Mob. : <a href="tel:%2B33%206%2018%2075%2042%2021" value="+33618754221">+33 6 18 75 42 21</a><br>
Fax : 04 79 70 15 81<br>
Mail : <a href="mailto:yves.jacolin@camptocamp.com">yves.jacolin@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" rel="noreferrer" target="_blank">http://www.camptocamp.com</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ahmet Temiz<br>Jeoloji Müh.<br>Afet ve Acil Durum Yönetimi Başkanlığı<br>Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu<br><br><br>________________________<br><br>Ahmet Temiz<br>Geological Eng.<br>Information Systems - GIS Group<br>Disaster and Emergency Management<br>of Presidency</div></div></div></div></div>
</div>