Skip to content

Commit

Permalink
Fix feature_count consideration in wms feature info
Browse files Browse the repository at this point in the history
  • Loading branch information
marco authored and timlinux committed Sep 7, 2011
1 parent d01c624 commit a30c202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgswmsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
provider->select( provider->attributeIndexes(), searchRect, addWktGeometry, true );
while ( provider->nextFeature( feature ) )
{
++featureCounter;
if ( featureCounter > nFeatures )
{
break;
Expand Down

0 comments on commit a30c202

Please sign in to comment.