[postgis-tickets] [PostGIS] #5001: ST_LocateBetween with offset causes internal error

PostGIS trac at osgeo.org
Thu Nov 25 11:25:11 PST 2021


#5001: ST_LocateBetween with offset causes internal error
----------------------+---------------------------
  Reporter:  mdavis   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.1.5
 Component:  postgis  |    Version:  3.1.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 Yep, it's the offset code
 {{{
 LWGEOM *lwoff = lwgeom_offsetcurve(out_col->geoms[i], offset, 8, 1, 5.0);
 }}}
 returning a multi-linestring when the code expects it to only ever return
 a single linestring output for a single line input.

 To the barricades! All roads lead to offset curves!

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5001#comment:2>
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