#795 closed bug (fixed)
WMS Connection doesn't reload from saved project
Reported by: | horst.duester | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | WMS | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | RedHat |
Platform Version: | Awaiting user input: | yes |
Description
When I reload a saved project which contains WMS layer, these layer appear in the table of contens but they are not shown in the mapcanvas.
Attachments (2)
Change History (9)
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Milestone: | Version 0.9 → Version 0.9.1 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
For me it doesn't work with rev. 7359. Are there any dependencies to other libs like GDAL? Is a special GDAL rev. assumed?
comment:3 by , 17 years ago
Awaiting user input: | set |
---|
If the WMS layer doesn't show only on reload of the project, but is fine before, I wouldn't expect a dependency problem.
Can you supply a testcase to reproduce the problem?
by , 17 years ago
Attachment: | wms_project.qgs added |
---|
by , 17 years ago
comment:4 by , 17 years ago
Loading of a rev. 7359 stored project works for me now too. (see test.qgs) Loadings of a pre rev. 7359 stored project doesnt work. (see wms_project.qgs)
Lets have a look at this behavior. Maybe we can close this ticket.
comment:5 by , 17 years ago
I can load (and see) both in r7359. In the diff between the old and new project file I see that the geographicflag in the SRS of the layer changes from true to false.
What happens if you change that?
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
mmm...
The essential difference of the two project files is the <wmsFormat></wmsFormat> Tag. The non working file says <wmsFormat>image/gif</wmsFormat> and the working file says <wmsFormat>image/png</wmsFormat>. The mentioned WMS doesn't deliver gif images, only png and jpeg. Of course QGIS is not able to load this wms.
The latest rev. 7395 saves the <wmsFormat> tag in the correct way. Perhaps there is a bug in former revisions.
should already be fixed with r7350