[postgis-tickets] [PostGIS] #5081: ERROR: ptarray_scroll_in_place: input POINTARRAY does not contain the given point

PostGIS trac at osgeo.org
Fri Oct 28 12:38:33 PDT 2022


#5081: ERROR:  ptarray_scroll_in_place: input POINTARRAY does not contain the
given point
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.4.0
 Component:  topology  |    Version:  3.2.x
Resolution:            |   Keywords:
-----------------------+---------------------------
Comment (by strk):

 Figured finally: problem is that we're ONLY scrolling the intersection
 between the new line and the existing linework, leaving out any NEW
 portions. Here's the smalles repro:
 {{{
 SELECT NULL FROM CreateTopology('b5081');
 SELECT 'b5081.0', 'E' || TopoGeo_addLinestring('b5081', $$
   LINESTRING(0 0, 10 10,10 -10,0 0)
 $$);

 SELECT 'b5081.1', 'edges', count(*) FROM (
   SELECT TopoGeo_addLinestring('b5081', $$
     LINESTRING(
       -10 0,
       0 0, 10 10,10 -10,0 0,
       -10 0
     )
   $$)
 ) foo;
 }}}

 I'm surprised this doesn't show up more often.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5081#comment:7>
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