[postgis-tickets] [PostGIS] #3511: ST_Intersects returns false positives at equator and anti/prime meridian

PostGIS trac at osgeo.org
Wed Apr 12 17:19:02 PDT 2017


#3511: ST_Intersects returns false positives at equator and anti/prime meridian
----------------------+---------------------------
  Reporter:  jgm1972  |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 2.4.0
 Component:  postgis  |    Version:  2.2.x
Resolution:  invalid  |   Keywords:  ST_Intersects
----------------------+---------------------------
Changes (by pramsey):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Great circles between antipodes do not have a deterministic path. What is
 the shortest paths between the north and south pole? It's any line you
 wish, they are all the shortest/longest paths. As you found, adding mid-
 points to lines allows you to direct the line where you "want", because
 each segment in the line is now shorter than an antipodal segment and has
 a deterministic path. Moral of the story: use segments of < 180 degrees.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3511#comment:4>
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