Skip to content

[espressions] Fix overlay_equals description (Request in QGIS) #10687

@qgis-bot

Description

@qgis-bot

Request for documentation

From pull request qgis/QGIS#64641
Author: @agiudiceandrea
QGIS version: 4.0

[espressions] Fix overlay_equals description

PR Description:

Description

The overlay_equals expression function description (since qgis/QGIS#39097) is incorrect: it wrongly states that the behaviour of such function is based on the <<underlying GEOS “Equals” predicate, as described in PostGIS ST_Equals function>>, while it's actually based on QgsGeometry:equals which behaves differently from GEOS “Equals” and PostGIS ST_Equals. The description would have been correct if overlay_equals had been based on QgsGeometry:isGeosEqual instead of QgsGeometry:equals.

This PR just fixes such description (see discussion in qgis/QGIS#64627 (comment) and qgis/QGIS#64627 (comment)) in order for it to reflect the actual behaviour of the function and also adds a test that explicitly tests the relevant aspect of the actual behaviour.

Commits tagged with [need-docs] or [FEATURE]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions