Bug report #6939
Inconsistent CRS handling when adding WMS
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Web Services clients/WMS | ||
Affected QGIS version: | 1.8.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16052 |
Description
I'm using 1.8.0 to connect to a GeoServer 2.2.2 - WMS 1.3.0.
I'm adding raster layers that have a declared and native projection in GeoServer of 27700 - British National Grid.
When I first bring up the "Add Layer(s) from Server" dialog for WMS and click a layer, the CRS is "WGS 84". Ok, that's also an acceptable CRS because its declared in GetCapabilities.
So I change it to 27700,n add the layer, then close the dialog. It appears just fine.
But then I go back into the "add layers" dialog and connect to the server again.
This time when I click on any of the layers, they're showing a projection of 27700.
HOWEVER - If I select a layer (make it blue), then deselect the layer, then select a layer again, it's back to WGS 84!
Surely it should stay as 27700 given that's now the project projection and is a support projection by the layer?
Related issues
Associated revisions
use project projections instead of WGS84 for WMS crs preselection (fixes #6939)
History
#1 Updated by Jürgen Fischer almost 12 years ago
Are all layers available in 27700? Once you select layers that don't have the current crs selection commonly available the CRS switches to the first commonly available CRS of the selected layer or WGS84 if there isn't any.
#2 Updated by Jonathan Moules almost 12 years ago
- File geoserver-GetCapabilities.xml added
Yep. Absolutely every single layer is available in 27700. Its the native format for all of our data.
You can see the get capabilities yourself in the attached which confirms this.
#3 Updated by Jürgen Fischer almost 12 years ago
- Status changed from Open to Closed
Fixed in changeset a575711f1988afb2bf058d25331eef48dd56508a.
#4 Updated by Jonathan Moules almost 12 years ago
Wow, that was fast! Thanks. :-D