Germán, 2010/11/25 Germán Carrillo <[email protected]>
> 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. > the BuildVRT tool add only one layer to canvas. I unable to find the waste of time in cases like this. Instead managing the render flag would be pretty useful in batch tools (e.g. Translate). Thanks a lot, I'm going to improve each batch tool by properly disabling/enabling the render flag while it adds layers to canvas. Cheers. Regards, > > Germán > > 2010/11/24 Giuseppe Sucameli <[email protected]> > >> Hi Germán, >> >> 2010/11/24 Germán Carrillo <[email protected]> >> >> I think you may reuse some code of the Load Them All Plugin [1] to >>> accomplish this. >>> >> what did you mean writing "to accomplish this", to load the layers or >> maybe to do a recursive scan? >> >> Cheers. >> >> >>> 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 >>> >>> >> >> >> -- >> Giuseppe Sucameli >> >> > > > -- > ----------- > |\__ > (:>__)( > |/ > > Soluciones Geoinformáticas Libres > http://geotux.tuxfamily.org/ > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > -- Giuseppe Sucameli
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
