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_myblog&task=view&id=264&Itemid=59&lang=en 2010/11/24 Giuseppe Sucameli <[email protected]> > Hi Santiago, > > On Wed, Nov 24, 2010 at 6:01 PM, Santiago Lastra < > [email protected]> wrote: > >> 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 a directory that contains raster files (of every kind), with >> a check box to give the oportunity to follow the subdirectories of the first >> one. >> > there's an opened ticket yet, see [1] ;) > > - I think it's better to explain my problem and I think you will >> understand the reason of my second proposal. I have directories with up to >> 2000 raster files or even more. If you try the tool as is and if you select >> "add to canvas", it takes several minutes to load and see the virtual raster >> catalog (VRT) into QGIS, but if I zoom in to the right scale QGIS move the >> images very quickly. What I suggest is to add in the dialog the possibility >> to define the "scale dependent visibility" when the VRT is added to the TOC >> of QGIS. >> > Why don't you stop the rendering? So you can set the "scale dependent > visibility" > range using the existent layer properties dialog. > > Simply you can disable it either before you add the layer or while QGis > loads it. > Or maybe did I misunderstand? > > Cheers. > > [1] https://trac.osgeo.org/qgis/ticket/3095 > > > -- > Giuseppe Sucameli > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > -- ----------- |\__ (:>__)( |/ Soluciones Geoinformáticas Libres http://geotux.tuxfamily.org/
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
