Many thanks, Matthias and Martin - I got it working exactly as you suggested. Is this the mechanism which QGIS itself uses to determine which features are in the viewport?
I'm running into some performance issue which I thought this would help, but they are not solved yet, so I might soon have a more general question about identifying bottlenecks in PyQGIS code. Tom ----- Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Create-memory-layer-containing-only-features-visible-in-current-canvas-extent-tp5303218p5303381.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
