QGIS Python Tutorial (PyQGIS Tutorial)

  Рет қаралды 35,068

Geospatial School

Geospatial School

Жыл бұрын

Learn how to automate QGIS tasks and workflows with Python. This tutorial will demonstrate basic operations with vector and raster data using the QGIS Python API. For code, data, and more tutorials, check out the links below.
Step-by-step instructions with code: opensourceoptions.com/blog/qg...
Full QGIS Python course: geospatialschool.com/courses/...

Пікірлер: 31
@niampahamidou8931
@niampahamidou8931 Жыл бұрын
Thanks for this Nice video. Let's go for the next one.
@hamzajirah4856
@hamzajirah4856 10 ай бұрын
As someone with a background in programming, I find this too be very useful. Thanks for the resource.
@geospatialschool
@geospatialschool 10 ай бұрын
You're very welcome!
@pythonGIS
@pythonGIS Жыл бұрын
Thank you for sharing!
@eduardorojas7130
@eduardorojas7130 Жыл бұрын
Excelente! Thanks
@ganesanjan
@ganesanjan Жыл бұрын
nice one 🤝
@oswevega2939
@oswevega2939 Жыл бұрын
thanks !
@houssamzrhalla2773
@houssamzrhalla2773 Жыл бұрын
Thank youuu , im wondering if u can create more videos about symbolozing : create custom symbols , Strach Fill with Marker symbols etc…
@phanindrachitturi1700
@phanindrachitturi1700 Жыл бұрын
Appreciate your content 👍 keep going...!
@geospatialschool
@geospatialschool Жыл бұрын
Thank you! Will do!
@l.or.e7621
@l.or.e7621 17 күн бұрын
hello thanks for the video, I am not clear on the passage at minute 22, when you delcare the geometry. I am used to geopandas and so it is done: gdf = geopandas.GeoDataFrame(d, crs=“EPSG:4326”) instead with pyqgis i saw that it didn't declare any geometry, how does works? is there a default geometry or would it be best practice to declare one?
@Dominator3727
@Dominator3727 5 ай бұрын
thank you
@geospatialschool
@geospatialschool 5 ай бұрын
You're welcome
@na2sprod421
@na2sprod421 Жыл бұрын
From your point of view, any examples of processes that could be automated with pyqgis?
@geospatialschool
@geospatialschool Жыл бұрын
The main thing would be repetitive workflows with multiple tasks.
@Nagul.1
@Nagul.1 5 ай бұрын
How to use in Road features Database??
@gtj1
@gtj1 Жыл бұрын
It seems it would be less time consuming and simpler for me to use the geoprocessing tools in Q-GIS to do this stuff instead of using Python. Am I missing the point? I enjoyed and appreciate the tutorial video. :)
@geospatialschool
@geospatialschool Жыл бұрын
If you're building a plugin to extend the functionality of QGIS or have a pipeline you need to run multiple times and get consistent results you'd want to automate it
@gtj1
@gtj1 Жыл бұрын
@@geospatialschool Thank you.
@eduardorojas7130
@eduardorojas7130 Жыл бұрын
Can you make a tutorial of how read/use the PyQGIS API documentation?
@walterfrenguelli5421
@walterfrenguelli5421 Жыл бұрын
Hey man, there´s a book named "The PyQGIS Programmer's guide", wrote by Gary Sherman, maybe that's what you need
@geospatialschool
@geospatialschool Жыл бұрын
I also have a full course on PyQGIS that goes much more in depth in the documentation: geospatialschool.com/courses/qgis-python-scripting-with-pyqgis/
@walterfrenguelli5421
@walterfrenguelli5421 Жыл бұрын
@@geospatialschool Thanks fellow!!
@tapasranjan3655
@tapasranjan3655 3 ай бұрын
Hi geospatial school. I am interested in enrolling to "next level qgis program". Whether I ll get help during the course if I face problems?
@geospatialschool
@geospatialschool 3 ай бұрын
Hello! I've tried to price the courses at an affordable price so that they are accessible to all. Because of that I can't offer 1 on 1 support. However, if you find issues with the course material, I will fix those.
@kentthomas1045
@kentthomas1045 6 ай бұрын
can PyQGIS be used from Python itself?
@geospatialschool
@geospatialschool 6 ай бұрын
Yes. You must have the packages installed on your Python environment, which can be difficult to do, depending on your operating system. But you could make a copy the QGIS Python env and make changes to that.
@djordjespasic2179
@djordjespasic2179 6 ай бұрын
Hi @@geospatialschool . Thank you for the very useful video! Do you mind if I ask which packages are needed to be installed? Is there some guide which shows how to run PyQGIS from Python itself, instead of using the QGIS Python console?
@geospatialschool
@geospatialschool 6 ай бұрын
@@djordjespasic2179 You need to run PyQGIS using the Python interpreter that comes with QGIS. If you want to do GIS analysis with Python outside of QGIS then you're better off using libraries like geoapndas, gdal, rasterio, etc.
@djordjespasic2179
@djordjespasic2179 6 ай бұрын
@@geospatialschool Thank you for the reply.
@djordjespasic2179
@djordjespasic2179 5 ай бұрын
@@geospatialschoolThank you. I thought QGIS API capabilities were more powerful than external Python libraries, as QGIS itself relies on some of them altogether. But if there is not other way, then I appreciate the information.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 66 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 194 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 7 МЛН
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 2,3 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 64 МЛН