3

I have a client with many duplicates and redundant layers, we are going through the folders and deleting archiving files.

In ArcGIS Desktop, I select 'List By Data Source' to find out what layers a project contains.

How do I do that in QGIS?

6
  • 2
    in PyQGIS : print(", ".join([lyr.name() for lyr in QgsProject.instance().mapLayers()]) Commented Dec 5, 2022 at 20:36
  • So my only answer is to do it programmatically? I hope not, many of the guys doing this work have no programming skills. Also it looks like a bot edited my post, now I have poor grammar. Also thanks for the reply! Commented Dec 5, 2022 at 20:59
  • I posted it as a comment for you if you needed that without request, for those who are interested and get here, but not as an answer because you didn't talk about Python or code. Commented Dec 5, 2022 at 21:26
  • Thank you! I might just have to do it myself via python it seems. Commented Dec 5, 2022 at 21:47
  • ChangeDataSource plugin gives you the option to see the layer names and their data sources (folder tree). Maybe this is not exactly what you need, but at least it shows the data source for every layer for quick investigation.
    – ahmadhanb
    Commented Dec 5, 2022 at 23:30

2 Answers 2

3

You can use Layer board plugin. You can also export to csv file.

3

There is a native QGIS processing tool "Export Layer(s) information" which should do the task.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.