[QGIS Commit] r9496 - trunk/qgis/src/providers/wms

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Oct 19 15:44:28 EDT 2008


Author: mhugent
Date: 2008-10-19 15:44:28 -0400 (Sun, 19 Oct 2008)
New Revision: 9496

Modified:
   trunk/qgis/src/providers/wms/qgswmsprovider.cpp
Log:
Corrected some script renaming in WMS provider

Modified: trunk/qgis/src/providers/wms/qgswmsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wms/qgswmsprovider.cpp	2008-10-19 19:20:42 UTC (rev 9495)
+++ trunk/qgis/src/providers/wms/qgswmsprovider.cpp	2008-10-19 19:44:28 UTC (rev 9496)
@@ -395,7 +395,7 @@
   url += "&";
   url += "HEIGHT=" + height;
   url += "&";
-  url += "QgsMapLayer::LayerType=" + layers;
+  url += "LAYERS=" + layers;
   url += "&";
   url += "STYLES=" + styles;
   url += "&";
@@ -424,7 +424,7 @@
   mGetFeatureInfoUrlBase += "&";
   mGetFeatureInfoUrlBase += "HEIGHT=" + height;
   mGetFeatureInfoUrlBase += "&";
-  mGetFeatureInfoUrlBase += "QgsMapLayer::LayerType=" + layers;
+  mGetFeatureInfoUrlBase += "LAYERS=" + layers;
   mGetFeatureInfoUrlBase += "&";
   mGetFeatureInfoUrlBase += "STYLES=" + styles;
   mGetFeatureInfoUrlBase += "&";
@@ -2152,7 +2152,7 @@
         QString layer = QUrl::toPercentEncoding( *it );
 
         requestUrl += "&";
-        requestUrl += "QUERY_QgsMapLayer::LayerType=" + layer ;
+        requestUrl += "QUERY_LAYERS=" + layer ;
         requestUrl += "&";
         //! \todo Need to tie this into the options provided by GetCapabilities
         requestUrl += "INFO_FORMAT=text/plain";



More information about the QGIS-commit mailing list