[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-141-g3600f05
git at osgeo.org
git at osgeo.org
Wed Nov 4 13:10:50 PST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 3600f05614d259078b16b1b27fbbe84b81a88ebe (commit)
from 3f1099b4250c6c187a6f238114e0da1510536908 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3600f05614d259078b16b1b27fbbe84b81a88ebe
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Nov 4 13:10:46 2020 -0800
Support GEOS 3.9 different results from new overlay engine
diff --git a/liblwgeom/cunit/cu_geos.c b/liblwgeom/cunit/cu_geos.c
index e337245..934853d 100644
--- a/liblwgeom/cunit/cu_geos.c
+++ b/liblwgeom/cunit/cu_geos.c
@@ -147,9 +147,15 @@ test_geos_makevalid(void)
geom1 = lwgeom_from_wkb(wkb, 157, LW_PARSER_CHECK_NONE);
geom2 = lwgeom_make_valid(geom1);
out_ewkt = lwgeom_to_ewkt((LWGEOM*)geom2);
+#if POSTGIS_GEOS_VERSION < 39
ASSERT_STRING_EQUAL(
out_ewkt,
"GEOMETRYCOLLECTION(POLYGON((92114.014 463463.469,92115.51207431706 463462.206937429,92115.512 463462.207,92127.546 463452.075,92117.173 463439.755,92133.675 463425.942,92122.136 463412.82600000006,92092.377 463437.77,92114.014 463463.469)),MULTIPOINT(92115.51207431706 463462.2069374289,92122.136 463412.826))");
+#else
+ ASSERT_STRING_EQUAL(
+ out_ewkt,
+ "POLYGON((92127.546 463452.075,92117.173 463439.755,92133.675 463425.942,92122.136 463412.826,92092.377 463437.77,92114.014 463463.469,92115.512 463462.207,92115.51207431706 463462.2069374289,92127.546 463452.075))");
+#endif
lwfree(out_ewkt);
lwgeom_free(geom1);
lwgeom_free(geom2);
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/cunit/cu_geos.c | 6 ++++++
1 file changed, 6 insertions(+)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list