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

PostGIS trac at osgeo.org
Wed Jan 11 11:42:20 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 '#4025', ST_DistanceCPA (
>         'LINESTRING M (
>         3002640.82925984 5833770.09678249 1180471354.482,
>         3003084.56741608 5833866.22147656 1180471411.791,
>         3003325.8165722 5833942.66399188 1180471442.914,
>         3003634.9521919 5834039.57644606 1180471482.436,
>         3003701.57229565 5833872.50949516 1180471494.55)'::geometry,
>         'LINESTRING M (
>         2996311.19255982 5844593.73486637 1180471513.163,
>         2996310.72190852 5844712.60937002 1180471523.37,
>         2996311.81673704 5844916.90864168 1180471541.171)'::geometry
>         );
> }}}

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)));
 }}}

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