From: Paul Ramsey Date: Fri, 2 Aug 2019 20:02:29 +0000 (+0000) Subject: Remove test of pointonsurface that has variable behavior based on what geos (>= 3... X-Git-Tag: 2.5.3~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65d280529b0e2c36033bdbbbe762c6478b55b578;p=postgis Remove test of pointonsurface that has variable behavior based on what geos (>= 3.8?) is installed git-svn-id: http://svn.osgeo.org/postgis/branches/2.5@17663 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/tickets.sql b/regress/tickets.sql index e7939bd3e..08e7c92c9 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -1088,7 +1088,8 @@ SELECT '#4055b', ST_SRID(unnest(ST_ClusterIntersecting(ARRAY['SRID=4326;POINT (3 --#4089 select '#4089', st_astext(st_geomfromtwkb(st_AsTWKB(st_GeometryFromText('LINESTRING Z(1 1 1, 3 3 1)'), 1, 0, 0, false, true))); -select '#4103', ST_Intersects(ST_PointOnSurface('0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry), '0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry); +-- Results depend on underlying GEOS. GEOS >= 3.8 successfully computes this +--select '#4103', ST_Intersects(ST_PointOnSurface('0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry), '0103000020110F0000010000000A000000000000C41E644741000000EEA2A75A41000000F420644741000000629EA75A410000007A2D644741000000E49FA75A41000000C02E644741000000409DA75A41000000286A64474100000064A4A75A410000007867644741000000FAA9A75A41000000E82B644741000000D2A2A75A41000000222D64474100000046A0A75A41000000242B6447410000006CA4A75A41000000C41E644741000000EEA2A75A41'::geometry); -- #4081 select '#4081', diff --git a/regress/tickets_expected b/regress/tickets_expected index 63c5f26dd..b77d84db9 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -333,7 +333,6 @@ ERROR: lwgeom_union: GEOS Error: TopologyException: Input geom 0 is invalid: Se #4055a|4326 #4055b|4326 #4089|LINESTRING Z (1 1 1,3 3 1) -ERROR: lwgeom_pointonsurface: GEOS Error: TopologyException: Input geom 1 is invalid: Self-intersection #4081|f|t NOTICE: table "bug_4144_table" does not exist, skipping #4176|t