Opened 2 years ago

Closed 2 years ago

#4126 closed defect (fixed)

sfcgal/concave_hull on sid/i386/PG10: ERROR: GeometryCollection is invalid : Polygon 12 is invalid: not enough points in ring 0

Reported by: myon Owned by: colivier
Priority: medium Milestone: PostGIS 2.5.0
Component: sfcgal Version: master
Keywords: Cc:

Description

On Debian unstable i386, the sfcgal/concave_hull test fails:

--- sfcgal/concave_hull_expected	2018-07-17 09:54:38.613988675 +0200
+++ /tmp/pgis_reg/test_135_out	2018-07-17 14:26:52.805277571 +0200
@@ -1,3 +1,9 @@
 ST_ConcaveHull MultiPolygon 0.95|t|t
-ST_ConcaveHull Lines 0.80|t|t
-ST_ConcaveHull Lines 0.80 holes|t|t
+NOTICE:  During union(A,B) :
+NOTICE:    with A: MULTILINESTRING((36/1 150/1,2131446508051805/35184372088832 150/1,134214654424097/2199023255552 150/1,62/1 150/1,4455510276405451/70368744177664 2602430424116217/17592186044416,4502864889160195/70368744177664 1291913413124141/8796093022208),(2726116527791431/70368744177664 518882869217331/4398046511104,169052008875667/4398046511104 64746585208437/549755813888,2691756561183829/70368744177664 2069654114160129/17592186044416),(1682017803923229/35184372088832 3342639698202655/35184372088832,1682549074047135/35184372088832 417766572090093/4398046511104,3437184779155767/70368744177664 3307727593714121/35184372088832),(3437184779155767/70368744177664 3307727593714121/35184372088832,3440352856007001/70368744177664 1653107778517561/17592186044416),(3440352856007001/70368744177664 1653107778517561/17592186044416,430045447634487/8796093022208 3306210438252241/35184372088832),(1877727914546985/35184372088832 2761046010532207/17592186044416,1868744718964359/35184372088832 2759249371415681/17592186044416,36/1 150/1),(3810878897050701/70368744177664 345823539665985/2199023255552,1877727914546985/35184372088832 2761046010532207/17592186044416),(4502864889160195/70368744177664 1291913413124141/8796093022208,76/1 128/1),(9791971818841/137438953472 616698163838769/4398046511104,2726116527791431/70368744177664 518882869217331/4398046511104),(314791216158603/4398046511104 1235377962774799/8796093022208,9791971818841/137438953472 616698163838769/4398046511104),(316819925148861/4398046511104 1238154090866731/8796093022208,314791216158603/4398046511104 1235377962774799/8796093022208),(76/1 128/1,177712060840369/2199023255552 4362449048458269/35184372088832),(177712060840369/2199023255552 4362449048458269/35184372088832,2852896801588495/35184372088832 4354529191672777/35184372088832))
+NOTICE:     and B: GEOMETRYCOLLECTION(LINESTRING(2721869834906585/70368744177664 4149610137751727/35184372088832,169052008875667/4398046511104 64746585208437/549755813888,2691756561183829/70368744177664 2069654114160129/17592186044416),LINESTRING(1566967376199059/35184372088832 4290579714788305/35184372088832,44390303992691/1099511627776 2095179082930249/17592186044416),LINESTRING(1604911186611371/35184372088832 676620666236271/4398046511104,36/1 150/1),LINESTRING(8399886231012701/140737488355328 150/1,2131446508051805/35184372088832 150/1),LINESTRING(2131446508051805/35184372088832 150/1,134214654424097/2199023255552 150/1),LINESTRING(134214654424097/2199023255552 150/1,62/1 150/1),LINESTRING(62/1 150/1,4455510276405451/70368744177664 2602430424116217/17592186044416),LINESTRING(4455510276405451/70368744177664 2602430424116217/17592186044416,4502864889160195/70368744177664 1291913413124141/8796093022208),LINESTRING(4502864889160195/70368744177664 1291913413124141/8796093022208,1130453900949095/17592186044416 1288190951320605/8796093022208),LINESTRING(316819925148861/4398046511104 1238154090866731/8796093022208,2523129955564389/35184372088832 618099527057415/4398046511104),LINESTRING(1400220849639383/17592186044416 1099560444232721/8796093022208,177712060840369/2199023255552 4362449048458269/35184372088832),LINESTRING(177712060840369/2199023255552 4362449048458269/35184372088832,2852896801588495/35184372088832 4354529191672777/35184372088832),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,430045447634487/8796093022208 3306210438252241/35184372088832)),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,5600883398557533/70368744177664 1099560444232721/8796093022208,5653338500867261/70368744177664 8752770968603661/70368744177664,2852896801588495/35184372088832 4354529191672777/35184372088832,2747521139158397/35184372088832 8884684487395717/70368744177664,2572125026543451/35184372088832 582963520819269/4398046511104,316819925148861/4398046511104 1238154090866731/8796093022208,252312
+ERROR:  GeometryCollection is invalid : Polygon 12 is invalid: not enough points in ring 0 : GEOMETRYCOLLECTION(LINESTRING(2721869834906585/70368744177664 4149610137751727/35184372088832,169052008875667/4398046511104 64746585208437/549755813888,2691756561183829/70368744177664 2069654114160129/17592186044416),LINESTRING(1566967376199059/35184372088832 4290579714788305/35184372088832,44390303992691/1099511627776 2095179082930249/17592186044416),LINESTRING(1604911186611371/35184372088832 676620666236271/4398046511104,36/1 150/1),LINESTRING(8399886231012701/140737488355328 150/1,2131446508051805/35184372088832 150/1),LINESTRING(2131446508051805/35184372088832 150/1,134214654424097/2199023255552 150/1),LINESTRING(134214654424097/2199023255552 150/1,62/1 150/1),LINESTRING(62/1 150/1,4455510276405451/70368744177664 2602430424116217/17592186044416),LINESTRING(4455510276405451/70368744177664 2602430424116217/17592186044416,4502864889160195/70368744177664 1291913413124141/8796093022208),LINESTRING(4502864889160195/70368744177664 1291913413124141/8796093022208,1130453900949095/17592186044416 1288190951320605/8796093022208),LINESTRING(316819925148861/4398046511104 1238154090866731/8796093022208,2523129955564389/35184372088832 618099527057415/4398046511104),LINESTRING(1400220849639383/17592186044416 1099560444232721/8796093022208,177712060840369/2199023255552 4362449048458269/35184372088832),LINESTRING(177712060840369/2199023255552 4362449048458269/35184372088832,2852896801588495/35184372088832 4354529191672777/35184372088832),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,430045447634487/8796093022208 3306210438252241/35184372088832)),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,5600883398557533/70368744177664 1099560444232721/8796093022208,5653338500867261/70368744177664 8752770968603661/70368744177664,2852896801588495/35184372088832 4354529191672777/35184372088832,2747521139158397/35184372088832 8884684487395717/70368744177664,2572125026543451/35184372088832 582963520819269/439804
+NOTICE:  During union(A,B) :
+NOTICE:    with A: MULTILINESTRING((36/1 150/1,2131446508051805/35184372088832 150/1,134214654424097/2199023255552 150/1,62/1 150/1,4455510276405451/70368744177664 2602430424116217/17592186044416,4502864889160195/70368744177664 1291913413124141/8796093022208),(2726116527791431/70368744177664 518882869217331/4398046511104,169052008875667/4398046511104 64746585208437/549755813888,2691756561183829/70368744177664 2069654114160129/17592186044416),(1682017803923229/35184372088832 3342639698202655/35184372088832,1682549074047135/35184372088832 417766572090093/4398046511104,3437184779155767/70368744177664 3307727593714121/35184372088832),(3437184779155767/70368744177664 3307727593714121/35184372088832,3440352856007001/70368744177664 1653107778517561/17592186044416),(3440352856007001/70368744177664 1653107778517561/17592186044416,430045447634487/8796093022208 3306210438252241/35184372088832),(1877727914546985/35184372088832 2761046010532207/17592186044416,1868744718964359/35184372088832 2759249371415681/17592186044416,36/1 150/1),(3810878897050701/70368744177664 345823539665985/2199023255552,1877727914546985/35184372088832 2761046010532207/17592186044416),(4502864889160195/70368744177664 1291913413124141/8796093022208,76/1 128/1),(9791971818841/137438953472 616698163838769/4398046511104,2726116527791431/70368744177664 518882869217331/4398046511104),(314791216158603/4398046511104 1235377962774799/8796093022208,9791971818841/137438953472 616698163838769/4398046511104),(316819925148861/4398046511104 1238154090866731/8796093022208,314791216158603/4398046511104 1235377962774799/8796093022208),(76/1 128/1,177712060840369/2199023255552 4362449048458269/35184372088832),(177712060840369/2199023255552 4362449048458269/35184372088832,2852896801588495/35184372088832 4354529191672777/35184372088832))
+NOTICE:     and B: GEOMETRYCOLLECTION(LINESTRING(2721869834906585/70368744177664 4149610137751727/35184372088832,169052008875667/4398046511104 64746585208437/549755813888,2691756561183829/70368744177664 2069654114160129/17592186044416),LINESTRING(1566967376199059/35184372088832 4290579714788305/35184372088832,44390303992691/1099511627776 2095179082930249/17592186044416),LINESTRING(1604911186611371/35184372088832 676620666236271/4398046511104,36/1 150/1),LINESTRING(8399886231012701/140737488355328 150/1,2131446508051805/35184372088832 150/1),LINESTRING(2131446508051805/35184372088832 150/1,134214654424097/2199023255552 150/1),LINESTRING(134214654424097/2199023255552 150/1,62/1 150/1),LINESTRING(62/1 150/1,4455510276405451/70368744177664 2602430424116217/17592186044416),LINESTRING(4455510276405451/70368744177664 2602430424116217/17592186044416,4502864889160195/70368744177664 1291913413124141/8796093022208),LINESTRING(4502864889160195/70368744177664 1291913413124141/8796093022208,1130453900949095/17592186044416 1288190951320605/8796093022208),LINESTRING(316819925148861/4398046511104 1238154090866731/8796093022208,2523129955564389/35184372088832 618099527057415/4398046511104),LINESTRING(1400220849639383/17592186044416 1099560444232721/8796093022208,177712060840369/2199023255552 4362449048458269/35184372088832),LINESTRING(177712060840369/2199023255552 4362449048458269/35184372088832,2852896801588495/35184372088832 4354529191672777/35184372088832),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,430045447634487/8796093022208 3306210438252241/35184372088832)),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,5600883398557533/70368744177664 1099560444232721/8796093022208,5653338500867261/70368744177664 8752770968603661/70368744177664,2852896801588495/35184372088832 4354529191672777/35184372088832,2747521139158397/35184372088832 8884684487395717/70368744177664,2572125026543451/35184372088832 582963520819269/4398046511104,316819925148861/4398046511104 1238154090866731/8796093022208,252312
+ERROR:  GeometryCollection is invalid : Polygon 12 is invalid: not enough points in ring 0 : GEOMETRYCOLLECTION(LINESTRING(2721869834906585/70368744177664 4149610137751727/35184372088832,169052008875667/4398046511104 64746585208437/549755813888,2691756561183829/70368744177664 2069654114160129/17592186044416),LINESTRING(1566967376199059/35184372088832 4290579714788305/35184372088832,44390303992691/1099511627776 2095179082930249/17592186044416),LINESTRING(1604911186611371/35184372088832 676620666236271/4398046511104,36/1 150/1),LINESTRING(8399886231012701/140737488355328 150/1,2131446508051805/35184372088832 150/1),LINESTRING(2131446508051805/35184372088832 150/1,134214654424097/2199023255552 150/1),LINESTRING(134214654424097/2199023255552 150/1,62/1 150/1),LINESTRING(62/1 150/1,4455510276405451/70368744177664 2602430424116217/17592186044416),LINESTRING(4455510276405451/70368744177664 2602430424116217/17592186044416,4502864889160195/70368744177664 1291913413124141/8796093022208),LINESTRING(4502864889160195/70368744177664 1291913413124141/8796093022208,1130453900949095/17592186044416 1288190951320605/8796093022208),LINESTRING(316819925148861/4398046511104 1238154090866731/8796093022208,2523129955564389/35184372088832 618099527057415/4398046511104),LINESTRING(1400220849639383/17592186044416 1099560444232721/8796093022208,177712060840369/2199023255552 4362449048458269/35184372088832),LINESTRING(177712060840369/2199023255552 4362449048458269/35184372088832,2852896801588495/35184372088832 4354529191672777/35184372088832),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,430045447634487/8796093022208 3306210438252241/35184372088832)),POLYGON((430045447634487/8796093022208 3306210438252241/35184372088832,5600883398557533/70368744177664 1099560444232721/8796093022208,5653338500867261/70368744177664 8752770968603661/70368744177664,2852896801588495/35184372088832 4354529191672777/35184372088832,2747521139158397/35184372088832 8884684487395717/70368744177664,2572125026543451/35184372088832 582963520819269/439804
  • Debian unstable i386
  • PostgreSQL 10.4-2.pgdg+1
  • POSTGIS="2.5.0beta2dev r16647" [EXTENSION] PGSQL="100" GEOS="3.6.2-CAPI-1.10.2 4d2925d6" PROJ="Rel. 5.1.0, June 1st, 2018" GDAL="GDAL 2.3.1, released 2018/06/22" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" RASTER

Change History (2)

comment:1 Changed 2 years ago by komzpa

Closed in r16659 by going to UnaryUnion?.

comment:2 Changed 2 years ago by komzpa

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.