Changeset: 08fd1cad82bc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/08fd1cad82bc
Modified Files:
geom/sql/functions/Tests/All
geom/sql/functions/Tests/ST_Boundary.test
geom/sql/pg_regression/Tests/All
geom/sql/pg_regression/Tests/boundary.test
Branch: Sep2022
Log Message:
Newer version of the geos library gives a different answer.
diffs (46 lines):
diff --git a/geom/sql/functions/Tests/All b/geom/sql/functions/Tests/All
--- a/geom/sql/functions/Tests/All
+++ b/geom/sql/functions/Tests/All
@@ -41,7 +41,7 @@ HAVE_GEOM?ST_Contains
#HAVE_GEOM?equals
-HAVE_GEOM?ST_Boundary
+HAVE_GEOM&GEOS_VERSION>=3.11.1?ST_Boundary
HAVE_GEOM?ST_Dimension
HAVE_GEOM?ST_CoordDim
diff --git a/geom/sql/functions/Tests/ST_Boundary.test
b/geom/sql/functions/Tests/ST_Boundary.test
--- a/geom/sql/functions/Tests/ST_Boundary.test
+++ b/geom/sql/functions/Tests/ST_Boundary.test
@@ -16,7 +16,7 @@ LINESTRING Z (1 1 1, 0 0 1, -1 1 1, 1 1
query T rowsort
SELECT ST_Boundary(ST_GeomFromText('MULTILINESTRING((1 1 1,0 0 0.5, -1 1 1),(1
1 0.5,0 0 0.5, -1 1 0.5, 1 1 0.5) )'))
----
-MULTIPOINT Z (-1 1 1, 1 1 0.75)
+MULTIPOINT Z (-1 1 1, 1 1 1)
query TT rowsort
SELECT geom AS "GEOMETRY", ST_Boundary(geom) AS "BOUNDARY" FROM geometries
where id<>12 and id<>13 and id<>24 and id<>25
diff --git a/geom/sql/pg_regression/Tests/All b/geom/sql/pg_regression/Tests/All
--- a/geom/sql/pg_regression/Tests/All
+++ b/geom/sql/pg_regression/Tests/All
@@ -87,7 +87,7 @@ HAVE_GEOM&GEOS_VERSION>=3.10?dump #Unkno
HAVE_GEOM?dumppoints #Uknown Types: TRIANGLE, TIN, CURVEPOLYGON (queries for
these types commented out)
-HAVE_GEOM?boundary #Uknown Types: TRIANGLE (queries for these types commented
out)
+HAVE_GEOM&GEOS_VERSION>=3.11.1?boundary #Uknown Types: TRIANGLE (queries for
these types commented out)
#HAVE_GEOM?wmsservers #Not applicable to MonetDB (?)
diff --git a/geom/sql/pg_regression/Tests/boundary.test
b/geom/sql/pg_regression/Tests/boundary.test
--- a/geom/sql/pg_regression/Tests/boundary.test
+++ b/geom/sql/pg_regression/Tests/boundary.test
@@ -16,5 +16,5 @@ SRID:0;LINESTRING Z (1 1 1, 0 0 1, -1 1
query T rowsort
SELECT ST_AsEWKT(ST_Boundary(ST_GeomFromText('MULTILINESTRING((1 1 1,0 0 0.5,
-1 1 1),(1 1 0.5,0 0 0.5, -1 1 0.5, 1 1 0.5) )')))
----
-SRID:0;MULTIPOINT Z (-1 1 1, 1 1 0.75)
+SRID:0;MULTIPOINT Z (-1 1 1, 1 1 1)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]