git-svn-id: http://svn.osgeo.org/qgis/trunk@13849 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2010-06-30 06:25:52 +00:00
parent 2b4963e00b
commit 3efd24b0a7

View File

@ -2649,10 +2649,9 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
// Compose request to WMS server
QString requestUrl = mGetFeatureInfoUrlBase;
QString layer = QUrl::toPercentEncoding( *it );
//! \todo Need to tie this into the options provided by GetCapabilities
requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( layer );
requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( *it );
requestUrl += QString( "&INFO_FORMAT=%1&X=%2&Y=%3" )
.arg( format ).arg( point.x() ).arg( point.y() );