Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
802 views

Change layer path using PyQGIS

I have a QGIS Project with many raster layers. I need to change/repair all paths since I moved the original data to Another disk. layer = iface.activeLayer() old_path = r'D:/Somefolder_QGIS_200317' ...
Bera's user avatar
  • 77.8k