We are happy to announce that the PyQGIS Cookbook has received a complete overhaul and is now better than ever.
The PyQGIS Cookbook is a great source of information, not only for PyQGIS beginners or plugin developers, but also for C++ developers: it contains a lot of information about the internals of the QGIS API that you cannot really find anywhere else.
The main point addressed in this review were:
- All the code snippets have been reviewed and put under automated test in CI. Before this revision, there were 62 tests. Now there are over 300 tested snippets.
- A few snippets had to be updated because of changes in the QGIS API or because of the deprecation of methods (CRS handling in particular due to the proj6 switch).
- Textual descriptions have been edited to update the contents where the API has substantially changed.
- The material covering Python for QGIS Server has been reorganized and now includes new snippets and introductory texts about the new modules and OGC APIs architecture.
For the full summary, please refer to Alessandro Pasotti’s report on the PSC mailing list.
Thank you to Alessandro Pasotti for taking on this project and thank you to all our sponsor and donors who make this initiative possible!