[Qgis-user] QGis WMS problem

M. LATTES ml at interatlas.fr
Thu Feb 28 05:42:09 PST 2013


Yves,

I have checked the url you send back to me and I think you're right it's a content type problem (application/octet-stream rather image/jpeg) .

There is another problem, there is a double "&&" in the query that generate an Error 500 on our server (I will handle this later) and when doing this query (without "&&"), I have the content type "application/octet-stream" : 

http://www.urbimap.com/API/ShockymapServer.dll?WMSServices&LOG=qgis&PWD=qgis&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=628135.343587,6839371.986833,677524.639209,6883760.147550&SRS=EPSG:2154&WIDTH=626&HEIGHT=562&LAYERS=IA-
Cup_Petite_Couronne_2012_L1N&STYLES=&FORMAT=image/jpeg&DPI=96&TRANSPARENT=TRUE

Can you confirm it from your side ?

Regards.


Mathieu LATTES



-----Message d'origine-----
De : qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] De la part de M. LATTES
Envoyé : jeudi 28 février 2013 14:17
À : 'Yves Jacolin (Free)'; qgis-user at lists.osgeo.org
Objet : Re: [Qgis-user] QGis WMS problem

Thanks Yves,

It sounds strange for me as I have already captured the http packet with Wireshark and saw the jpeg content type, but I will double check.

Regards.

Mathieu LATTES



-----Message d'origine-----
De : Yves Jacolin (Free) [mailto:yjacolin at free.fr] Envoyé : jeudi 28 février 2013 13:53 À : qgis-user at lists.osgeo.org Cc : M. LATTES; 'Andres Kärk'
Objet : Re: [Qgis-user] QGis WMS problem

Hello,

I think I was right in my last email:

curl -I
"http://geobretagne.fr/geoserver/bzh/wms?SERVICE=WMS&LAYERS=bzh%3Aligne_ferroviaire_rff&TRANSPARENT=true&VERSION=1.1.1&FORMAT=image%2Fpng&REQUEST=GetMap&STYLES=&SRS=EPSG%3A2154&BBOX=83000,6700000,239542.94936681,6856542.9493668&WIDTH=512&HEIGHT=512"

Content-Type: image/png

curl -I
"http://www.urbimap.com/API/ShockymapServer.dll?WMSServices&LOG=qgis&PWD=qgis&&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=628135.343587,6839371.986833,677524.639209,6883760.147550&SRS=EPSG:2154&WIDTH=626&HEIGHT=562&LAYERS=IA-
Cup_Petite_Couronne_2012_L1N&STYLES=&FORMAT=image/jpeg&DPI=96&TRANSPARENT=TRUE"

no content type

Y.
Le jeudi 28 février 2013 13:30:34 M. LATTES a écrit :
> Hi Andres,
> 
> 
> 
> thanks for your answer, but it's the same issue with the version in 
> the connection string.
> 
> 
> 
> Regards.
> 
> 
> 
> Mathieu LATTES
> 
> 
> 
> De : Andres Kärk [mailto:andres.kark1 at gmail.com] Envoyé : jeudi 28 
> février 2013 13:17 À : M. LATTES Cc : qgis-user at lists.osgeo.org Objet
> : Re: [Qgis-user] QGis WMS problem
> 
> 
> 
> Add ?version=1.1.1 to connection string Regards Andres Kärk
> 
> On Thu, Feb 28, 2013 at 1:44 PM, M. LATTES <ml at interatlas.fr> wrote:
> 
> Hi Everybody,
> 
> 
> 
> My company provide high resolution aerial survey imgagery of France 
> for some client through our WMS.
> 
> In QGis 1.6.0 our WMS was working fine, but since 1.7.0 (and still now 
> on
> 1.8.0) it's impossible to display our WMS in QGis.
> 
> 
> 
> I don't know if WMS is handled by GDAL or natively by QGis, but was 
> there any change made to WMS management between this 1.6.0 and 1.7.0 
> version that can explain this issue ?
> 
> I precise that we didn't change anything in our WMS API (We provide 
> WMS protocol on version 1.1.1).
> 
> 
> 
> In the status bar, I can see that all the bytes of the image are 
> loaded, but QGis didn't succeed in rendering it.
> 
> 
> 
> The error in QGis  is :  "Réponse :    "
> 
> 
> 
> I think it's maybe a jpeg decoding issue but I'm not sure...
> 
> 
> 
> http://www.urbimap.com/API/ShockymapServer.mps?WMSService
> <http://www.urbimap.com/API/ShockymapServer.mps?WMSService&LOG=qgis&PW
> D=qgi
> s> &LOG=qgis&PWD=qgis
> 
> 
> 
> Any help is welcome.
> 
> 
> 
> Regards.
> 
> 
> 
> Mathieu LATTES
> 
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list