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