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?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
  • 2
    in PyQGIS : print(", ".join([lyr.name() for lyr in QgsProject.instance().mapLayers()]) – J. Monticolo Dec 05 '22 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! – Vantooville Dec 05 '22 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. – J. Monticolo Dec 05 '22 at 21:26
  • Thank you! I might just have to do it myself via python it seems. – Vantooville Dec 05 '22 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 Dec 05 '22 at 23:30
  • @J.Monticolo may refer to this thread : https://gis.stackexchange.com/questions/150611/getting-list-of-layers-names-using-pyqgis/150630#150630 – Taras Dec 06 '22 at 07:10

2 Answers2

3

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

katagena
  • 1,659
  • 1
  • 6
  • 15
3

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

enter image description here

eurojam
  • 10,762
  • 1
  • 13
  • 27