Opened 13 years ago

Closed 13 years ago

#1599 closed bug (fixed)

WMS and WFS problems with GeoServer

Reported by: pcav Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.0.3
Component: WMS Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no


A test WMS server is at: , while the WFS one is at:

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: GET /wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=region

while TYPENAME should be psc:region instead.

Change History (3)

comment:1 by mhugent, 13 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


<Format>image/png</Format> <Format>application/atom xml</Format> <Format>application/atom+xml</Format> <Format>application/openlayers</Format> <Format>application/pdf</Format> <Format>application/rss xml</Format> <Format>application/rss+xml</Format> <Format>application/</Format> <Format>application/ xml</Format> <Format>application/</Format> <Format>application/</Format> <Format>application/ xml</Format> <Format>application/</Format> <Format>atom</Format> <Format>image/geotiff</Format> <Format>image/geotiff8</Format> <Format>image/gif</Format> <Format>image/jpeg</Format> <Format>image/png8</Format> <Format>image/svg</Format> <Format>image/svg xml</Format> <Format>image/svg+xml</Format> <Format>image/tiff</Format> <Format>image/tiff8</Format> <Format>kml</Format> <Format>kmz</Format> <Format>openlayers</Format> <Format>rss</Format> <DCPType>



<OnlineResource xmlns:xlink="" xlink:type="simple" xlink:href="http://localhost:8080/geoserver/wms?SERVICE=WMS&amp;"/>





comment:2 by pcav, 13 years ago

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

comment:3 by mhugent, 13 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.