[Qgis-developer] API changes

Brendan Morley morb at beagle.com.au
Wed Apr 4 16:40:42 EDT 2007


On Tue, 2007-04-03 at 21:36 +0200, nhugent at hispeed.ch wrote:
> Hi Martin,
> 
> >- getNextFeature has parameter featureQueueSize. I think this
> >parameter is quite misleading, unused by the code and most providers
> >don't use it. I would suggest removing it and let's use some
> >predefined value for postgres.
> 
> Postgres seems to be the only provider using it. I don't know how important it is for performance there. The strange thing is that it is set from vectorlayer according to the value of mUpdateTreshold, which was originally introduced for screen refresh and not feature queue size. Removing is ok from my side.

Hey, I remember doing that!

It was an optimisation feature.  The reason why it's linked to
mUpdateTreshold is that's most efficient to grab all the Postgres
features for a screen refresh all at once.


Brendan




More information about the Qgis-developer mailing list