[Qgis-developer] What's the recommended way to implement a spatial index in Processing algorithms?

Victor Olaya volayaf at gmail.com
Wed Jun 15 03:31:54 PDT 2016


i guess that the spatial index should be created as usual, but, as you
say, only including selected features if the Processing settings is
configured to use only those ones.

I dont see any specific thing about it being a Processing algorithm,
other than that. An even if you create it for the whole layer, it
should be fine (although less efficient)

Any particular problem that you are facing with this?

2016-06-14 12:54 GMT+02:00 Anita Graser <anitagraser at gmx.at>:
> Hi,
>
> Some existing Processing algorithms could be faster by making use of a
> spatial index, e.g. http://hub.qgis.org/issues/15012
>
> What's the recommended way to implement a spatial index in a processing
> algorithm to ensure consistent behavior with other tools (e.g. concerning
> using only selected features)?
>
> Best wishes,
> Anita
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list