[PostGIS] #5989: ST_Distance error on CurvePolygon
PostGIS
trac at osgeo.org
Thu Oct 2 14:09:00 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:"be2a0ffda5b08dca0d94c1498d84b62b83fe76f9/git" be2a0ff/git]:
{{{#!CommitTicketReference repository="git"
revision="be2a0ffda5b08dca0d94c1498d84b62b83fe76f9"
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:10>
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