[postgis-tickets] [PostGIS] #4730: Overlay GEOS 3.9 regress failures

PostGIS trac at osgeo.org
Wed Jul 29 18:10:06 PDT 2020


#4730: Overlay GEOS 3.9 regress failures
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.1.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 Now down to 3 test failures - I think the remainder of these for
 geometry/geography represent true behavior changes:


 {{{
 PostgreSQL 13beta2 on x86_64-w64-mingw32, compiled by gcc.exe (x86_64
 -posix-seh-rev0, Built by MinGW-W64 project) 8.1.0, 64-bit
   Postgis 3.1.0dev - (3.1.0alpha2-23-g81b9af77b) - 2020-07-30 00:20:13
   scripts 3.1.0dev 3.1.0alpha2-23-g81b9af77b
   GEOS: 3.9.0-CAPI-1.14.0
   PROJ: 6.2.1

 Running tests

  ../loader/Point .............. ok in 1455 ms
  ../loader/PointM .............. ok in 1419 ms
  ../loader/PointZ .............. ok in 1391 ms
  ../loader/MultiPoint .............. ok in 1406 ms
  ../loader/MultiPointM .............. ok in 1428 ms
  ../loader/MultiPointZ .............. ok in 1416 ms
  ../loader/Arc .............. ok in 1425 ms
  ../loader/ArcM .............. ok in 1436 ms
  ../loader/ArcZ .............. ok in 1395 ms
  ../loader/Polygon .............. ok in 1421 ms
  ../loader/PolygonM .............. ok in 1374 ms
  ../loader/PolygonZ .............. ok in 1386 ms
  ../loader/TSTPolygon ......... ok in 1239 ms
  ../loader/TSIPolygon ......... ok in 1269 ms
  ../loader/TSTIPolygon ......... ok in 1223 ms
  ../loader/PointWithSchema ..... ok in 780 ms
  ../loader/NoTransPoint ......... ok in 1160 ms
  ../loader/NotReallyMultiPoint ......... ok in 962 ms
  ../loader/MultiToSinglePoint ......... ok in 1196 ms
  ../loader/ReprojectPts ........ ok in 1175 ms
  ../loader/ReprojectPtsD ..... ok in 794 ms
  ../loader/ReprojectPtsGeog ........ ok in 1255 ms
  ../loader/ReprojectPtsGeogD ........ ok in 1204 ms
  ../loader/Latin1 .... ok in 787 ms
  ../loader/Latin1-implicit .... ok in 470 ms
  ../loader/mfile .... ok in 788 ms
  ../dumper/mfiledmp ..... ok in 145 ms
  ../dumper/literalsrid ....... ok in 155 ms
  ../dumper/realtable ....... ok in 148 ms
  ../dumper/nullsintable ....... ok in 153 ms
  ../dumper/null3d ..... ok in 136 ms
  affine .. ok in 106 ms
  bestsrid .. ok in 101 ms
  binary .. ok in 219 ms
  boundary .. ok in 94 ms
  chaikin .. ok in 97 ms
  filterm .. ok in 96 ms
  cluster .. ok in 113 ms
  concave_hull .. ok in 227 ms
  ctors .. ok in 99 ms
  curvetoline .. ok in 95 ms
  dump .. ok in 99 ms
  dumppoints .. ok in 98 ms
  empty .. ok in 108 ms
  estimatedextent .. ok in 370 ms
  forcecurve .. ok in 106 ms
  geography .. ok in 196 ms
  geometric_median .. ok in 101 ms
  hausdorff .. ok in 98 ms
  in_geohash .. ok in 96 ms
  in_gml .. ok in 1124 ms
  in_kml .. ok in 207 ms
  in_encodedpolyline .. ok in 105 ms
  iscollection .. ok in 96 ms
  legacy .. ok in 470 ms
  long_xact .. ok in 178 ms
  lwgeom_regress .. ok in 166 ms
  measures .. ok in 112 ms
  minimum_bounding_circle .. ok in 99 ms
  normalize .. ok in 97 ms
  operators .. ok in 113 ms
  orientation .. ok in 102 ms
  out_geometry .. ok in 142 ms
  out_geography .. ok in 124 ms
  polygonize .. ok in 100 ms
  polyhedralsurface .. ok in 116 ms
  postgis_type_name .. ok in 158 ms
  quantize_coordinates .. ok in 97 ms
  regress .. ok in 199 ms
  regress_bdpoly .. ok in 103 ms
  regress_buffer_params .. ok in 100 ms
  regress_gist_index_nd .. ok in 600 ms
  regress_index .. ok in 941 ms
  regress_index_nulls .. ok in 372 ms
  regress_management .. ok in 221 ms
  regress_selectivity .. ok in 211 ms
  regress_lrs .. ok in 108 ms
  regress_ogc .. ok in 124 ms
  regress_ogc_cover .. ok in 98 ms
  regress_ogc_prep .. ok in 105 ms
  regress_proj .. ok in 3114 ms
  relate .. ok in 181 ms
  remove_repeated_points .. ok in 98 ms
  removepoint .. ok in 97 ms
  reverse .. ok in 106 ms
  setpoint .. ok in 99 ms
  simplify .. ok in 101 ms
  simplifyvw .. ok in 102 ms
  size .. ok in 102 ms
  snaptogrid .. ok in 108 ms
  split .. failed (diff expected obtained:
 /projects/postgis/tmp/3.1.0dev_pg13_geos3.9_gdal3.0.2w64/test_91_diff)
 -----------------------------------------------------------------------------
 --- split_expected      2020-07-29 20:16:55.437349200 -0400
 +++ /projects/postgis/tmp/3.1.0dev_pg13_geos3.9_gdal3.0.2w64/test_91_out
 2020-07-29 21:06:29.796145200 -0400
 @@ -6,25 +6,25 @@
  ERROR:  ST_Split: Operation on mixed SRID geometries (LineString, 10) !=
 (LineString, 5)
  4|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,10 0))
  5|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,10 0))
 -6|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0),LINESTRING(5 0,10 0))
 -7|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0),LINESTRING(5 0,10 0,10
 10,5 10),LINESTRING(5 10,0 10,0 20,5 20),LINESTRING(5 20,10 20))
 +6|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0,10 0))
 +7|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0,10 0,10 10,5 10,0 10,0
 20,5 20,10 20))
  ERROR:  Splitter line has linear intersection with input
  ERROR:  Splitter line has linear intersection with input
 -20|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 0)),POLYGON((5
 10,10 10,10 0,5 0,5 10)))
 -21|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 2,5
 2,5 0)),POLYGON((5 10,10 10,10 0,5 0,5 2,8 2,8 8,5 8,5 10)))
 -22|SRID=12;GEOMETRYCOLLECTION(POLYGON((2 0,0 0,0 10,2 10,2 0)),POLYGON((2
 10,10 10,10 0,2 0,2 10),(5 2,8 2,8 8,5 8,5 2)))
 -23|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 6,5
 6,5 4,2 4,2 2,5 2,5 0)),POLYGON((5 10,10 10,10 0,5 0,5 2,8 2,8 4,5 4,5 6,8
 6,8 8,5 8,5 10)))
 -30|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0),LINESTRING(5 0,10
 0),LINESTRING(0 5,5 5),LINESTRING(5 5,10 5))
 -31|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0),LINESTRING(5 0,10
 0),LINESTRING(0 5,10 5))
 +20|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 0)),POLYGON((5
 0,5 10,10 10,10 0,5 0)))
 +21|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 2,5
 2,5 0)),POLYGON((5 0,5 2,8 2,8 8,5 8,5 10,10 10,10 0,5 0)))
 +22|SRID=12;GEOMETRYCOLLECTION(POLYGON((2 0,0 0,0 10,2 10,2 0)),POLYGON((2
 0,2 10,10 10,10 0,2 0),(5 2,8 2,8 8,5 8,5 2)))
 +23|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 6,5
 6,5 4,2 4,2 2,5 2,5 0)),POLYGON((5 0,5 2,8 2,8 4,5 4,5 6,8 6,8 8,5 8,5
 10,10 10,10 0,5 0)))
 +30|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0,10 0),LINESTRING(0 5,5
 5,10 5))
 +31|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0,10 0),LINESTRING(0 5,10
 5))
  32|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,10 0),LINESTRING(0 5,10 5))
  40|SRID=10;GEOMETRYCOLLECTION(LINESTRING(0 0,5 0),LINESTRING(5 0,10
 0),LINESTRING(0 5,10 5))
 -50|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 6,5
 6,5 4,2 4,2 2,5 2,5 0)),POLYGON((5 10,10 10,10 0,5 0,5 2,8 2,8 4,5 4,5 6,8
 6,8 8,5 8,5 10)),POLYGON((20 0,20 10,30 10,30 0,20 0),(25 5,28 5,25 8,25
 5)))
 -60|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 6,5
 6,5 4,2 4,2 2,5 2,5 0)),POLYGON((5 10,10 10,10 0,5 0,5 2,8 2,8 4,5 4,5 6,8
 6,8 8,5 8,5 10)),POLYGON((20 0,20 10,30 10,30 0,20 0),(25 5,28 5,25 8,25
 5)),LINESTRING(0 0,5 0),LINESTRING(5 0,10 0),LINESTRING(0 5,5
 5),LINESTRING(5 5,10 5))
 -70|SRID=11;GEOMETRYCOLLECTION(LINESTRING(1691983.26 4874594.81
 312.24,1691984.86 4874593.69 312.24,1691982 4874589.604285714
 312.24),LINESTRING(1691982 4874589.604285714 312.24,1691981.3051513054
 4874588.611644722 312.24),LINESTRING(1691981.3051513054 4874588.611644722
 312.24,1691979.54 4874586.09 312.24,1691978.03 4874587.16 298.36))
 +50|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 6,5
 6,5 4,2 4,2 2,5 2,5 0)),POLYGON((5 0,5 2,8 2,8 4,5 4,5 6,8 6,8 8,5 8,5
 10,10 10,10 0,5 0)),POLYGON((20 0,20 10,30 10,30 0,20 0),(25 5,28 5,25
 8,25 5)))
 +60|SRID=12;GEOMETRYCOLLECTION(POLYGON((5 0,0 0,0 10,5 10,5 8,2 8,2 6,5
 6,5 4,2 4,2 2,5 2,5 0)),POLYGON((5 0,5 2,8 2,8 4,5 4,5 6,8 6,8 8,5 8,5
 10,10 10,10 0,5 0)),POLYGON((20 0,20 10,30 10,30 0,20 0),(25 5,28 5,25
 8,25 5)),LINESTRING(0 0,5 0,10 0),LINESTRING(0 5,5 5,10 5))
 +70|SRID=11;GEOMETRYCOLLECTION(LINESTRING(1691983.26 4874594.81
 312.24,1691984.86 4874593.69 312.24,1691982 4874589.604285714
 312.24,1691981.3051513054 4874588.611644722 312.24,1691979.54 4874586.09
 312.24,1691978.03 4874587.16 298.36))
  80|GEOMETRYCOLLECTION(LINESTRING(0 1,0 1,0 1))
  81|GEOMETRYCOLLECTION(LINESTRING(0 1,0 1))
  82|t
 -83|SRID=3;GEOMETRYCOLLECTION(LINESTRING(1 -1,1 0),LINESTRING(1 0,1 1))
 -84|SRID=3;GEOMETRYCOLLECTION(LINESTRING(1 -1,1 0),LINESTRING(1 0,1 1))
 -85|SRID=3;GEOMETRYCOLLECTION(LINESTRING(1 -2,1 -1),LINESTRING(1 -1,1 1,3
 1),LINESTRING(3 1,4 1))
 +83|SRID=3;GEOMETRYCOLLECTION(LINESTRING(1 -1,1 0,1 1))
 +84|SRID=3;GEOMETRYCOLLECTION(LINESTRING(1 -1,1 0,1 1))
 +85|SRID=3;GEOMETRYCOLLECTION(LINESTRING(1 -2,1 -1,1 1,3 1,4 1))
  86|SRID=3;GEOMETRYCOLLECTION(LINESTRING(8 0,10 0),LINESTRING(0 0,5
 0),LINESTRING(5 0,8 0),LINESTRING(5 0,5 5),LINESTRING(5 -2,5
 0),LINESTRING(5 -5,5 -2),LINESTRING(8 20,10 20),LINESTRING(2 20,5
 20),LINESTRING(0 20,2 20),LINESTRING(5 20,8 20))
 -----------------------------------------------------------------------------
  sql-mm-serialize .. ok in 136 ms
  sql-mm-circularstring .. ok in 146 ms
  sql-mm-compoundcurve .. ok in 149 ms
  sql-mm-curvepoly .. ok in 160 ms
  sql-mm-general .. ok in 99 ms
  sql-mm-multicurve .. ok in 167 ms
  sql-mm-multisurface .. ok in 150 ms
  swapordinates .. ok in 101 ms
  summary .. ok in 101 ms
  temporal .. ok in 113 ms
  temporal_knn .. ok in 158 ms
  tickets .. failed (diff expected obtained:
 /projects/postgis/tmp/3.1.0dev_pg13_geos3.9_gdal3.0.2w64/test_103_diff)
 -----------------------------------------------------------------------------
 --- tickets_expected    2020-07-29 21:04:50.135370700 -0400
 +++ /projects/postgis/tmp/3.1.0dev_pg13_geos3.9_gdal3.0.2w64/test_103_out
 2020-07-29 21:06:37.571058500 -0400
 @@ -128,7 +128,7 @@
  #723|f
  #804|<gml:Point srsName="urn:ogc:def:crs:EPSG::4326"><gml:pos
 srsDimension="2">0 0</gml:pos></gml:Point>
  #845|t
 -#834|GEOMETRYCOLLECTION(POINT(0 0 5),LINESTRING(10 10 5,10 0 5))
 +#834|LINESTRING(10 10,10 0)
  #884|1|f
  #884|2|t
  #938|
 @@ -252,7 +252,7 @@
  #2412|LINESTRING(0 0,10 0,20 0)
  #2420.1|LINESTRING(0 0,10 0,10 10,0 10,0 0)
  #2420.2|LINESTRING(0 0,10 0,10 10,0 10)
 -#2423|POLYGON((-10 0,-9.239 3.827,-7.071 7.071,-3.827 9.239,0 10,3.827
 9.239,7.071 7.071,9.239 3.827,10 0,-10 0))
 +#2423|POLYGON((-10 0,-9.808 1.951,-8.315 5.556,-5.556 8.315,-1.951
 9.808,1.951 9.808,5.556 8.315,8.315 5.556,9.808 1.951,10 0,-10 0))
  #2424|MULTILINESTRING((0 0,10 0,24 3,30 10))
  #2427|POINT(-1 0)
  #2168|5340.76237395|5340.76237395|0
 @@ -327,10 +327,10 @@
  #4011|ST_MultiLineString|MULTILINESTRING EMPTY|t|t
  #4011|ST_GeometryCollection|MULTILINESTRING((0 0,0 0))|f|f
  #4025|
 -ERROR:  lwgeom_intersection: GEOS Error: TopologyException: Input geom 0
 is invalid: Self-intersection
 -ERROR:  lwgeom_difference: GEOS Error: TopologyException: Input geom 0 is
 invalid: Self-intersection
 -ERROR:  lwgeom_symdifference: GEOS Error: TopologyException: Input geom 0
 is invalid: Self-intersection
 -ERROR:  lwgeom_union: GEOS Error: TopologyException: Input geom 0 is
 invalid: Self-intersection
 +ERROR:  lwgeom_intersection: GEOS Error: TopologyException: side location
 conflict at 5 5
 +ERROR:  lwgeom_difference: GEOS Error: TopologyException: side location
 conflict at 5 5
 +ERROR:  lwgeom_symdifference: GEOS Error: TopologyException: side
 location conflict at 5 5
 +ERROR:  lwgeom_union: GEOS Error: TopologyException: side location
 conflict at 5 5
  #4055a|4326
  #4055b|4326
  #4089|LINESTRING Z (1 1 1,3 3 1)
 -----------------------------------------------------------------------------
  twkb .. ok in 104 ms
  typmod .. ok in 18383 ms
  wkb .. ok in 144 ms
  wkt .. ok in 138 ms
  wmsservers .. ok in 363 ms
  offsetcurve .. ok in 128 ms
  relatematch .. ok in 105 ms
  isvaliddetail .. ok in 110 ms
  sharedpaths .. ok in 113 ms
  snap .. ok in 102 ms
  node .. ok in 105 ms
  unaryunion .. ok in 107 ms
  clean .. ok in 176 ms
  relate_bnr .. ok in 271 ms
  delaunaytriangles .. ok in 125 ms
  clipbybox2d .. ok in 110 ms
  subdivide .. failed (diff expected obtained:
 /projects/postgis/tmp/3.1.0dev_pg13_geos3.9_gdal3.0.2w64/test_120_diff)
 -----------------------------------------------------------------------------
 --- subdivide_expected  2020-07-29 20:16:50.437375400 -0400
 +++ /projects/postgis/tmp/3.1.0dev_pg13_geos3.9_gdal3.0.2w64/test_120_out
 2020-07-29 21:07:06.056466900 -0400
 @@ -4,7 +4,7 @@
  ERROR:  lwgeom_subdivide: cannot subdivide to fewer than 5 vertices per
 output
  #3522|POINT(1 1)
  #3744|1600000000000000
 -4|29321996468.6|29321996468.6|1857|256
 +4|29321996468.6|29321996468.6|1856|256
  #4211|0.00008316000
  #4217|0.00002463668
  #4301|0.00213614552
 -----------------------------------------------------------------------------
  voronoi .. ok in 106 ms
  regress_brin_index .. ok in 558 ms
  regress_brin_index_3d .. ok in 457 ms
  regress_brin_index_geography .. ok in 214 ms
  minimum_clearance .. ok in 110 ms
  oriented_envelope .. ok in 115 ms
  point_coordinates .. ok in 108 ms
  out_geojson .. ok in 137 ms
  frechet .. ok in 127 ms
  geos38 .. ok in 103 ms
  geos39 .. ok in 104 ms
  in_geojson .. ok in 123 ms
  regress_spgist_index_2d .. ok in 381 ms
  regress_spgist_index_3d .. ok in 715 ms
  regress_spgist_index_nd .. ok in 709 ms
  mvt .. ok in 233 ms
  mvt_jsonb .. ok in 105 ms
  geobuf .. ok in 105 ms
  uninstall .  /projects/postgis/postgis-git/regress/00-regress-
 install/share/contrib/postgis/uninstall_postgis.sql
 . ok (4831)

 Run tests: 139
 Failed: 3
 make[1]: *** [Makefile:237: check] Error 3
 make[1]: Leaving directory '/projects/postgis/postgis-git/regress/core'
 make: *** [Makefile:47: check-regress] Error 2



 }}}

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