Bug report #10519

Browser: cannot load WMS, due to missing value in FORMAT parameter

Added by luca76 - over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Browser
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:18929

Description

Hi, here's how to reproduce it in qgis master:

If you add it with the normal menu Layer->Add WMS, it works perfectly.

History

#1 Updated by Jürgen Fischer over 6 years ago

  • Priority changed from Severe/Regression to Normal
  • Status changed from Open to Feedback

The GetCapabilities response is apparently flawed (and invalid). It doesn't list the GetMap request and in turn there are no formats for GetMap.

$ xmlpatternsvalidator-qt4 "http://webapps.comune.trento.it/ogc?SERVICE=WMS&REQUEST=GetCapabilities" 
Error XSDError in http://webapps.comune.trento.it/ogc?SERVICE=WMS&REQUEST=GetCapabilities, at line 31, column 126: Element {http://www.opengis.net/wms}Request is missing child element.

#2 Updated by luca76 - over 6 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

Thank you for your good response.

We discovered that in our mapserver mapfile, the wms_enable_request in the WEB section was absent.

Closing as WORKSFORME.

Also available in: Atom PDF