From a6a98603808d0c132d839a09f35874a86fb19906 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 26 Jun 2015 09:06:14 +0000 Subject: [PATCH] #3182 update docs and configure to reflect SFCGAL 1.1+ is required to build with SFCGAL (patch from Vincent Mora) git-svn-id: http://svn.osgeo.org/postgis/trunk@13714 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.ac | 3 +++ doc/installation.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 242d3463a..514808561 100644 --- a/configure.ac +++ b/configure.ac @@ -665,6 +665,9 @@ if test "x$with_sfcgal" != "xno"; then SFCGAL="sfcgal" HAVE_SFCGAL="yes" fi + if test ! "$POSTGIS_SFCGAL_VERSION" -ge 11; then + AC_MSG_ERROR([PostGIS requires SFCGAL >= 1.1.0 (found $SFCGAL_VERSION)]) + fi else if test "x$with_sfcgal" != "x"; then diff --git a/doc/installation.xml b/doc/installation.xml index a25960d52..b3e913e59 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -184,7 +184,7 @@ psql -d yourdatabase -f sfcgal_comments.sql - SFCGAL, version 1.0 (or higher) could be used to provide additional 2D and 3D advanced analysis functions to PostGIS cf . And also allow to use SFCGAL rather than GEOS for some 2D functions provided by both backends (like ST_Intersection or ST_Area, for instance). A PostgreSQL configuration variable postgis.backend allow end user to control which backend he want to use if SFCGAL is installed (GEOS by default). Nota: SFCGAL 1.0 require at least CGAL 4.1 and Boost 1.46 (cf: http://oslandia.github.io/SFCGAL/installation.html) + SFCGAL, version 1.1 (or higher) could be used to provide additional 2D and 3D advanced analysis functions to PostGIS cf . And also allow to use SFCGAL rather than GEOS for some 2D functions provided by both backends (like ST_Intersection or ST_Area, for instance). A PostgreSQL configuration variable postgis.backend allow end user to control which backend he want to use if SFCGAL is installed (GEOS by default). Nota: SFCGAL 1.2 require at least CGAL 4.3 and Boost 1.54 (cf: http://oslandia.github.io/SFCGAL/installation.html) https://github.com/Oslandia/SFCGAL. -- 2.40.0