Wednesday 30 October 2019

references - Learning resources for PyQGIS?



I'm looking for some resources for learning PyQGIS.


It would be interesting having a collection of books or websites that provide some practical examples for learning the syntax or accomplishing specific tasks.


Ideally, these resources should give a general guidance for both beginner and experienced users.


Where to find QGIS tutorials and web resources? is a very similar question, but it gives help for learning QGIS, and not specifically PyQGIS (in fact, it doesn't have the PyQGIS tag).


Any help?




Answer



The following resources give a general guidance for learning or using PyQGIS and generally assume a minimum proficiency of working with Python.







  • PyQGIS 3 API Documentation: official documentation of the Python API. Documentation for each major release since v3.0 as well as the nightly version is provided;




  • PyQGIS Developer Cookbook: written for QGIS 2.x it is gradually updated to 3.x. It still may be helpful as a tutorial and a reference guide and gives a good overview of the principal functionalities.








PyQGIS Documentation:




  • PyQGIS Developer Cookbook: official introduction to PyQGIS programming. It is intended to work both as a tutorial and a reference guide and gives a good overview of the principal functionalities;





  • PyQGIS API Documentation: inofficial documentation of the Python API by SourcePole. It provides a searchable interface, but was not updated since QGIS 2.8;




  • QGIS C++ API Documentation: official C++ API documentation. While describing the C++ API, it can be useful for pyqgis development.




Online books:



Tutorials / Blogs / Web resources:





  • Nathan Woodrow: a blog mostly about QGIS stuff that also treats specific topics about the using of PyQGIS. The author is one of the most active QGIS developers;




  • nyalldawson.net: a blog with several posts about the using of PyQGIS. The author is one of the most active QGIS developers;




  • "How To" in QGIS: the site provides some suggestions for solving problems using PyQGIS. When possible, these tips are offered through simple code samples. I'm the author of this blog;





  • QGIS Tutorials and Tips: a section of this blog provides a series of tutorials for learning PyQGIS scripting. The author is a very experienced GIS specialist;




  • Lutra Consulting: a list of posts, having the PyQGIS tag, that cover some topics about PyQGIS.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...