Skip to content
Permalink
Browse files

remove unneeded code

  • Loading branch information
tomtor committed Dec 1, 2015
1 parent ae4a15d commit 2305b90ab1c4d809d53956237c58512e861383b2
Showing with 0 additions and 13 deletions.
  1. +0 −13 src/providers/wfs/qgswfsprovider.cpp
@@ -287,19 +287,6 @@ QgsFeatureIterator QgsWFSProvider::getFeatures( const QgsFeatureRequest& request
if ( !( request.flags() & QgsFeatureRequest::NoGeometry ) && !rect.isEmpty() )
{
deleteData();
mGetExtent = rect;

QString dsURI = dataSourceUri();
dsURI = dsURI.replace( QRegExp( "BBOX=[^&]*" ),
QString( "BBOX=%1,%2,%3,%4" )
.arg( qgsDoubleToString( rect.xMinimum() ) )
.arg( qgsDoubleToString( rect.yMinimum() ) )
.arg( qgsDoubleToString( rect.xMaximum() ) )
.arg( qgsDoubleToString( rect.yMaximum() ) ) );
//TODO: BBOX may not be combined with FILTER. WFS spec v. 1.1.0, sec. 14.7.3 ff.
// if a FILTER is present, the BBOX must be merged into it, capabilities permitting.
// Else one criterion must be abandoned and the user warned. [WBC 111221]
setDataSourceUri( dsURI );
reloadData();
}
return new QgsWFSFeatureIterator( new QgsWFSFeatureSource( this ), true, request );

0 comments on commit 2305b90

Please sign in to comment.
You can’t perform that action at this time.