Get CRS of All Layers with Python in QGIS 3 | burdGIS

Опубликовано: 05 Октябрь 2024
на канале: burdGIS
1,054
21

Coordinate systems (CRS) are really important in GIS and QGIS. This video shows a quick way to get the CRS of all layers using Python. Here's the script so you can copy and paste if you'd like:

for layer in QgsProject.instance().mapLayers().values():
print(layer.name() + ' ' + layer.crs().authid())

If you enjoyed this video you can support the channel and buy me a coffee using this link:
https://paypal.me/burdGIS

🌐 Visit our site 🌐
http://www.burdgis.com

🌐 Take an online GIS course 🌐
https://www.udemy.com/an-introduction...

🌐 Find us on facebook 🌐
  / burdgis  

Use coinbase as the home for your crypto-currency:
https://www.coinbase.com/join/5c6d098...

I used clips from Stanley Kubrick's 2001: A Space Odyssey and Stanley Kubrick's The Shining in this educational video tutorial. I hope no one minds and given each clip is fair use and less than 10 seconds... we're okay, right?