Bug report #9200
Failure to display orthoimagery on windows in png or jpg format
|Category:||Web Services clients/WMS|
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17828|
Fully reproducible on two qgis 2.0.1 installs on windows, try to load the public 'http://wms.craig.fr/ortho' server, add 'auvergne' layer -> the small icon in the layer list looks broken, and no data is displayed - on the serverside, the request looks perfectly valid, and if i load the generated request in a browser it displays data fine.
http://wms.craig.fr//ortho?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=621667.27140021545346826,6388639.83720535971224308,823080.0557114869588986,6636911.02997468691319227&CRS=EPSG:2154&WIDTH=640&HEIGHT=790&LAYERS=auvergne&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE is the request generated by qgis on windows.
It fails the same with jpg format, but works fine if i select tiff or png24.
Doing the same thing on qgis 2.0.1 on OpenBSD works without issue (for all image formats), so i'd suspect a windows/platform-specific issue in qgis here.
#1 Updated by Giovanni Manghi over 7 years ago
- Category set to Web Services clients/WMS
- Status changed from Open to Feedback
- Target version changed from Version 2.0.0 to Future Release - High Priority
here, on Windows 64bit and qgis 64bit (both 2.0 and master) it works as expected.
The server seems to have a limit about the size/resolution of the image that can be served. If you shrink the qgis window the image will show...
#3 Updated by landry Landry Breuil over 7 years ago
- Target version changed from Future Release - High Priority to Version 2.0.0
yes i have a limit on the server to prevent insane usage (ie MAXSIZE 3600 in mapfile) but the requests made by qgis instances on windows are reasonable in size.. and the exact same request (ie loading the layer, then zooming to its extent) works fine on openbsd.