[postgis-tickets] [PostGIS] #5312: GEOS master regression failure on tickets

PostGIS trac at osgeo.org
Wed Jan 11 11:42:49 PST 2023


#5312: GEOS master regression failure on tickets
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.4.0
 Component:  postgis  |    Version:  3.3.x
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by robe:

Old description:

> Just noticed debbie has been complaining for past 2 days.
> I'm guessing this is a geos change.
>

> {{{
> 07:43:49  ./regress/core/tickets .. failed (diff expected obtained:
> /var/lib/jenkins/workspace/postgis/tmp/3_4_pg15w64/test_85_diff)
> 07:43:54
> -----------------------------------------------------------------------------
> 07:43:54 --- ./regress/core/tickets_expected    2022-12-09
> 01:40:36.935558736 +0000
> 07:43:54 +++
> /var/lib/jenkins/workspace/postgis/tmp/3_4_pg15w64/test_85_out
> 2023-01-11 12:43:54.923125616 +0000
> 07:43:54 @@ -324,10 +324,10 @@
> 07:43:54  #4011|ST_MultiLineString|MULTILINESTRING EMPTY|t|t
> 07:43:54  #4011|ST_GeometryCollection|MULTILINESTRING((0 0,0 0))|f|f
> 07:43:54  #4025|
> 07:43:54 -ERROR:  lwgeom_intersection_prec: GEOS Error:
> TopologyException: Input geom 0 is invalid: Self-intersection
> 07:43:54 -ERROR:  lwgeom_difference_prec: GEOS Error: TopologyException:
> Input geom 0 is invalid: Self-intersection
> 07:43:54 -ERROR:  lwgeom_symdifference_prec: GEOS Error:
> TopologyException: Input geom 0 is invalid: Self-intersection
> 07:43:54 -ERROR:  lwgeom_union_prec: GEOS Error: TopologyException: Input
> geom 0 is invalid: Self-intersection
> 07:43:54 +ERROR:  lwgeom_intersection_prec: GEOS Error:
> TopologyException: side location conflict at 5 5. This can occur if the
> input geometry is invalid.
> 07:43:54 +ERROR:  lwgeom_difference_prec: GEOS Error: TopologyException:
> side location conflict at 5 5. This can occur if the input geometry is
> invalid.
> 07:43:54 +ERROR:  lwgeom_symdifference_prec: GEOS Error:
> TopologyException: side location conflict at 5 5. This can occur if the
> input geometry is invalid.
> 07:43:54 +ERROR:  lwgeom_union_prec: GEOS Error: TopologyException: side
> location conflict at 5 5. This can occur if the input geometry is
> invalid.
> 07:43:54  #4055a|4326
> 07:43:54  #4055b|4326
> 07:43:54  #4089|LINESTRING Z (1 1 1,3 3 1)
> 07:43:54
> -----------------------------------------------------------------------------
> }}}
>

> Error is apparently with this query:
>

> {{{
> SELECT '#4037.1', ST_AsText(ST_Intersection('POLYGON((0 0, 10 10, 0 10,
> 10 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
> }}}

New description:

 Just noticed debbie has been complaining for past 2 days.
 I'm guessing this is a geos change.


 {{{
 07:43:49  ./regress/core/tickets .. failed (diff expected obtained:
 /var/lib/jenkins/workspace/postgis/tmp/3_4_pg15w64/test_85_diff)
 07:43:54
 -----------------------------------------------------------------------------
 07:43:54 --- ./regress/core/tickets_expected    2022-12-09
 01:40:36.935558736 +0000
 07:43:54 +++
 /var/lib/jenkins/workspace/postgis/tmp/3_4_pg15w64/test_85_out
 2023-01-11 12:43:54.923125616 +0000
 07:43:54 @@ -324,10 +324,10 @@
 07:43:54  #4011|ST_MultiLineString|MULTILINESTRING EMPTY|t|t
 07:43:54  #4011|ST_GeometryCollection|MULTILINESTRING((0 0,0 0))|f|f
 07:43:54  #4025|
 07:43:54 -ERROR:  lwgeom_intersection_prec: GEOS Error: TopologyException:
 Input geom 0 is invalid: Self-intersection
 07:43:54 -ERROR:  lwgeom_difference_prec: GEOS Error: TopologyException:
 Input geom 0 is invalid: Self-intersection
 07:43:54 -ERROR:  lwgeom_symdifference_prec: GEOS Error:
 TopologyException: Input geom 0 is invalid: Self-intersection
 07:43:54 -ERROR:  lwgeom_union_prec: GEOS Error: TopologyException: Input
 geom 0 is invalid: Self-intersection
 07:43:54 +ERROR:  lwgeom_intersection_prec: GEOS Error: TopologyException:
 side location conflict at 5 5. This can occur if the input geometry is
 invalid.
 07:43:54 +ERROR:  lwgeom_difference_prec: GEOS Error: TopologyException:
 side location conflict at 5 5. This can occur if the input geometry is
 invalid.
 07:43:54 +ERROR:  lwgeom_symdifference_prec: GEOS Error:
 TopologyException: side location conflict at 5 5. This can occur if the
 input geometry is invalid.
 07:43:54 +ERROR:  lwgeom_union_prec: GEOS Error: TopologyException: side
 location conflict at 5 5. This can occur if the input geometry is invalid.
 07:43:54  #4055a|4326
 07:43:54  #4055b|4326
 07:43:54  #4089|LINESTRING Z (1 1 1,3 3 1)
 07:43:54
 -----------------------------------------------------------------------------
 }}}


 Error is apparently with this query:


 {{{
 SELECT '#4037.1', ST_AsText(ST_Intersection('POLYGON((0 0, 10 10, 0 10, 10
 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
 SELECT '#4037.2', ST_AsText(ST_Difference('POLYGON((0 0, 10 10, 0 10, 10
 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
 SELECT '#4037.3', ST_AsText(ST_SymDifference('POLYGON((0 0, 10 10, 0 10,
 10 0, 0 0))', ST_MakeEnvelope(2,2,8,8)));
 SELECT '#4037.4', ST_AsText(ST_Union('POLYGON((0 0, 10 10, 0 10, 10 0, 0
 0))', ST_MakeEnvelope(2,2,8,8)));
 }}}

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