Re: [Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-25 Thread Giuseppe Sucameli
2010/11/25 Germán Carrillo carrillo.ger...@gmail.com The waste of time occurs when you call the add layer methods (either vector or raster) several times and the QGIS canvas is refreshed once by layer, so you can see every layer refreshing the canvas unnecesarily. For me it's certainly a

[Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-24 Thread Santiago Lastra
Hi everybody. Recently I've found this very interesting and useful tool, at least for me. I will propose two ways to improve the tool: - The tool right now offers the user the possibility to select as many files as he wants inside a directory. I propose to give also the possibility to define only

Re: [Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-24 Thread Giuseppe Sucameli
Hi Santiago, On Wed, Nov 24, 2010 at 6:01 PM, Santiago Lastra santiago.las...@gmail.comwrote: Recently I've found this very interesting and useful tool, at least for me. I will propose two ways to improve the tool: - The tool right now offers the user the possibility to select as many files

Re: [Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-24 Thread Germán Carrillo
Hi all, I think you may reuse some code of the Load Them All Plugin [1] to accomplish this. Regards, Germán --- [1] http://geotux.tuxfamily.org/index.php?option=com_myblogtask=viewid=264Itemid=59lang=en 2010/11/24 Giuseppe Sucameli sucam...@faunalia.it Hi Santiago, On Wed,

Re: [Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-24 Thread Germán Carrillo
Giuseppe, I mean, the Load Them All plugin receives a base directory and an extension (e.g. GML) to look for layers in the base directory and in its subdirectories. It also loads those layers to QGIS by managing the canvas setRenderFlag method to avoid an unnecessary waste of time in the process.

Re: [Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-24 Thread Giuseppe Sucameli
Germán, 2010/11/25 Germán Carrillo carrillo.ger...@gmail.com I mean, the Load Them All plugin receives a base directory and an extension (e.g. GML) to look for layers in the base directory and in its subdirectories. It also loads those layers to QGIS by managing the canvas setRenderFlag

Re: [Qgis-developer] Plugin GdalTools - Build Virtual Raster (catalog) idea to develop

2010-11-24 Thread Germán Carrillo
The waste of time occurs when you call the add layer methods (either vector or raster) several times and the QGIS canvas is refreshed once by layer, so you can see every layer refreshing the canvas unnecesarily. For me it's certainly a waste of time. Anyway, QGIS manages this in an appropriate way