[postgis-tickets] [PostGIS] #5268: ST_ShortestLine return invalid linestring when distance of geometries is 0
PostGIS
trac at osgeo.org
Tue Jun 20 15:43:27 PDT 2023
#5268: ST_ShortestLine return invalid linestring when distance of geometries is 0
----------------------+---------------------------
Reporter: latot | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 3.4.0
Component: postgis | Version: 3.3.x
Resolution: wontfix | Keywords:
----------------------+---------------------------
Changes (by pramsey):
* status: new => closed
* resolution: => wontfix
Comment:
A zero-length linestring is a reasonable return, and having the return
type be more homogeneous (not a point, not a null) makes processing the
output simpler. Just check the length before you attempt to extend it.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5268#comment:9>
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