[QGIS Commit] r9462 - in trunk/qgis: . src/providers/wms

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Oct 8 18:14:47 EDT 2008


Author: wonder
Date: 2008-10-08 18:14:47 -0400 (Wed, 08 Oct 2008)
New Revision: 9462

Modified:
   trunk/qgis/CONTRIBUTORS
   trunk/qgis/src/providers/wms/qgswmsprovider.cpp
Log:
Fix for #670 from Vita Cizek... thanks!


Modified: trunk/qgis/CONTRIBUTORS
===================================================================
--- trunk/qgis/CONTRIBUTORS	2008-10-08 18:11:19 UTC (rev 9461)
+++ trunk/qgis/CONTRIBUTORS	2008-10-08 22:14:47 UTC (rev 9462)
@@ -26,3 +26,4 @@
 Tyler Mitchell
 Yann Chemin 
 Marco Pasetti
+Vita Cizek

Modified: trunk/qgis/src/providers/wms/qgswmsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wms/qgswmsprovider.cpp	2008-10-08 18:11:19 UTC (rev 9461)
+++ trunk/qgis/src/providers/wms/qgswmsprovider.cpp	2008-10-08 22:14:47 UTC (rev 9462)
@@ -376,8 +376,9 @@
     crsKey = "CRS";
   }
 
-  QString url = baseUrl;
+  QString url = mCapabilities.capability.request.getMap.dcpType.front().http.get.onlineResource.xlinkHref;
 
+  url += "?";
   url += "SERVICE=WMS";
   url += "&";
   url += "VERSION=" + mCapabilities.version;



More information about the QGIS-commit mailing list