[PostGIS] #5989: ST_Distance error on CurvePolygon

PostGIS trac at osgeo.org
Thu Oct 2 14:20:07 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:"8dc414411446c0d8a711a0c565c29ff1c2028fd6/git" 8dc4144/git]:
 {{{#!CommitTicketReference repository="git"
 revision="8dc414411446c0d8a711a0c565c29ff1c2028fd6"
 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:12>
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