[postgis-tickets] [PostGIS] #5268: ST_ShortestLine return invalid linestring when distance of geometries is 0

PostGIS trac at osgeo.org
Mon Oct 31 11:20:48 PDT 2022


#5268: ST_ShortestLine return invalid linestring when distance of geometries is 0
----------------------+---------------------------
  Reporter:  latot    |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.4.0
 Component:  postgis  |    Version:  3.3.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by mdavis):

 To my mind returning a zero-length LineString makes perfect sense in this
 situation.  So the real problem is whether zero-length LineStrings should
 be invalid.  The Simple Features spec appears to mandate this - but
 perhaps it's not entirely clear, or is simply not well-thought out in
 light of practical usage.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5268#comment:5>
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