Skip to content
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

Cache result of checking whether axis should be inverted for wms layers #1222

Merged
merged 1 commit into from
Mar 4, 2014

Conversation

nyalldawson
Copy link
Collaborator

This greatly improves speed of connecting to wms layers when a wms server has many available layers. Currently, when I try and connect to a wms which contains ~1000 layers QGIS hangs for a couple of minutes. This hang occurs both when connecting via the add wms layer dialog and after actually adding a wms layer to the map. With this change there's only a couple of seconds wait for connecting/adding layers.
I've also commented out some debug messages which were flooding the log.

…rs. Greatly improves speed of connecting to wms layers when a wms server has many available layers.
jef-n added a commit that referenced this pull request Mar 4, 2014
Cache result of checking whether axis should be inverted for wms layers
@jef-n jef-n merged commit 837642b into qgis:master Mar 4, 2014
@nyalldawson
Copy link
Collaborator Author

@jef-n Thanks Jürgen, Am I ok to push this to the 2.2 branch? It's affected by the same issue.

@nyalldawson nyalldawson deleted the wms_layer_speed branch March 10, 2014 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants