Skip to content

Commit

Permalink
Fix for quantile generation bug. The problem was that feature cursor …
Browse files Browse the repository at this point in the history
…was not reset in select method of ogr provider

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 17, 2008
1 parent 683c708 commit cc7afd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -361,6 +361,9 @@ void QgsOgrProvider::select( QgsAttributeList fetchAttributes, QgsRect rect, boo
OGR_L_SetSpatialFilter( ogrLayer, filter );
OGR_G_DestroyGeometry( filter );
}

//start with first feature
OGR_L_ResetReading( ogrLayer );
}


Expand Down

0 comments on commit cc7afd0

Please sign in to comment.