[PostGIS] #5740: ST_DistanceSpheroid doesn't return 0 when one geometry contains the other

PostGIS trac at osgeo.org
Fri Aug 2 16:32:12 PDT 2024


#5740: ST_DistanceSpheroid doesn't return 0 when one geometry contains the other
-------------------------+---------------------------
  Reporter:  cdestigter  |      Owner:  pramsey
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 3.4.3
 Component:  postgis     |    Version:  3.4.x
Resolution:              |   Keywords:
-------------------------+---------------------------
Comment (by pramsey):

 Yep, a little more subtle. The geometry bounding box was sneaking into the
 geodetic covers operation, causing a mis-fire when the code started from a
 geometry (as in this example).
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5740#comment:5>
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