-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error accessing external WMS server -- WMS provider: Cannot calculate extent #21788
Comments
Author Name: Giovanni Manghi (@gioman) I confirm the issue, also on master. This was not an issue on 1.8.
|
Author Name: Martin Dobias (@wonder-sk)
|
Author Name: Martin Dobias (@wonder-sk) This is an interesting case... normally WMS servers have one top-level layer, which then contains a bunch of sub-layers. In this case there are multiple top-level layers. Parsing of WMS capabilities in QGIS is a bit messy, so while in some places this is accepted, in others (like calculation of extent) it does not work. The question is whether this is allowed by WMS: in 1.3.0 the XML schema says there is just one top-level layers, in 1.1.1 I am unable to find a statement for or against it (there is no XML schema, just DTD which does not provide such information). The backend server is ERDAS APOLLO. Maybe in this case of multiple top-level layers we could just patch the XML to have one empty top-level layer so that the rest of the code can make the usual assumptions.
|
Author Name: Raul Nanclares (@rnanclares) I just found this bug using geoserver, apparently it only affects version 2.14. Same WMS is working completely fine with 2.8 and 2.12. This WMS has many top-level raster layers but it's only happening on some of the layers not all. http://geo.guadalajara.gob.mx:8080/geoserver/gdlsig/wms? Something that's even weirder the WMTS is working flawlessly. |
Author Name: Richard Duivenvoorde (@rduivenvoorde) I'm experiencing this behaviour here also with an older Geoserver version. BUT with normal capabilities. When I have added a new layer, I get this error. Then sometimes after restarting QGIS, it will load, and after removing or restarting it will not load again... I also did some fiddling with the cache-directory (which is not being saved with me by the way, see #22938) When I set the cache directory I can add the layer, and KEEP being able to add it. |
Author Name: Richard Duivenvoorde (@rduivenvoorde) Ok, definitly has something to do with the caching directory. Adding a fresh layer in (already known) geoserver and trying to load the layer in QGIS I get the error. BUT when I change the cache-directory in the settings to a fresh dir (like /tmp/foo) THEN QGIS just loads the layer... |
Author Name: Richard Duivenvoorde (@rduivenvoorde) Maybe bring back the button 'clean cache'? back again would be helpfull in these cases (if impossible to fix otherways) |
Author Name: Even Rouault (@rouault) Fixed in changeset "1ec7ad5633bf3f34f69851afcb0c258ea28d132f".
|
Author Name: Giovanni Manghi (@gioman) Seems not fixed, see also https://lists.osgeo.org/pipermail/qgis-developer/2016-August/044000.html
|
Author Name: Giovanni Manghi (@gioman) This seems now ok on both 2.18.4 and master.
|
Author Name: Adam Szieberth (@SzieberthAdam) Giovanni Manghi wrote:
Still not fixed in 2.18.6. I had to manually clear cache/data7. |
Author Name: Giovanni Manghi (@gioman) Adam Szieberth wrote:
try with 2.18.13, thanks.
It has been happening in the last versions of QGIS to When adding any layer from "http://www.madrid.org/cartografia/ide/wms/WMS_MAPAS_TOPOGRAFICOS.xml" to QGIS, the following error is shown (in spanish): It has been happening in the last versions of QGIS
|
Author Name: Mario FF (Mario FF)
Original Redmine Issue: 13762
Affected QGIS version: master
Redmine category:web_services_clients/wms
When adding any layer from "http://www.madrid.org/cartografia/ide/wms/WMS_MAPAS_TOPOGRAFICOS.xml" to QGIS, the following error is shown (in spanish):
WMS provider: No se puede calcular la extensión
Raster layer: El proveedor no es válido (proveedor: wms, URL: contextualWMSLegend=0&crs=EPSG:4230&dpiMode=7&featureCount=10&format=image/jpeg&layers=MADRID_38000_2008_2&styles=&url=http://www.madrid.org/cartografia/ide/wms/WMS_MAPAS_TOPOGRAFICOS.xml)
It has been happening in the last versions of QGIS
Related issue(s): #21352 (relates), #22557 (relates)
Redmine related issue(s): 13294, 14589
The text was updated successfully, but these errors were encountered: