<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">I noticed later I have missed specifying host in CONNECTION <  CONNECTION "host=localhost  .... </div><div class="gmail_default" style="font-size:small">Do you say map.extent is redundant code and  BBOX is doing same ?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 10:37 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">Ok, I suppose that your working test shows something in the picture?<br>
<br>
I suggest to enable log in your mapfile and check it after running again your<br>
not working example.<br>
<br>
"map.extent=2588830.423584977+<wbr>4061255.6481961836+54<br>
26172.9135307195+5382087.<wbr>496964029" in your request should not be useful.<br>
<br>
Sorry no more idea here. Maybe the log will show you something weird.<br>
<span class="HOEnZb"><font color="#888888"><br>
Y.<br>
</font></span><div class="HOEnZb"><div class="h5">On Tuesday, August 16, 2016 10:20:43 Ahmet Temiz wrote:<br>
> thank you<br>
><br>
> it is png file.<br>
> $display out.png returns blank image.<br>
><br>
> On Tue, Aug 16, 2016 at 10:10 AM, Yves Jacolin <<a href="mailto:yves.jacolin@camptocamp.com">yves.jacolin@camptocamp.com</a>><br>
> wrote:<br>
> > 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&<br>
> ><br>
> > VERSION=1.1.1&REQUEST=<br>
> ><br>
> > > GetMap&map.extent=2588830.<wbr>423584977+4061255.6481961836+<br>
> ><br>
> > 5426172.9135307195+53<br>
> ><br>
> > > 82087.496964029&LAYERS=jeo&<wbr>STYLES=&SRS=EPSG:3857&BBOX=<br>
> ><br>
> > 2588830.423584977,4061<br>
> ><br>
> > > 255.6481961836,5426172.<wbr>9135307195,5382087.496964029&<br>
> ><br>
> > WIDTH=1160&HEIGHT=540&FO<br>
> ><br>
> > > RMAT=image/png"<br>
> > ><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/" rel="noreferrer" target="_blank">http://localhost/cgi-bin/<wbr>mapserv?map=/var/www/ms_map/</a><br>
> ><br>
> > jeo.map&SERVICE=WMS&VER<br>
> ><br>
> > > SION=1.1.1&REQUEST=GetMap&map.<wbr>extent=2588830.423584977+<br>
> ><br>
> > 4061255.6481961836+54<br>
> ><br>
> > > 26172.9135307195+5382087.<wbr>496964029&LAYERS=jeo&STYLES=&<br>
> ><br>
> > SRS=EPSG:3857&BBOX=258<br>
> ><br>
> > > 8830.423584977,4061255.<wbr>6481961836,5426172.9135307195,<br>
> ><br>
> > 5382087.496964029&WIDTH<br>
> ><br>
> > > =1160&HEIGHT=540&FORMAT=image/<wbr>png"<br>
> > ><br>
> > > > out.png<br>
> > ><br>
> > > Can you tell me what the likely reasons are?<br>
> > > regards<br>
> ><br>
> > Hello,<br>
> ><br>
> > Does out.png is a png file or a text file with an error message in it? If<br>
> > so,<br>
> > what is this message? If it is not a png file, is it the mapserv cgi file?<br>
> ><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) : +33 4 58 48 20 43 (new !)<br>
> > Tel (Suisse) : +41 21 619 10 43<br>
> > Mob. : +33 6 18 75 42 21<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>
<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>
</div></div></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>