[PostGIS] #6152: ST_ShortestLine incorrect for LineString/CircularString

PostGIS trac at osgeo.org
Mon Oct 26 16:21:10 PDT 2026


#6152: ST_ShortestLine incorrect for LineString/CircularString
---------------------+---------------------------
 Reporter:  dbaston  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.6.5
Component:  postgis  |    Version:  3.6.x
 Keywords:           |
---------------------+---------------------------
 {{{
 SELECT ST_AsText(ST_ShortestLine('CIRCULARSTRING (5 8.66025, 4.22618
 9.06308, 3.4202 9.39693)', 'LINESTRING (2 0, 2 9.5)'));
             st_astext
 ----------------------------------
  LINESTRING(3.4202 9.39693,2 9.5)
 }}}

 But this is visibly incorrect.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6152>
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