[postgis-tickets] [PostGIS] #4604: ST_Intersects discrepancy between 2.5.3 and 3.0.0

PostGIS trac at osgeo.org
Fri Dec 13 16:00:48 PST 2019


#4604: ST_Intersects discrepancy between 2.5.3 and 3.0.0
---------------------+---------------------------
 Reporter:  paf31    |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.0.1
Component:  postgis  |    Version:  3.0.x
 Keywords:           |
---------------------+---------------------------
 The following query returns different results between versions 2.5.3
 (returns true) and 3.0.0 (returns false) running on Postgres 12.1:

 {{{
 SELECT
   ST_Intersects(
     ST_GeographyFromText('SRID=4326;POINT(-11.0 0.00005)'),
     ST_GeographyFromText('SRID=4326;LINESTRING(-11.0 0.0,-11.0 0.0001)')
   );
 }}}

 The result on 3.0.0 is very sensitive to the numbers used. Changing 11.0
 to 10.0, for example, changes the result to true.

 We discussed this on IRC and concluded it's probably a bug, so I'm posting
 here. Thanks!

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4604>
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