[QGIS-Developer] Enumerating QGIS data sources using python

Bo Victor Thomsen bo.victor.thomsen at gmail.com
Wed Nov 13 03:55:03 PST 2019


Hi list members --

Is it possible to enumerate the data sources shown in the QGIS "Data 
Source Manager" dialog, tab"Browser" using python ?  I can't find any 
documentation for it.

My intension was to enumerate file-based datasources in a particular 
directory and maybe further enumerate through a specific file in the 
chosen directory (ex. a geopackage) containing several data layers.

-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen



More information about the QGIS-Developer mailing list