Project: QGIS

Version: 3.16

Feature: Add geometry processing parameter

Added a new QgisProcessingParameterGeometry for passing geometries as a parameter to processing alogrithms.

This provides a way to pass simple geometries to algorithms without requiring an input layer.

The immediates use case are:

  • Algorithms that might need to manipulate geometries in an atomic way.
  • Delegation from parent algorithms.
  • Use with headless qgis processing in stand-alone processing tools.
Features:
  • The parameter is compatible with string parameters as it may pass Well-Known-Text as the value.
  • The current widget interaction is minimalistic as it only uses the input text widget for entering the value as WKT.

This feature was developed by David Marteau