Bug report #7962

wms client does not work on master if request has map.resolution parameter

Added by Giovanni Manghi over 10 years ago. Updated over 10 years ago.

Assignee:Radim Blazek
Category:Web Services clients/WMS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:16821


this work on 1.8 but not on master



#1 Updated by Radim Blazek over 10 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

The server gives

getDouble(): Symbol definition error. Parsing error near (96):(line 1)

with MAP_RESOLUTION=96 parameter. QGIS currently add 3 resolution params for various server:
  • DPI for QGIS server
  • MAP_RESOLUTION for UMN Mapserver
  • FORMAT_OPTIONS=dpi:xx for Geoserver

It seems that Grafcan server (idecv2.grafcan.es) recognizes the MAP_RESOLUTION parameter (fails with anything starting with MAP_RESOLUTION) but it fails to parse the value.

Grafcan server reports in capabilities "MapServer 5.0 vg 1.6 GRAFCAN 2008", most probably it is UMN Mapserver 5.0 modified by Grafcan.

This problem with UMN MS 5.0 was reported here http://lists.osgeo.org/pipermail/mapserver-users/2008-January/027293.html

It is server bug, not a QGIS client issue.

Also available in: Atom PDF