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 committed Aug 30, 2011
1 parent 9a744a2 commit a3797dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgswmsserver.cpp
Expand Up @@ -1221,6 +1221,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
provider->select( provider->attributeIndexes(), searchRect, addWktGeometry || featureBBox, true );
while ( provider->nextFeature( feature ) )
{
++featureCounter;
if ( featureCounter > nFeatures )
{
break;
Expand Down

0 comments on commit a3797dd

Please sign in to comment.