[postgis-tickets] r17105 - Bump minimum GEOS version to 3.6

Regina Obe lr at pcorp.us
Fri Dec 14 11:50:24 PST 2018


Author: robe
Date: 2018-12-14 11:50:23 -0800 (Fri, 14 Dec 2018)
New Revision: 17105

Modified:
   trunk/NEWS
   trunk/configure.ac
   trunk/doc/installation.xml
   trunk/regress/core/Makefile.in
Log:
Bump minimum GEOS version to 3.6 
Closes #4267

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2018-12-13 06:43:36 UTC (rev 17104)
+++ trunk/NEWS	2018-12-14 19:50:23 UTC (rev 17105)
@@ -1,6 +1,7 @@
 PostGIS 3.0.0
 2019/xx/xx
 * Breaking Changes *
+  - #4267, Bump minimum GEOS version to 3.6 (Regina Obe)
   - #3888, Raster support now available as a separate extension
            (Sandro Santilli)
   - #3807, Extension library files no longer include the minor version.

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2018-12-13 06:43:36 UTC (rev 17104)
+++ trunk/configure.ac	2018-12-14 19:50:23 UTC (rev 17105)
@@ -686,10 +686,10 @@
 GEOS_NUMERIC_MINOR_VERSION=`printf "%02d" $GEOS_MINOR_VERSION`
 GEOS_NUMERIC_VERSION="$GEOS_MAJOR_VERSION$GEOS_NUMERIC_MINOR_VERSION$GEOS_NUMERIC_PATCH_VERSION"
 
-dnl Ensure that we are using GEOS >= 3.5.0
+dnl Ensure that we are using GEOS >= 3.6.0
 AC_MSG_RESULT([checking GEOS version... $GEOS_FULL_VERSION])
-if test ! "$GEOS_NUMERIC_VERSION" -ge 30500; then
-	AC_MSG_ERROR([PostGIS requires GEOS >= 3.5.0])
+if test ! "$GEOS_NUMERIC_VERSION" -ge 30600; then
+	AC_MSG_ERROR([PostGIS requires GEOS >= 3.6.0])
 fi
 
 dnl Extract the linker and include flags

Modified: trunk/doc/installation.xml
===================================================================
--- trunk/doc/installation.xml	2018-12-13 06:43:36 UTC (rev 17104)
+++ trunk/doc/installation.xml	2018-12-14 19:50:23 UTC (rev 17105)
@@ -158,7 +158,7 @@
 
 	  <listitem>
 		<para>
-		  GEOS geometry library, version 3.5 or greater, but GEOS 3.7+ is recommended to take full advantage of all the new functions and features.  You should have at least GEOS 3.5,
+		  GEOS geometry library, version 3.6 or greater, but GEOS 3.7+ is recommended to take full advantage of all the new functions and features.  You should have at least GEOS 3.5,
 			without which you will be missing some major enhancements such as <xref linkend="ST_ClipByBox2D" /> and <xref linkend="ST_Subdivide" />. GEOS is available for download from
 		  <ulink url="http://trac.osgeo.org/geos/">
 			http://trac.osgeo.org/geos/

Modified: trunk/regress/core/Makefile.in
===================================================================
--- trunk/regress/core/Makefile.in	2018-12-13 06:43:36 UTC (rev 17104)
+++ trunk/regress/core/Makefile.in	2018-12-14 19:50:23 UTC (rev 17105)
@@ -161,16 +161,11 @@
 	voronoi \
 	regress_brin_index \
 	regress_brin_index_3d \
-	regress_brin_index_geography
+	regress_brin_index_geography \
+	ST_MinimumClearance \
+	minimum_clearance \
+	oriented_envelope
 
-ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 36),1)
-	# GEOS-3.6 adds:
-	# ST_MinimumClearance
-	TESTS += \
-		minimum_clearance \
-		oriented_envelope
-endif
-
 ifeq ($(shell expr $(POSTGIS_GEOS_VERSION) ">=" 37),1)
 	# GEOS-3.7 adds:
 	# ST_FrechetDistance



More information about the postgis-tickets mailing list