[postgis-tickets] [PostGIS] #4734: Debbie failing regress raster on gdal_polygonize and raster_surface on GDAL 3.2 (GDAL Master)

PostGIS trac at osgeo.org
Mon Aug 3 07:20:17 PDT 2020


#4734: Debbie failing regress raster on gdal_polygonize and raster_surface on GDAL
3.2 (GDAL Master)
------------------------+--------------------------
  Reporter:  robe       |      Owner:  robe
      Type:  defect     |     Status:  new
  Priority:  medium     |  Milestone:  PostGIS GDAL
 Component:  buildbots  |    Version:  master
Resolution:             |   Keywords:
------------------------+--------------------------
Description changed by robe:

Old description:

> I had switched debbie to testing with GDAL 2.4 on PostGIS Master because
> GDAL 3.1 was failing.  Just retested with GDAL 3.2 (master) and still
> failing.  Can't find the original ticket I put in.
>
> I'm not sure if it's proj or what.
>

> {{{
> 20:24:34  -------------- Dependencies --------------
> 20:24:34   GEOS config:
> /var/lib/jenkins/workspace/geos/rel-3.9w64/bin/geos-config
> 20:24:34   GEOS version:         3.9.0dev
> 20:24:34   GDAL config:
> /var/lib/jenkins/workspace/gdal/rel-3.2w64/bin/gdal-config
> 20:24:34   GDAL version:         3.2.0
> 20:24:34   SFCGAL config:        /usr/bin/sfcgal-config
> 20:24:34   SFCGAL version:       1.3.7
> 20:24:34   PostgreSQL config:
> /var/lib/jenkins/workspace/pg/rel/pg12w64/bin/pg_config
> 20:24:34   PostgreSQL version:   PostgreSQL 12.3
> 20:24:34   PROJ4 version:        71
> 20:24:34   Libxml2 config:       /usr/bin/xml2-config
> 20:24:34   Libxml2 version:      2.9.10
> 20:24:34   JSON-C support:       yes
> 20:24:34   protobuf support:     yes
> 20:24:34   protobuf-c version:   1003003
> 20:24:34   PCRE support:         no
> 20:24:34   Perl:                 /usr/bin/perl
> 20:24:34   Wagyu:                yes
> 20:24:34
> 20:24:34  --------------- Extensions ---------------
> }}}
>

>
> {{{
> 20:28:35 Suite: gdal
> 20:28:35   Test: test_gdal_configured ...passed
> 20:28:35   Test: test_gdal_drivers ...passed
> 20:28:35   Test: test_gdal_rasterize ...passed
> 20:28:35   Test: test_gdal_polygonize ...FAILED
> 20:28:35     1. cu_gdal.c:180  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
> 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
> 20:28:35     2. cu_gdal.c:196  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
> 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
> 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
> 20:28:35     3. cu_gdal.c:232  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
> 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
> 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
> 20:28:35     4. cu_gdal.c:260  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
> 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
> 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
> 20:28:35     5. cu_gdal.c:264  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
> 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
> 20:28:35     6. cu_gdal.c:295  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
> 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
> 20:28:35     7. cu_gdal.c:327  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
> 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
> 20:28:35     8. cu_gdal.c:343  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
> 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
> 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
> 20:28:35   Test: test_raster_to_gdal ...Warning 6: PNG driver doesn't
> support data type Float64. Only eight bit (Byte) and sixteen bit (UInt16)
> bands supported. Defaulting to Byte
> }}}
>

>
> {{{
> 20:28:35   Test: test_raster_surface ...INFO: Self-intersection at or
> near point 2 -2
> 20:28:35 INFO: Self-intersection at or near point 2 -2
> 20:28:35 FAILED
> 20:28:35     1. cu_raster_geometry.c:296  -
> CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 0,1 -1,0 -1,0 -5,4 -5,5 -5,5
> 0,1 0)))")
> 20:28:35     2. cu_raster_geometry.c:308  -
> CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 0,1 -1,0 -1,0 -5,4 -5,5 -5,5
> 0,1 0),(1 -1,1 -2,2 -2,2 -1,1 -1)))")
> 20:28:35     3. cu_raster_geometry.c:321  -
> CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -1,1 0,5 0,5 -5,4 -5,0 -5,0
> -1,1 -1),(1 -1,1 -2,2 -2,2 -1,1 -1),(2 -2,2 -3,3 -3,3 -2,2 -2)))")
> 20:28:35     4. cu_raster_geometry.c:335  -
> CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -1,1 0,5 0,5 -5,4 -5,0 -5,0
> -1,1 -1),(1 -1,1 -2,2 -2,2 -1,1 -1),(2 -2,2 -3,3 -3,3 -2,2 -2),(3 -3,3
> -4,4 -4,4 -3,3 -3)))")
> 20:28:35     5. cu_raster_geometry.c:363  -
> CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -4,2 -4,2 -3,3 -3,3 -4,4
> -4,4 -5,3 -5,1 -5,1 -4)),((1 -4,0 -4,0 -1,1 -1,1 -2,2 -2,2 -3,1 -3,1
> -4)),((3 -2,4 -2,4 -1,5 -1,5 -4,4 -4,4 -3,3 -3,3 -2)),((3 -2,2 -2,2 -1,1
> -1,1 0,4 0,4 -1,3 -1,3 -2)))")
> }}}

New description:

 I had switched debbie to testing with GDAL 2.4 on PostGIS Master because
 GDAL 3.2 was failing.  Just retested with GDAL 3.2 (master) and still
 failing.  Can't find the original ticket I put in.

 I'm not sure if it's proj or what.


 {{{
 20:24:34  -------------- Dependencies --------------
 20:24:34   GEOS config:
 /var/lib/jenkins/workspace/geos/rel-3.9w64/bin/geos-config
 20:24:34   GEOS version:         3.9.0dev
 20:24:34   GDAL config:
 /var/lib/jenkins/workspace/gdal/rel-3.2w64/bin/gdal-config
 20:24:34   GDAL version:         3.2.0
 20:24:34   SFCGAL config:        /usr/bin/sfcgal-config
 20:24:34   SFCGAL version:       1.3.7
 20:24:34   PostgreSQL config:
 /var/lib/jenkins/workspace/pg/rel/pg12w64/bin/pg_config
 20:24:34   PostgreSQL version:   PostgreSQL 12.3
 20:24:34   PROJ4 version:        71
 20:24:34   Libxml2 config:       /usr/bin/xml2-config
 20:24:34   Libxml2 version:      2.9.10
 20:24:34   JSON-C support:       yes
 20:24:34   protobuf support:     yes
 20:24:34   protobuf-c version:   1003003
 20:24:34   PCRE support:         no
 20:24:34   Perl:                 /usr/bin/perl
 20:24:34   Wagyu:                yes
 20:24:34
 20:24:34  --------------- Extensions ---------------
 }}}



 {{{
 20:28:35 Suite: gdal
 20:28:35   Test: test_gdal_configured ...passed
 20:28:35   Test: test_gdal_drivers ...passed
 20:28:35   Test: test_gdal_rasterize ...passed
 20:28:35   Test: test_gdal_polygonize ...FAILED
 20:28:35     1. cu_gdal.c:180  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
 20:28:35     2. cu_gdal.c:196  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
 20:28:35     3. cu_gdal.c:232  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
 20:28:35     4. cu_gdal.c:260  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
 20:28:35     5. cu_gdal.c:264  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
 20:28:35     6. cu_gdal.c:295  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
 20:28:35     7. cu_gdal.c:327  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((3
 1,3 2,2 2,2 3,1 3,1 6,2 6,2 7,3 7,3 8,5 8,5 6,3 6,3 3,4 3,5 3,5 1,3 1))")
 20:28:35     8. cu_gdal.c:343  - CU_ASSERT_STRING_EQUAL(wkt,"POLYGON((0
 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6
 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))")
 20:28:35   Test: test_raster_to_gdal ...Warning 6: PNG driver doesn't
 support data type Float64. Only eight bit (Byte) and sixteen bit (UInt16)
 bands supported. Defaulting to Byte
 }}}



 {{{
 20:28:35   Test: test_raster_surface ...INFO: Self-intersection at or near
 point 2 -2
 20:28:35 INFO: Self-intersection at or near point 2 -2
 20:28:35 FAILED
 20:28:35     1. cu_raster_geometry.c:296  -
 CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 0,1 -1,0 -1,0 -5,4 -5,5 -5,5
 0,1 0)))")
 20:28:35     2. cu_raster_geometry.c:308  -
 CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 0,1 -1,0 -1,0 -5,4 -5,5 -5,5
 0,1 0),(1 -1,1 -2,2 -2,2 -1,1 -1)))")
 20:28:35     3. cu_raster_geometry.c:321  -
 CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -1,1 0,5 0,5 -5,4 -5,0 -5,0
 -1,1 -1),(1 -1,1 -2,2 -2,2 -1,1 -1),(2 -2,2 -3,3 -3,3 -2,2 -2)))")
 20:28:35     4. cu_raster_geometry.c:335  -
 CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -1,1 0,5 0,5 -5,4 -5,0 -5,0
 -1,1 -1),(1 -1,1 -2,2 -2,2 -1,1 -1),(2 -2,2 -3,3 -3,3 -2,2 -2),(3 -3,3
 -4,4 -4,4 -3,3 -3)))")
 20:28:35     5. cu_raster_geometry.c:363  -
 CU_ASSERT_STRING_EQUAL(wkt,"MULTIPOLYGON(((1 -4,2 -4,2 -3,3 -3,3 -4,4 -4,4
 -5,3 -5,1 -5,1 -4)),((1 -4,0 -4,0 -1,1 -1,1 -2,2 -2,2 -3,1 -3,1 -4)),((3
 -2,4 -2,4 -1,5 -1,5 -4,4 -4,4 -3,3 -3,3 -2)),((3 -2,2 -2,2 -1,1 -1,1 0,4
 0,4 -1,3 -1,3 -2)))")
 }}}

--

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