[mapserver-users] problem in wms service

Yves Jacolin yves.jacolin at camptocamp.com
Tue Aug 16 00:10:03 PDT 2016


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


More information about the mapserver-users mailing list