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/qgis@9488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 17, 2008
1 parent 683c708 commit cc7afd004cd03946ec15ec16f3f103460d60a8c0
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 cc7afd0

Please sign in to comment.