[PostGIS] #5989: ST_Distance error on CurvePolygon

PostGIS trac at osgeo.org
Wed Oct 1 15:50:08 PDT 2025


#5989: ST_Distance error on CurvePolygon
----------------------+---------------------------
  Reporter:  pramsey  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  high     |  Milestone:  PostGIS 3.5.4
 Component:  postgis  |    Version:  3.2.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by Paul Ramsey <pramsey@…>):

 In [changeset:"6e8b86bd9204e494e330b296156a0ddddf36cd50/git" 6e8b86b/git]:
 {{{#!CommitTicketReference repository="git"
 revision="6e8b86bd9204e494e330b296156a0ddddf36cd50"
 Fix arc/arc distance to handle more cases such as contained,
 circular, and other interesting arc/arc alignments that come up rarely
 in ordinary GIS data.
 Fix compoundcurve distance calculations, in particular the
 containment test, which was failing for some cases.
 Replaced containment test with a ray casting algorithm
 that makes more sense for circularstrings that the
 winding order algorithm did.
 References #5989
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5989#comment:9>
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