Jonathan Moules <jonathanmoules@...> writes: > > > Hi List, > Before I report this one as a bug I want to see if it's just me. > > I'm trying to access the WMS layer from the UK Land registry here: > > http://inspire.landregistry.gov.uk/inspire/ows > > > (note: It only shows when zoomed in closer than 15k.) > > This works fine in ArcMap and an OpenLayers client but doesn't in QGIS. Once I've added the layer (the GetCapabilities is fine) my error log says: > > > > Map request error (Status: 200; Response: �PNG; Content-Type: ; URL:http://uatinspire.landregistry.gov.uk/u1c/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=433672.13541449012700468,361044.86458240094361827,437939.86458550987299532,362873.13541759905638173&CRS=EPSG:27700&WIDTH=1613&HEIGHT=691&LAYERS=inspire:CP.CadastralParcel&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE) > > > But that URL works just fine in a web-browser. > > > Does it work for anyone else? I've tried both 2.0 and the latest weekly. > > Cheers, > Jonathan
Hi, This service works also with OpenJUMP. However, you must not use the advertised GetMap URL but the same base URL that is used for GetCapabilities. But it does not help to check the corresponding box in QGIS settings. I checked that service is sending valid image data back to QGIS but for some reason QGIS throws an error. Perhaps it does not like the response headers? Is it awaiting for content type, which seems to miss. QGIS gives the same error with text "Response: �PNG;" even if I use &format=image/jpeg in request and then server is also sending back a jpeg image. Here is the beginning of the raw data that comes from the server. HTTP/1.0 200 OK Date: Wed, 11 Dec 2013 09:19:30 GMT p3p: CP="NON CUR OTPi OUR NOR UNI" X-CFLO-Cache-Result: TCP_NC_MISS Content-Length: 69585 X-Cache: MISS from our.cache.fi Proxy-Connection: keep-alive Image data begins ================= -Jukka Rahkonen- _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user