Skip to content

r.tpi is missing from QGIS GRASS support #54619

@twest820

Description

@twest820

Feature description

r.tpi has been present in GRASS since at least 2021 but hasn't been surfaced in QGIS.

Additional context

For r.tpi.txt I have

r.tpi
Calculates the multiscale topographic position index
Raster (r.*)
QgsProcessingParameterRasterLayer|input|Input DEM from which to calculate mTPI|None|False
QgsProcessingParameterNumber|minradius|Minimum neighborhood radius in cells for DEM smoothing|QgsProcessingParameterNumber.Integer|1|True|1|None
QgsProcessingParameterNumber|maxradius|Maximum neighborhood radius in cells for DEM smoothing|QgsProcessingParameterNumber.Integer|1|True|1|None
QgsProcessingParameterNumber|steps|Number of steps to use for DEM generalization between minradius and maxradius|QgsProcessingParameterNumber.Integer|5|True|1|None
QgsProcessingParameterRasterDestination|output|Multi-scale topographic position index

This allows an r.tpi launch from the processing toolbox but fails with

r.tpi input=rast_65049e4d5f0003 minradius=1 maxradius=31 steps=5 output=output0f7db2cc771e4c54b8a3217694745610 --overwrite
'r.tpi' is not recognized as an internal or external command, operable program or batch file.

so some additional setup beyond what's specified in %ProgramFiles%\QGIS 3.32.2\apps\qgis\python\plugins\grassprovider\grass7.txt appears to be needed.

Notably, there's no r.tpi.exe in QGIS 3.32.2\apps\grass\grass83\bin. If I launch the GRASS UI from the installed QGIS link Settings -> Addons extensions -> Install extensions from addons I get an infinite wait cursor and the list of extensions never populates. This suggests a dependency on #53048 for supporting r.tpi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestFeedbackWaiting on the submitter for answersGRASSPackagingUpstreamNeeds changes in an upstream library (like Qt, Proj, GDAL, ...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions