Opened 5 years ago
Closed 5 years ago
#4445 closed defect (fixed)
geometry_le: Is not working properly
Reported by: | Algunenano | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.8 |
Component: | postgis | Version: | 2.4.x |
Keywords: | Cc: |
Description
template_postgis=# Select geometry_lt('Point(0 0)'::geometry, 'Point(1 1)'::geometry); geometry_lt ------------- t (1 row) template_postgis=# Select geometry_eq('Point(0 0)'::geometry, 'Point(1 1)'::geometry); geometry_eq ------------- f (1 row) template_postgis=# Select geometry_le('Point(0 0)'::geometry, 'Point(1 1)'::geometry); geometry_le ------------- f (1 row)
(0 0) < (1 1) == T (0 0) == (1 1) == F (0 0) <= (1 1) == F <<<< Should be true
The bug seems to have been introduced in 2.4.
PR: https://github.com/postgis/postgis/pull/428
I'll add a test fixing the one above.
Note:
See TracTickets
for help on using tickets.
In 17578: