Global and project-level functions |
|
---|---|
Start a blank project. |
|
|
Add a new raster layer to QGIS. |
Add a new tile server raster layer to QGIS. |
|
|
Add a new vector layer to QGIS. |
Return changeable options built from settings and/or defaults. |
|
Map canvas functions |
|
Get map center, in geographical coordinates. |
|
|
Set whether on-the-fly reprojection is enabled or disabled. |
Get or set the map canvas' destination coordinate reference system. |
|
Get the current zoom exent of the map canvas, in geographical coordinates. |
|
Get the combined exent for all layers on the map canvas, in geographical coordinates. |
|
Return number of layers on the map that are set visible. |
|
Retrieve the magnification factor of the map canvas. |
|
Retrieve configuration for rendering of the map. |
|
Retrieve currently visible map canvas content. |
|
Get the last reported scale of the canvas. |
|
Set map center, in geographical coordinates. |
|
Zoom to the given feature extent. |
|
Zoom in by a fixed factor. |
|
Zoom out by a fixed factor. |
|
Zoom to a specific scale. |
|
Zoom to the full extent of all layers. |
|
Zoom to the extent of the selected features of current (vector) layer. |
|
Querying map layers shown on the map canvas |
|
Retrieve information about a visible map layer. |
|
Retrieve list of layers within map canvas that are set visible. |
|
Return number of layers on the map that are set visible. |
|
Querying the map layer registry |
|
Returns information about all registered layers. |
|
Retrieve information about a layer by id. |
|
Returns the total number of registered layers (visible or not). |
|
Remove a layer from the registry by layer ID. |
|
Manipulating individual map layers |
|
R object class representing a QGIS layer. |
|
Retrieve information about a layer by id. |
|
Get or set the coordinate reference system for the given layer. |
|
Retrieve or set a layer's feature or raster renderer in XML format. |
|
Retrieve a layer's XML style element. |
|
Get or set a layer's visibility in the map canvas. |
|
Accessing layer features |
|
Return information about features of a vector layer. |
|
Retrieve the number of features that are selected in a vector layer. |
|
Return information about the currently selected features from a vector layer. |
|
Zoom to the extent of the selected features of current (vector) layer. |
|
Processing |
|
Retrieve information about available processing algorithms. |
|
Run a processing algorithm on the given data. |
|
Helper classes and functions |
|
Check or convert object to a QGIS-compatible CRS specification. |
|
R object class representing a QGIS layer. |
|
Access and set configuration fields of a QGIS configuration XML chunk. |
|
Low-level package functions |
|
Make a low-level call to a QGIS Network API. |
|
Set or get QGIS Network API connection details for current session. |