[mapserver-users] problem in wms service

Ahmet Temiz ahmettemiz88 at gmail.com
Tue Aug 16 00:20:43 PDT 2016


thank you

it is png file.
$display out.png returns blank image.

On Tue, Aug 16, 2016 at 10:10 AM, Yves Jacolin <yves.jacolin at camptocamp.com>
wrote:

> On Tuesday, August 16, 2016 10:07:40 Ahmet Temiz wrote:
> > Hi,
> >
> > I am testing my wms, postgis layer it works with QUERY_STRING but not
> > displays anything with curl and QGIS.
> >
> > ** It works
> >
> > mapserv -nh
> > "QUERY_STRING=map=/var/www/ms_map/jeo.map&SERVICE=WMS&
> VERSION=1.1.1&REQUEST=
> > GetMap&map.extent=2588830.423584977+4061255.6481961836+
> 5426172.9135307195+53
> > 82087.496964029&LAYERS=jeo&STYLES=&SRS=EPSG:3857&BBOX=
> 2588830.423584977,4061
> > 255.6481961836,5426172.9135307195,5382087.496964029&
> WIDTH=1160&HEIGHT=540&FO
> > RMAT=image/png"
> > > out.png
> >
> > -----
> > ** it doesn't work
> >
> > curl --trace -i -X GET -H "Content-Type: image/png" "
> > http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/
> jeo.map&SERVICE=WMS&VER
> > SION=1.1.1&REQUEST=GetMap&map.extent=2588830.423584977+
> 4061255.6481961836+54
> > 26172.9135307195+5382087.496964029&LAYERS=jeo&STYLES=&
> SRS=EPSG:3857&BBOX=258
> > 8830.423584977,4061255.6481961836,5426172.9135307195,
> 5382087.496964029&WIDTH
> > =1160&HEIGHT=540&FORMAT=image/png"
> > > out.png
> >
> > Can you tell me what the likely reasons are?
> > regards
>
> Hello,
>
> Does out.png is a png file or a text file with an error message in it? If
> so,
> what is this message? If it is not a png file, is it the mapserv cgi file?
>
> Y.
> --
> Responsable Formation et Support
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
> Tel (France) : +33 4 58 48 20 43 (new !)
> Tel (Suisse) : +41 21 619 10 43
> Mob. : +33 6 18 75 42 21
> Fax : 04 79 70 15 81
> Mail : yves.jacolin at camptocamp.com
> http://www.camptocamp.com
>



-- 
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/20160816/0e83f09f/attachment.html>


More information about the mapserver-users mailing list