The QgsVirtualLayerDefinition class in the qgis.core module is used in QGIS, a popular open-source GIS software, to define the structure and properties of virtual layers. Virtual layers are dynamic layers created from one or more existing layers in the software, allowing users to perform complex spatial analyses by combining and manipulating data from different sources. The QgsVirtualLayerDefinition class provides methods and attributes to specify the fields, geometry type, and SQL query for creating a virtual layer. With the help of this class, developers can programmatically define and manage virtual layers in QGIS using Python scripting.
Python QgsVirtualLayerDefinition - 29 examples found. These are the top rated real world Python examples of qgis.core.QgsVirtualLayerDefinition extracted from open source projects. You can rate examples to help us improve the quality of examples.