Bug report #1599

WMS and WFS problems with GeoServer

Added by Paolo Cavallini almost 14 years ago. Updated over 13 years ago.

Assignee:nobody -
Category:Web Services clients/WMS
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11659


A test WMS server is at: http://www.lucamorandini.it/geoserver/wms , while
the WFS one is at:http://www.lucamorandini.it/geoserver/wfs

As I see it. there are two issues when Quantum GIS and Geoserver interact:
1) QGIS does not retrieve all available styles when listing WMS layers
to be added, only the first one ("burg", in this case) is shown; if that
style is not applicable to the chosen WMS layer, the layer won't show.

2) QGIS does not prefix WFS requests with the proper namespace, for
instance it asks for:

while TYPENAME should be psc:region instead.


#1 Updated by Marco Hugentobler almost 14 years ago

One problem with the WMS server is that it states the url for GetMap requests to be

http://localhost/... (see below)
where it should be http://www.lucamorandini.it/geoserver/wms

<Format>application/atom xml</Format>
<Format>application/rss xml</Format>
<Format>application/vnd.google-earth.kml xml</Format>
<Format>application/vnd.google-earth.kmz xml</Format>
<Format>image/svg xml</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost:8080/geoserver/wms?SERVICE=WMS&"/>

#2 Updated by Paolo Cavallini almost 14 years ago

Luca has corrected the issue with host name and path returned from GetCapabilities (now the OnlineResource attribute points to: www.lucamorandini.it/geoserver), please check.

#3 Updated by Marco Hugentobler over 13 years ago

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

And issue 3) is that the WFS server does not provide information about the layer extent. So 69c5d8e0 (SVN r10698) contains a failback method to calculate the layer extent if wfs server does not provide one.

Also available in: Atom PDF