Re: [Qgis-developer] Does spatial index improve performance using the class QgsGeometry.intersects()?

2013-11-06 Thread Stefano Masera
: Lunedì, 4 novembre 2013 15:55:25 Oggetto: Re: [Qgis-developer] Does spatial index improve performance using the class QgsGeometry.intersects()? Try it http://nathanw.net/2013/01/04/using-a-qgis-spatial-index-to-speed-up-your-code/ Best regards. On Mon, Nov 4, 2013 at 9:16 AM, Stefano

[Qgis-developer] Does spatial index improve performance using the class QgsGeometry.intersects()?

2013-11-04 Thread Stefano Masera
Hi list, I don't know exactly how spatial index works, so I ask this question. I have two layers and I want to check which features of the first layer intersect the features of the second one. I write a simple script where I create the spatial index for both themes and I use the class

Re: [Qgis-developer] Does spatial index improve performance using the class QgsGeometry.intersects()?

2013-11-04 Thread Daniel
Try it http://nathanw.net/2013/01/04/using-a-qgis-spatial-index-to-speed-up-your-code/ Best regards. On Mon, Nov 4, 2013 at 9:16 AM, Stefano Masera stefano.mas...@arpa.piemonte.it wrote: Hi list, I don't know exactly how spatial index works, so I ask this question. I have two layers and