You are here:GeoTux»Geo-Blogs»Desktop GIS»Loading layers to QGIS preserving the directory structure

Statistics

Invitados: 51
Usuarios registrados: 3094
Usuarios en línea:
-
Registrados hoy:
-

Register

RSS

Blogs and News:
Recibe las actualizaciones en Geo-Noticias y Geo-Blogs

Get them by e-mail
Recibir Geo-Noticias y Geo-Blogs por e-mail

¿What is this about?

Latest Geo-Tweets

Saturday, 29 November 2014 07:00

Loading layers to QGIS preserving the directory structure

Written by  German Carrillo
Rate this item
(1 Vote)

David Bakeman has made a contribution to the QGIS plugin 'Load Them All', which enables users to load several layers reflecting their directory structure in the QGIS ToC (aka legend or layer tree.)

This functionality is available since version 2.1 of Load Them All, and works for QGIS v.2.x.

 

Imagine that we have Shapefile layers (could be another vector or raster data format) in our hard disk, arranged in this way:

If we want this directory structure to be reflected in the QGIS ToC, we can use Load Them All, go to tab Configuration and activate "Create groups based on directories' names":

Then, we specify the path to the data and the Shapefile format:

After clicking on Ok, we'll see the layers into QGIS, arranged in groups representing the directories:

Load Them All also allows us to apply alphanumeric and/or geometric filters to discard some of the layers before loading a layer set to QGIS. For example, we could load only those layers containing a specific string or only the layers whose geometry type is line, this way:

 

 

More information about Load Them All here.

Last modified on Saturday, 29 November 2014 15:36

Add comment


Security code
Refresh

 

On-line users

Latest Geo-Forums

More Topics »

Latest Comments