Ticket #487 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

Zero width/height when adding WMS layer to projected project

Reported by: maris.gis@… Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: WMS Version: 0.8
Keywords: Cc:
Platform Version: Platform: Gentoo
Must Fix for Release: No Awaiting user input:

Description

Start QGIS and add some projected vector layer;
Enable on the fly projection;
Add layer from NASA (JPL) WMS server with CRS = WGS84;
Resulting error message below:

Could not draw NASA (JPL) because:
(Unknown error code from a post-1.3 WMS server)
The WMS vendor also reported: 
    Output Width and Height must both be positive
  
This is probably due to a bug in the QGIS program.  Please report this error.
Tried URL: http://wms.jpl.nasa.gov/wms.cgi?SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&BBOX=20.475803,55.118563,28.796298,58.543158&SRS=EPSG:4326&WIDTH=0&HEIGHT=0&LAYERS=daily_aqua&STYLES=&FORMAT=image/jpeg&TRANSPARENT=TRUE

Change History

Changed 6 years ago by wonder

This can be reproduced without an additional layer. Just open QGIS, add WMS layer, then enable projections and choose a different projection. There seems to be a problem in calculating necessary width/height, however I'm not familiar with the calculations.

Changed 6 years ago by gsherman

  • version changed from 0.8 to 0.8.1
  • milestone changed from Version 0.8 Release to Version 0.8.1 Release

Moved to 0.8.1

Changed 6 years ago by g_j_m

  • status changed from new to closed
  • resolution set to fixed

This seems to be fixed now (works for me), possibly as a result of fixing ticket #474. If not, please reopen.

Changed 6 years ago by timlinux

  • version changed from 0.8.1 to 0.8

Changed version to 0.8.0 since version 0.8.1 is not released yet...

Changed 4 years ago by anonymous

  • milestone Version 0.8.1 deleted

Milestone Version 0.8.1 deleted

Note: See TracTickets for help on using tickets.