Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#653 closed bug (fixed)

Misplaced WMS layers

Reported by: myardbenoit@… Owned by: homann
Priority: major: does not work as expected Milestone:
Component: WMS Version: 0.8
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Windows Awaiting user input: no

Description

Adding two WMS layers in QGis produces bad output.

In the screenshot, I have 3 layers correspond to 3 unique WMS layers. The background and the boundaries are created from the same dataset (ponet/PAL.shp) whereas the roads are created from their own set (rdline/ARC.shp)

While the background and the boundaries are perfectly aligned, the roads aren't.

NB: Sorry for the poor quality of the screenshot.

Attachments (1)

panama.gif (42.3 KB ) - added by myardbenoit@… 17 years ago.
Screenshot demonstrating the problem

Download all attachments as: .zip

Change History (11)

by myardbenoit@…, 17 years ago

Attachment: panama.gif added

Screenshot demonstrating the problem

comment:1 by homann, 17 years ago

Owner: changed from nobody to homann

Could you please include the adress to the layers, if available?

Also, did you use the 8.1 preview version, and what projection did you set?

comment:2 by myardbenoit@…, 17 years ago

Could you please include the adress to the layers, if available?

Sorry but our MapServer installation is not accissible through the Internet. I could provide you a set Shapefiles, our server's capabilities or even an excerpt of the configuration (ie. don't hesitate to ask).

Also, did you use the 8.1 preview version [...]

Altough you can read 0.8.0 on the screenshot, I tested and encountered this bug on both 0.8.0 and 0.8.1 (preview 2 available at http://qgis.org/uploadfiles/testbuilds/).

[...] , and what projection did you set?

I was using EPSG:4008 -latlong projection and Clarke 1866 ellipsoid- both on the server-side and the client-side.

What makes me think this is a QGis related bug is that when you request the 3 WMS layers in a single request (only 1 layer visible in QGis), the roads are well aligned.

comment:3 by myardbenoit@…, 17 years ago

Milestone: Version 0.8.1Version 0.8
Platform Version: Windows 2000 ProWindows
Version: 0.8.10.8

Seems to be a Windows build related bug. I couldn't reproduce it under Linux with QGis while I did reproduce it on another Windows box.

I will attach a simple example (MapServer configuration & data) for you to reproduce this behavior.

Remember that you have to add the two WMS separately.

comment:4 by myardbenoit@…, 17 years ago

Seems like my tarball is too big. You can fetch it here : http://taudis.fr/stuff/panama.tar.gz

comment:5 by homann, 17 years ago

Resolution: worksforme
Status: newclosed

Thanks for the mapserver files!

I get the same error when trying 0.8.0 on Win2K. On 0.8.1preview2 this works on Win2K, however.

Also works in CVS snapshot on Win2K.

0.8.1 must be installed in a clean directriy, no traces of 0.8.0 should remain. If it still doesn't work for you, please re-open the bug.

comment:6 by myardbenoit@…, 17 years ago

Resolution: worksforme
Status: closedreopened

I'm sorry, but it doesn't work for me (Win XP, QGis 0.8.1preview2, fresh install).

comment:7 by homann, 17 years ago

Milestone: Version 0.8Version 0.8.1

You're right. I've spent hours trying different versions on both Win2K and XP, and 0.8.1per2 doesn't work correctly on either of them. Checking out latest from SVN and compiling does however work.

Wait until next preview/final and see if it works. Until then, we can leave this open.

comment:9 by myardbenoit@…, 17 years ago

Resolution: fixed
Status: reopenedclosed

It works flawlessly now! Amazing job, thanks.

comment:10 by (none), 15 years ago

Milestone: Version 0.8.1

Milestone Version 0.8.1 deleted

Note: See TracTickets for help on using tickets.