Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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)

wms_project.qgs (4.8 KB ) - added by horst.duester 16 years ago.
test.qgs (5.0 KB ) - added by horst.duester 16 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by jef, 16 years ago

Resolution: fixed
Status: newclosed

should already be fixed with r7350

comment:2 by horst.duester, 16 years ago

Milestone: Version 0.9Version 0.9.1
Resolution: fixed
Status: closedreopened

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 jef, 16 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 horst.duester, 16 years ago

Attachment: wms_project.qgs added

by horst.duester, 16 years ago

Attachment: test.qgs added

comment:4 by horst.duester, 16 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 jef, 16 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 horst.duester, 16 years ago

Resolution: fixed
Status: reopenedclosed

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.

comment:7 by (none), 15 years ago

Milestone: Version 0.9.1

Milestone Version 0.9.1 deleted

Note: See TracTickets for help on using tickets.