Skip to content
Permalink
Browse files
Fix for quantile generation bug. The problem was that feature cursor …
…was not reset in select method of ogr provider

git-svn-id: http://svn.osgeo.org/qgis/trunk@9488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 17, 2008
1 parent 39e648a commit 029adf2bc1daaf19c69fbef3785b3c4e9fa4f6db
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -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 );
}


0 comments on commit 029adf2

Please sign in to comment.