Skip to content
Back to skills

Qgis Knowledge Patch

ASecurity

QGIS

  • 25 stars
  • 0 votes
  • 0 copies
  • 14 views
  • Added September 5, 2026
developmentrustgoc++sqlnodeexpressgitapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill qgis-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qgis Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qgis Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-qgis-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-qgis-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: qgis-knowledge-patch
description: QGIS
version: "4.4"
license: MIT
metadata:
  author: Nevaberry
---


# QGIS compatibility guidance

Load this skill when migrating QGIS plugins or projects, working with PyQGIS,
configuring QGIS Server, or using the rendering, editing, data-source, and
Processing features indexed below. Use the quick reference for compatibility
changes and defaults; open the topic references for complete guidance and examples.

## Reference index

| Reference | Topics |
| --- | --- |
| [Plugins, projects, and migration](references/plugins-projects-and-migration.md) | Plugin metadata, removed interfaces, settings, startup, profiles, project trust, scale calculation |
| [Rendering and labeling](references/rendering-and-labeling.md) | Symbol extents, marker placement, masking, HTML labels, collisions, raster labeling and rendering |
| [3D, mesh, and point clouds](references/3d-mesh-and-point-clouds.md) | Materials, cameras, scene formats, billboards, VPCs, point cloud processing, mesh editing |
| [Layouts, editing, and profiles](references/layouts-editing-and-profiles.md) | Legends, charts, atlas clipping, PDF export, forms, digitizing, georeferencing, elevation profiles |
| [Processing and analysis](references/processing-and-analysis.md) | Geometry checks, networks, models, metadata, raster analysis, interpolation, hydrology |
| [Data sources and databases](references/data-sources-and-databases.md) | Browser SQL, imports, PostgreSQL projects, file formats, STAC, authentication, SensorThings |
| [Server and web services](references/server-and-web-services.md) | Server configuration, WMS, GetFeatureInfo, WFS, OGC API Features |
| [Expressions and APIs](references/expressions-and-apis.md) | Geometry engines, NumPy, Shapely, GeoPandas, CRS, time zones, strings, developer interfaces |

## Breaking changes and deprecations

### Plugin compatibility and removed interfaces

Remove the temporary `supportsQt6=True` field from `metadata.txt`; QGIS core
dropped support for it. Declare compatibility with `qgisMinimumVersion` and
`qgisMaximumVersion`. The repository lists a plugin as QGIS 4 Ready when either
field is at least `4.0`. Omitting the maximum limits compatibility to the major
version line of the minimum. Keep the existing minimum and set an explicit
maximum to advertise both QGIS 3 and QGIS 4 support.

```ini
[general]
qgisMinimumVersion=3.22
qgisMaximumVersion=4.99
```

On upload, `pyqgis4-checker` reports affected files and lines in **Qt6 Check**.
The report is advisory; a version with an eligible range appears in QGIS 4 Ready
after approval. Plugins using removed deprecated `WidgetWrapper` subclasses
must migrate to the C++ Processing GUI API.

Install **DB Manager Community Edition** to use DB Manager in QGIS 4.4.
The former built-in entry directs users to the replacement.

### Settings, application lifecycle, and server paths

QGIS 4 uses a separate settings store. On first startup it copies the loaded
QGIS 3 profile once; later changes to each profile are independent. Point automated
installers, profile-management scripts, and enterprise deployments at the QGIS 4
settings directory.

The running QGIS application blocks `initQgis()` and `exitQgis()` calls.
Plugins and console scripts can use the application's existing QGIS session.

The default OGC API Features server root moves from `/wfs3` to `/ogcapi`.
Set `QGIS_SERVER_API_WFS3_ROOT_PATH=/wfs3` to keep the previous path.

SensorThings connections support OAuth2 authentication configurations; the
provider's dedicated basic authentication option has been removed.

### Geometry, algorithms, and changed values

- **Hub distance** offers either or both optional point and line outputs.
  **Distance to nearest hub (points)** and **Distance to nearest hub (line to hub)**
  are deprecated.
- **Oriented Minimum Bounding Box** rejects point layers as input.
- `MultiCurve` geometries reject NURBS curves. When writing to OGR,
  `QgsVectorFileWriter` converts NURBS curves to line strings.
- `QgsGeometry.as_numpy()` can return XYZ, XYM, or XYZM coordinates according to
  the input geometry; unpacking and reshaping code must account for extra ordinates.
- `concat(NULL, NULL)` returns an empty string. `concat_ws()` uses its first
  argument as a separator and skips NULL values.
- Empty GDAL DateTime strings in raster attribute tables become NULL.
  Use a NULL check when filtering for missing timestamps.

## Processing and automation

### Profiles and model connections

Use `--profile NAME` with `qgis_process` to load an existing Desktop profile.
`--profiles-path PATH` or `-S PATH` sets the parent of `profiles/`, overriding
`QGIS_CUSTOM_CONFIG_PATH`. With only a profiles path, QGIS uses the default
recorded in that root's `profiles.ini`. An unknown explicit profile name exits
with status 1.

```sh
qgis_process --profiles-path "/srv/qgis config" --profile batch --help
```

In Model Designer, drag between output and input sockets to connect nodes.
Release a dragged socket on the canvas to list compatible algorithms or
parameters; the selection connects to the first suitable socket. Dragging from
an input socket can suggest upstream parameters. Connections show intermediate
feature counts as supported steps run and can display scalar outputs. Steps
without live reporting show exact feature counts when the model finishes.

Batch Processing accepts temporary layer destinations. A temporary output can
have a layer name and keeps its temporary-layer indicator in the layer tree.

### Geometry checks and dependency requirements

**Check Geometry** returns erroneous features and points identifying error
locations. **Fix Geometry** returns a corrected layer of the input geometry type
and points with fix status and messages. **Check Holes** reports holes with area
at or below its threshold. **Clean coverage** removes polygon overlaps and closes
small gaps, is exposed through `QgsGeometry`, and requires GEOS 3.14.0 or later.

**Approximate Medial Axis** computes a line skeleton from a shape; for 3D input
it uses the 2D projection. With SFCGAL 2.3, `extendToEdges` extends endpoints to
the input polygon boundary. **Compare point clouds (M3C2)** requires a QGIS build
with PDAL newer than 2.10. PDAL **Export to raster (TIN)** can discard triangles
with an edge above `max-triangle-edge-length`; this requires PDAL 2.6.0 or later
and wrench 1.2.2 or later.

### Raster values and hydrology

**Raster rank** selects a value across input rasters at each cell: positive ranks
count from the lowest value, negative ranks from the highest. By default it skips
NoData and returns NoData when too few valid values remain; an alternate mode
propagates NoData from any input. **Raster grid cell index** instead writes each
valid cell's zero-based rank by value within a raster.

Use **Channel network and drainage basins from DEM** with just a DEM, or
**Channel network and drainage basins from multiple inputs** when flow direction
and Strahler order rasters are available. **Strahler order from DEM** computes its
own directions; **Strahler order from DEM and flow direction** accepts them.
**Upslope area (from point)** handles one target; **Upslope area (from layer)**
finds the combined contributing area of all targets in a point layer.

## Rendering, layouts, and elevation

Label margins separate a layer's labels from its own labels and other layers'
labels. **Prevent duplicate labels** compares text case-sensitively across all
layers within the configured distance. Curved-label whitespace participates in
collision detection by default; **Ignore label whitespace when detecting
collisions** allows spaces and tabs to overlap other labels or obstacles.

Raster pixel labels use the normal labeling engine and can be restricted by
map scale or on-screen pixel size. HTML label backgrounds support block and
inline elements in straight labels and render above the label's background shape
and below buffers and shadows. HTML block margins use points; only bottom margins
can be negative. HTML `line-height` accepts points or percentages.

New layout legends default to **Synchronize to Visible Layers**, unless changed
in **Options → Layout**. Visibility comes from the linked map or project tree
regardless of extent. **Reset** rebuilds the legend in its selected mode.
Clear a layer's **Include automatically in print layout legend items** to omit
it from automatic legends; this setting is on by default.

Layout charts can use X categories from vector symbology and optionally its
colors. A blank series counts matching features; a Y expression sums its values
within each category. Geospatial PDF export with unlocked map layers can preserve
the project layer tree, including initially hidden layers; group layers become
single PDF layers.

Elevation profiles are saved in the project. **Synchronize Layers to Project**
follows the layer tree's groups and order and is off by default. A vector layer's
`custom tolerance` overrides the profile widget's global tolerance for that layer.
For layout profiles, **Fixed Scales** sets distance and elevation scales
independently; **Manual Ranges** sets their bounds directly.

## 3D and point clouds

**From 2D Symbology** replaces the current 3D style using a supported single-symbol,
categorized, or rule-based 2D renderer. Metal–roughness materials accept textures
for base color, metalness, roughness, and ambient occlusion, with opacity and
optional solid emission. Save materials in the Style Manager for reuse.

Virtual point clouds can open remotely, but editing requires a local VPC and
locally stored COPC tiles. In **Build virtual point cloud (VPC)**, enable
**Convert input files to COPC format** to make LAS or LAZ inputs fully renderable
through the VPC in 2D and 3D. QGIS renders all VPC assets with the `overview` role
when zoomed out, regardless of IDs; `overviews()` retrieves the list from
`QgsPointCloudLayer` or `QgsVirtualPointCloudProvider`.

The point cloud color modifier exposes `@point_color` and point attributes as
variables. Arithmetic acts on RGBA channels; multiplication accepts the color
on either side, while other operators require it on the left.

## Data sources and server configuration

Dropping one layer onto a supported Browser destination opens database import
options; dropping multiple layers imports immediately. Oracle uses the legacy
workflow. Close a table in the current project before renaming it or renaming
or deleting its fields from the Browser.

GeoJSON export offers **Legacy**, **RFC7946**, **JSON-FG**, and **JSON-FG-PLUS**.
Legacy is the default and supports CRSs beyond CRS84. The JSON-FG profiles can
export geometries with `M` and `ZM` coordinates. Explicit Cloud Optimized GeoTIFF
optimization and pyramid options in the raster export/save dialog require
GDAL 3.13 or later. Processing outputs accepting GDAL format flags can use
`-of COG` for a `.tif` or `.tiff` destination.

Enable WMS time-dimension computation on each nested group in the chain to
propagate child times. A group's **Time** default handles `GetMap` requests that
omit `TIME`, and is advertised in `GetCapabilities`. If QGIS Server is configured
to ignore bad layers, `QGIS_SERVER_RETRY_BAD_LAYERS=true` checks invalid layers on
each request and resumes serving them when their data sources recover.

Files in this skill

  • SKILL.md9.4 KB
  • coverage.json859 B
  • references/3d-mesh-and-point-clouds.md7.3 KB
  • references/data-sources-and-databases.md5 KB
  • references/expressions-and-apis.md3.1 KB
  • references/layouts-editing-and-profiles.md5.3 KB
  • references/plugins-projects-and-migration.md2.6 KB
  • references/processing-and-analysis.md5.6 KB
  • references/rendering-and-labeling.md3.7 KB
  • references/server-and-web-services.md2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.