- Building Mapping Applications with QGIS
- Erik Westra
- 159字
- 2021-08-06 19:44:25
About the QGIS Python APIs
The QGIS system itself is written in C++, and has its own set of APIs that are also written in C++. The Python APIs are implemented as wrappers around these C++ APIs. For example, there is a Python class named QgisInterface
that acts as a wrapper around a C++ class of the same name. All the methods, class variables, and the like that are implemented by the C++ version of QgisInterface
are made available through the Python wrapper.
What this means is that when you access the Python QGIS APIs, you aren't accessing the API directly. Instead, the wrapper connects your code to the underlying C++ objects and methods, as follows:

Fortunately, in most cases, the QGIS Python wrappers simply hide away the complexity of the underlying C++ code, so the PyQGIS libraries work as you would expect them to. There are some gotchas, however, and we will cover these as they come up.
- 多媒體CAI課件設計與制作導論(第二版)
- JavaScript全程指南
- Android和PHP開發最佳實踐(第2版)
- LabVIEW Graphical Programming Cookbook
- PHP程序設計(慕課版)
- 劍指JVM:虛擬機實踐與性能調優
- Java高手真經(高級編程卷):Java Web高級開發技術
- C#程序設計(慕課版)
- PHP 編程從入門到實踐
- The Complete Coding Interview Guide in Java
- 精通MATLAB(第3版)
- Linux:Embedded Development
- Android系統原理及開發要點詳解
- OpenResty完全開發指南:構建百萬級別并發的Web應用
- Java EE企業級應用開發教程(Spring+Spring MVC+MyBatis)