[postgis-tickets] [PostGIS] #4960: ST_Boundary('LINESTRING EMPTY') returns random numbers

PostGIS trac at osgeo.org
Thu Jul 29 04:33:33 PDT 2021


#4960: ST_Boundary('LINESTRING EMPTY') returns random numbers
---------------------+---------------------------
 Reporter:  strk     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.2.0
Component:  postgis  |    Version:  main
 Keywords:           |
---------------------+---------------------------
 {{{
 # select ST_AsText(ST_Boundary('LINESTRING EMPTY'));
 NOTICE:  lwgeom_api.c [138] called with n=0 and npoints=0
 NOTICE:  lwgeom_api.c [138] called with n=-1 and npoints=0
                               st_astext
 ---------------------------------------------------------------------
  MULTIPOINT(9e-323 4.6729030886132e-310,9e-323 4.6729030886132e-310)
 (1 row)
 }}}

 See also #4956 and https://gitlab.com/postgis/postgis/-/merge_requests/50
 for testcases with this

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4960>
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