[postgis-tickets] [PostGIS] #4445: geometry_le: Is not working properly

PostGIS trac at osgeo.org
Mon Jul 1 09:09:30 PDT 2019


#4445: geometry_le: Is not working properly
------------------------+---------------------------
 Reporter:  Algunenano  |      Owner:  pramsey
     Type:  defect      |     Status:  new
 Priority:  medium      |  Milestone:  PostGIS 2.4.8
Component:  postgis     |    Version:  2.4.x
 Keywords:              |
------------------------+---------------------------
 {{{
 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.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4445>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list