Upgrading to GitLab 11.11.0.

Commit 8d749a90 authored by Bas Couwenberg's avatar Bas Couwenberg

New upstream version 2.4.0~rc1+dfsg

parent db6abf1d
......@@ -21,4 +21,5 @@ pipeline:
- service postgresql start
- make check RUNTESTFLAGS=-v
- make install
- utils/check_all_upgrades.sh 2.4.0alpha
- utils/check_all_upgrades.sh \
`grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`
This diff is collapsed.
PostGIS 2.4.0rc1
2017/09/13
Note possible breaking changes since 2.4.0 beta1 release are:
* Breaking Changes *
- B-Tree index operators < = > changed to provide better spatial locality on sorting
and have expected behavior on GROUP BY.
If you have btree index for geometry or geography, you need to REINDEX it, or review
if it was created by accident and needs to be replaced with GiST index.
If your code relies on old left-to-right box compare ordering,
update it to use << >> operators.
- ST_AsMVT aggregate now overloaded and arg order changed.
Check your code if you are already using this function.
- _ST_DumpPoints removed, was no longer needed after PostGIS 2.1.0
when ST_DumpPoints got reimplemented in C
See PostGIS 2.4.0 section for details of new features and fixes in this release
PostGIS 2.4.0
2017/09/xx
......@@ -13,19 +30,24 @@ PostGIS 2.4.0
- #3599, Geobuf output support via ST_AsGeobuf (Björn Harrtell)
- #3661, Mapbox vector tile output support via ST_AsMVT (Björn Harrtell / CartoDB)
- #3689, Add orientation checking and forcing functions (Dan Baston)
- #3753, Gist penalty speed improvements for 2d and nd points
(Darafei Praliaskouski)
- #3753, Gist penalty speed improvements for 2D and ND points
(Darafei Praliaskouski, Andrey Borodin)
- #3677, ST_FrechetDistance (Shinichi Sugiyama)
- Most aggregates (raster and geometry),
and all stable / immutable (raster and geometry) marked as parallel safe
- #2249, ST_MakeEmptyCoverage for raster (David Zwarg, ainomieli)
- #3709, Allow signed distance for ST_Project (Darafei Praliaskouski)
- #524, Covers support for Polygon-on-polygon, line on line,
- #524, Covers support for polygon on polygon, line on line,
point on line for geography (Danny Götte)
* Enhancements *
* Enhancements and Fixes*
- Many corrections to docs and several translations almost complete.
Andreas Schild who provided many corrections to core docs.
PostGIS Japanese translation team first to reach completion of translation.
- Support for PostgreSQL 10
- Preliminary support for PostgreSQL 11
- #3645, Avoid loading logically deleted records from shapefiles
- #3747, Add zip4 and address_alphanumeric as attributes
to norm_addy tiger_geocoder type.
- #3748, address_standardizer lookup tables update
......@@ -34,6 +56,13 @@ PostGIS 2.4.0
(Wouter Geraedts)
- #3684, Update to EPSG register v9
(Even Rouault)
- #3830, Fix initialization of incompatible type (>=9.6) address_standardizer
- #3662, Make shp2pgsql work in debug mode by sendig debug to stderr
- #3405, Fixed memory leak in lwgeom_to_points
- #3832, Support wide integer fields as int8 in shp2pgsql
- #3841, Deterministic sorting support for empty geometries in btree geography
- #3844, Make = operator a strict equality test, and < > to rough "spatial sorting"
* Breaking Changes *
- Dropped support for PostgreSQL 9.2.
......@@ -42,6 +71,15 @@ PostGIS 2.4.0
which means most aggs have to be dropped / recreated.
If you have views that utilize PostGIS aggs,
you'll need to drop before upgrade and recreate after upgrade
- #3578, ST_NumInteriorRings(POLYGON EMPTY) now returns 0 instead of NULL
- _ST_DumpPoints removed, was no longer needed after PostGIS 2.1.0
when ST_DumpPoints got reimplemented in C
- B-Tree index operators < = > changed to provide better spatial locality on sorting
and have expected behavior on GROUP BY.
If you have btree index for geometry or geography, you need to REINDEX it, or review
if it was created by accident and needs to be replaced with GiST index.
If your code relies on old left-to-right box compare ordering,
update it to use << >> operators
PostGIS 2.4.0beta1
2017/09/02
......@@ -64,7 +102,7 @@ PostGIS 2.3.3
- #3738, raster: Using -s without -Y in raster2pgsql transforms
raster data instead of setting srid
- #3744, ST_Subdivide loses subparts of inverted geometries
(Darafei Praliaskouski Komzpa)
(Darafei Praliaskouski)
- #3750, @ and ~ operator not always schema qualified in geometry
and raster functions. Causes restore issues.
(Shane StClair of Axiom Data Science)
......
PostGIS - Geographic Information Systems Extensions to PostgreSQL
=================================================================
:Version: 2.4.0beta1
:Date: 2017-09-02
:Version: 2.4.0rc1
:Date: 2017-09-13
:Website: http://postgis.net
This distribution contains a module which implements GIS simple features, ties
......
......@@ -5,7 +5,7 @@
POSTGIS_MAJOR_VERSION=2
POSTGIS_MINOR_VERSION=4
POSTGIS_MICRO_VERSION=0beta1
POSTGIS_MICRO_VERSION=0rc1
# Liblwgeom interface versioning, reset to 0:0:0 (cur:age:rev)
# when changing POSTGIS_MINOR_VERSION
......
......@@ -884,7 +884,6 @@ with_protobufdir
with_gui
enable_gtktest
enable_debug
enable_profile
with_address_standardizer
with_pcredir
with_topology
......@@ -1541,8 +1540,7 @@ Optional Features:
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths
--disable-gtktest do not try to compile and run a test GTK+ program
--enable-debug Enable verbose debugging messages
--enable-profile Enable GEOS profiling messages
--enable-debug Enable debugging code and flags
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
......@@ -16352,6 +16350,7 @@ fi
if test "$CHECK_JSON" != "no"; then
# Check whether --with-jsondir was given.
if test "${with_jsondir+set}" = set; then :
withval=$with_jsondir; JSONDIR="$withval"
......@@ -16495,6 +16494,7 @@ fi
fi
# check for pkg-config
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
......@@ -16556,6 +16556,7 @@ fi
if test "$CHECK_PROTOBUF" != "no"; then
# Check whether --with-protobufdir was given.
if test "${with_protobufdir+set}" = set; then :
withval=$with_protobufdir; PROTOBUFDIR="$withval"
......@@ -16564,31 +16565,33 @@ else
fi
if test ! "x$PROTOBUFDIR" = "x"; then
if test "x$PROTOBUFDIR" = "xyes"; then
as_fn_error $? "you must specify a parameter to --with-protobufdir, e.g. --with-protobufdir=/path/to" "$LINENO" 5
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified protobuf-c directory: $PROTOBUFDIR" >&5
if test ! "x$PROTOBUFDIR" = "x"; then
if test "x$PROTOBUFDIR" = "xyes"; then
as_fn_error $? "you must specify a parameter to --with-protobufdir, e.g. --with-protobufdir=/path/to" "$LINENO" 5
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using user-specified protobuf-c directory: $PROTOBUFDIR" >&5
$as_echo "Using user-specified protobuf-c directory: $PROTOBUFDIR" >&6; }
PROTOBUF_CPPFLAGS="-I$PROTOBUFDIR/include"
PROTOBUF_LDFLAGS="-L$PROTOBUFDIR/lib"
fi
fi
PROTOBUF_CPPFLAGS="-I$PROTOBUFDIR/include"
PROTOBUF_LDFLAGS="-L$PROTOBUFDIR/lib"
fi
CPPFLAGS_SAVE="$CPPFLAGS"
CPPFLAGS="$PROTOBUF_CPPFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "protobuf-c/protobuf-c.h" "ac_cv_header_protobuf_c_protobuf_c_h" "$ac_includes_default"
CPPFLAGS_SAVE="$CPPFLAGS"
CPPFLAGS="$PROTOBUF_CPPFLAGS"
ac_fn_c_check_header_mongrel "$LINENO" "protobuf-c/protobuf-c.h" "ac_cv_header_protobuf_c_protobuf_c_h" "$ac_includes_default"
if test "x$ac_cv_header_protobuf_c_protobuf_c_h" = xyes; then :
HAVE_PROTOBUF=yes
else
as_fn_error $? "unable to find $PROTOBUFDIR/include/protobuf-c/protobuf-c.h" "$LINENO" 5
fi
CPPFLAGS="$CPPFLAGS_SAVE"
CPPFLAGS="$CPPFLAGS_SAVE"
LIBS_SAVE="$LIBS"
LIBS="$PROTOBUF_LDFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_message_check in -lprotobuf-c" >&5
LIBS_SAVE="$LIBS"
LIBS="$PROTOBUF_LDFLAGS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_message_check in -lprotobuf-c" >&5
$as_echo_n "checking for protobuf_c_message_check in -lprotobuf-c... " >&6; }
if ${ac_cv_lib_protobuf_c_protobuf_c_message_check+:} false; then :
$as_echo_n "(cached) " >&6
......@@ -16625,18 +16628,27 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_protobuf_c_protobuf_c_message_check" >&5
$as_echo "$ac_cv_lib_protobuf_c_protobuf_c_message_check" >&6; }
if test "x$ac_cv_lib_protobuf_c_protobuf_c_message_check" = xyes; then :
HAVE_PROTOBUF=yes; PROTOBUF_LDFLAGS="${PROTOBUF_LDFLAGS} -lprotobuf-c"
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPROTOBUF_C 1
_ACEOF
LIBS="-lprotobuf-c $LIBS"
else
HAVE_PROTOBUF=no
as_fn_error $? "unable to link protobuf-c from $PROTOBUFDIR/lib" "$LINENO" 5
fi
LIBS="$LIBS_SAVE"
HAVE_PROTOBUF=yes
PROTOBUF_LDFLAGS="-L$PROTOBUFDIR/lib -lprotobuf-c"
LIBS="$LIBS_SAVE"
if test "$PKG_CONFIG" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find pkg-config, disabling protobuf support." >&5
else
if test "$PKG_CONFIG" = "no"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find pkg-config, disabling protobuf support." >&5
$as_echo "$as_me: WARNING: Cannot find pkg-config, disabling protobuf support." >&2;}
HAVE_PROTOBUF=no
else
HAVE_PROTOBUF=no
else
......@@ -16826,12 +16838,17 @@ else
PROTOBUFC_LIBS=$pkg_cv_PROTOBUFC_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
HAVE_PROTOBUF=yes
fi
HAVE_PROTOBUF=yes;
PROTOBUF_CPPFLAGS=$PROTOBUFC_CFLAGS;
PROTOBUF_LDFLAGS=$PROTOBUFC_LIBS
fi
fi
fi
if test "$HAVE_PROTOBUF" = "yes"; then
# Extract the first word of "protoc-c", so it can be a program name with args.
if test "$HAVE_PROTOBUF" = "yes"; then
# Extract the first word of "protoc-c", so it can be a program name with args.
set dummy protoc-c; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
......@@ -16871,17 +16888,16 @@ $as_echo "no" >&6; }
fi
if test "x$PROTOCC" = "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protobuf compiler missing, disabling protobuf support." >&5
if test "x$PROTOCC" = "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protobuf compiler missing, disabling protobuf support." >&5
$as_echo "$as_me: WARNING: Protobuf compiler missing, disabling protobuf support." >&2;}
HAVE_PROTOBUF=no
else
HAVE_PROTOBUF=no
else
$as_echo "#define HAVE_LIBPROTOBUF 1" >>confdefs.h
fi
fi
fi
fi
......@@ -17217,32 +17233,27 @@ fi
# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then :
enableval=$enable_debug; POSTGIS_DEBUG_LEVEL=4
enableval=$enable_debug; ENABLE_DEBUG=1
else
POSTGIS_DEBUG_LEVEL=0
ENABLE_DEBUG=0
fi
if test $ENABLE_DEBUG -eq 1; then
cat >>confdefs.h <<_ACEOF
#define POSTGIS_DEBUG_LEVEL $POSTGIS_DEBUG_LEVEL
#define PARANOIA_LEVEL 10
_ACEOF
# Check whether --enable-profile was given.
if test "${enable_profile+set}" = set; then :
enableval=$enable_profile; POSTGIS_PROFILE=1
CFLAGS="$CFLAGS -g"
else
POSTGIS_PROFILE=0
fi
cat >>confdefs.h <<_ACEOF
#define POSTGIS_PROFILE $POSTGIS_PROFILE
#define PARANOIA_LEVEL 0
_ACEOF
fi
POSTGIS_VERSION="$POSTGIS_MAJOR_VERSION.$POSTGIS_MINOR_VERSION USE_GEOS=1 USE_PROJ=1 USE_STATS=1"
......@@ -20205,8 +20216,6 @@ $as_echo " JSON-C support: ${HAVE_JSON}" >&6; }
$as_echo " protobuf-c support: ${HAVE_PROTOBUF}" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: PCRE support: ${HAVE_PCRE}" >&5
$as_echo " PCRE support: ${HAVE_PCRE}" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: PostGIS debug level: ${POSTGIS_DEBUG_LEVEL}" >&5
$as_echo " PostGIS debug level: ${POSTGIS_DEBUG_LEVEL}" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Perl: ${PERL}" >&5
$as_echo " Perl: ${PERL}" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
......@@ -20267,12 +20276,14 @@ $as_echo "$as_me: WARNING: --------- GEOS VERSION WARNING ------------ " >&2;}
$as_echo "$as_me: WARNING: You are building against GEOS ${GEOS_FULL_VERSION} " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: To take advantage of all the features of " >&5
$as_echo "$as_me: WARNING: To take advantage of all the features of " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PostGIS we recommend you build using " >&5
$as_echo "$as_me: WARNING: PostGIS we recommend you build using " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GEOS 3.7.0 or higher. You can download " >&5
$as_echo "$as_me: WARNING: GEOS 3.7.0 or higher. You can download " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the latest versions from " >&5
$as_echo "$as_me: WARNING: the latest versions from " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this PostGIS version requires GEOS 3.7.0 or higher which is not out yet." >&5
$as_echo "$as_me: WARNING: this PostGIS version requires GEOS 3.7.0 or higher which is not out yet." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: To take advantage of most of the features of this PostGIS" >&5
$as_echo "$as_me: WARNING: To take advantage of most of the features of this PostGIS" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we recommend GEOS 3.6 or higher" >&5
$as_echo "$as_me: WARNING: we recommend GEOS 3.6 or higher" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You can download the latest versions from " >&5
$as_echo "$as_me: WARNING: You can download the latest versions from " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: http://trac.osgeo.org/geos " >&5
$as_echo "$as_me: WARNING: http://trac.osgeo.org/geos " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
......
......@@ -857,7 +857,7 @@ AC_ARG_WITH([json],
[AS_HELP_STRING([--without-json], [build without json-c support])],
[CHECK_JSON="$withval"], [])
if test "$CHECK_JSON" != "no"; then dnl {
if test "$CHECK_JSON" != "no"; then
AC_ARG_WITH([jsondir],
[AS_HELP_STRING([--with-jsondir=PATH], [specify the json-c installation directory])],
......@@ -903,7 +903,7 @@ AC_SUBST([JSON_CPPFLAGS])
AC_SUBST([JSON_LDFLAGS])
AC_SUBST([HAVE_JSON])
fi dnl }
fi
dnl ===========================================================================
......@@ -927,62 +927,76 @@ AC_ARG_WITH([protobuf],
[AS_HELP_STRING([--without-protobuf], [build without protobuf-c support])],
[CHECK_PROTOBUF="$withval"], [])
if test "$CHECK_PROTOBUF" != "no"; then dnl {
AC_ARG_WITH([protobufdir],
[AS_HELP_STRING([--with-protobufdir=PATH], [specify the protobuf-c installation directory])],
[PROTOBUFDIR="$withval"], [PROTOBUFDIR=])
if test ! "x$PROTOBUFDIR" = "x"; then
dnl Make sure that the directory exists
if test "x$PROTOBUFDIR" = "xyes"; then
AC_MSG_ERROR([you must specify a parameter to --with-protobufdir, e.g. --with-protobufdir=/path/to])
else
AC_MSG_RESULT([Using user-specified protobuf-c directory: $PROTOBUFDIR])
dnl Add the include directory to PROTOBUF_CPPFLAGS
PROTOBUF_CPPFLAGS="-I$PROTOBUFDIR/include"
PROTOBUF_LDFLAGS="-L$PROTOBUFDIR/lib"
fi
fi
dnl Check that we can find the protobuf/protobuf.h header file
CPPFLAGS_SAVE="$CPPFLAGS"
CPPFLAGS="$PROTOBUF_CPPFLAGS"
AC_CHECK_HEADER([protobuf-c/protobuf-c.h], [HAVE_PROTOBUF=yes], [])
CPPFLAGS="$CPPFLAGS_SAVE"
dnl Ensure we can link against libprotobuf-c
LIBS_SAVE="$LIBS"
LIBS="$PROTOBUF_LDFLAGS"
AC_CHECK_LIB([protobuf-c], [protobuf_c_message_check], [HAVE_PROTOBUF=yes; PROTOBUF_LDFLAGS="${PROTOBUF_LDFLAGS} -lprotobuf-c"], [HAVE_PROTOBUF=no])
LIBS="$LIBS_SAVE"
dnl User didn't turn off protobuf support so...
if test "$CHECK_PROTOBUF" != "no"; then
AC_ARG_WITH([protobufdir],
[AS_HELP_STRING([--with-protobufdir=PATH], [specify the protobuf-c installation directory])],
[PROTOBUFDIR="$withval"], [PROTOBUFDIR=])
dnl User specified the directory to find protobuf in, check that and
dnl fail if it doesn't work
if test ! "x$PROTOBUFDIR" = "x"; then
dnl Make sure that the directory exists
if test "x$PROTOBUFDIR" = "xyes"; then
AC_MSG_ERROR([you must specify a parameter to --with-protobufdir, e.g. --with-protobufdir=/path/to])
else
AC_MSG_RESULT([Using user-specified protobuf-c directory: $PROTOBUFDIR])
dnl Add the include directory to PROTOBUF_CPPFLAGS
PROTOBUF_CPPFLAGS="-I$PROTOBUFDIR/include"
PROTOBUF_LDFLAGS="-L$PROTOBUFDIR/lib"
fi
dnl Check that we can find the protobuf/protobuf.h header file
CPPFLAGS_SAVE="$CPPFLAGS"
CPPFLAGS="$PROTOBUF_CPPFLAGS"
AC_CHECK_HEADER([protobuf-c/protobuf-c.h], [],
AC_MSG_ERROR([unable to find $PROTOBUFDIR/include/protobuf-c/protobuf-c.h])
)
CPPFLAGS="$CPPFLAGS_SAVE"
dnl Ensure we can link against libprotobuf-c
LIBS_SAVE="$LIBS"
LIBS="$PROTOBUF_LDFLAGS"
AC_CHECK_LIB([protobuf-c], [protobuf_c_message_check], [],
AC_MSG_ERROR([unable to link protobuf-c from $PROTOBUFDIR/lib])
)
HAVE_PROTOBUF=yes
PROTOBUF_LDFLAGS="-L$PROTOBUFDIR/lib -lprotobuf-c"
LIBS="$LIBS_SAVE"
dnl No user-specified protobuf dir, try to find one using pkg-config
else
if test "$PKG_CONFIG" = "no"; then
AC_MSG_WARN([Cannot find pkg-config, disabling protobuf support.])
HAVE_PROTOBUF=no
else
dnl Ensure libprotobuf-c is of minimum required version
PKG_CHECK_MODULES([PROTOBUFC], [libprotobuf-c >= 1.1.0], [
HAVE_PROTOBUF=yes;
PROTOBUF_CPPFLAGS=$PROTOBUFC_CFLAGS;
PROTOBUF_LDFLAGS=$PROTOBUFC_LIBS
],
[HAVE_PROTOBUF=no])
fi
fi
if test "$PKG_CONFIG" = "no"; then
AC_MSG_WARN([Cannot find pkg-config, disabling protobuf support.])
HAVE_PROTOBUF=no
else
dnl Ensure libprotobuf-c is of minimum required version
PKG_CHECK_MODULES([PROTOBUFC], [libprotobuf-c >= 1.1.0], [HAVE_PROTOBUF=yes], [HAVE_PROTOBUF=no])
fi
if test "$HAVE_PROTOBUF" = "yes"; then
AC_PATH_PROG(PROTOCC, protoc-c)
if test "x$PROTOCC" = "x"; then
AC_MSG_WARN([Protobuf compiler missing, disabling protobuf support.])
HAVE_PROTOBUF=no
else
AC_DEFINE([HAVE_LIBPROTOBUF], [1], [Define to 1 if libprotobuf-c is present])
fi
fi
if test "$HAVE_PROTOBUF" = "yes"; then
AC_PATH_PROG(PROTOCC, protoc-c)
if test "x$PROTOCC" = "x"; then
AC_MSG_WARN([Protobuf compiler missing, disabling protobuf support.])
HAVE_PROTOBUF=no
else
AC_DEFINE([HAVE_LIBPROTOBUF], 1, [Define to 1 if libprotobuf-c is present])
fi
AC_SUBST([PROTOBUF_CPPFLAGS])
AC_SUBST([PROTOBUF_LDFLAGS])
AC_SUBST([HAVE_PROTOBUF])
fi
AC_SUBST([PROTOBUF_CPPFLAGS])
AC_SUBST([PROTOBUF_LDFLAGS])
AC_SUBST([HAVE_PROTOBUF])
fi dnl }
dnl ===========================================================================
dnl Detect GTK+2.0 for GUI
......@@ -1019,24 +1033,20 @@ AC_SUBST([IGE_MAC_LIBS])
dnl ===========================================================================
dnl Allow the user to enable debugging with --enable-debug
dnl
dnl Currently we default to debug level 4. See DEBUG for more information.
dnl Allow the developer to turn on expensive checks and debugging flags
dnl with --enable-debug
dnl
AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug], [Enable verbose debugging messages]),
[POSTGIS_DEBUG_LEVEL=4], [POSTGIS_DEBUG_LEVEL=0])
AC_DEFINE_UNQUOTED([POSTGIS_DEBUG_LEVEL], [$POSTGIS_DEBUG_LEVEL], [PostGIS library debug level (0=disabled)])
dnl ===========================================================================
dnl Allow the user to enable GEOS profiling with --enable-profile
dnl
AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug], [Enable debugging code and flags]),
[ENABLE_DEBUG=1], [ENABLE_DEBUG=0])
AC_ARG_ENABLE([profile], AC_HELP_STRING([--enable-profile], [Enable GEOS profiling messages]),
[POSTGIS_PROFILE=1], [POSTGIS_PROFILE=0])
if test $ENABLE_DEBUG -eq 1; then
AC_DEFINE_UNQUOTED([PARANOIA_LEVEL], [10], [Enable use of memory checks])
CFLAGS="$CFLAGS -g"
else
AC_DEFINE_UNQUOTED([PARANOIA_LEVEL], [0], [Disable use of memory checks])
fi
AC_DEFINE_UNQUOTED([POSTGIS_PROFILE], [$POSTGIS_PROFILE], [Enable GEOS profiling (0=disabled)])
dnl ===========================================================================
dnl Define version macros
......@@ -1484,7 +1494,6 @@ AC_MSG_RESULT([ Libxml2 version: ${POSTGIS_LIBXML2_VERSION}])
AC_MSG_RESULT([ JSON-C support: ${HAVE_JSON}])
AC_MSG_RESULT([ protobuf-c support: ${HAVE_PROTOBUF}])
AC_MSG_RESULT([ PCRE support: ${HAVE_PCRE}])
AC_MSG_RESULT([ PostGIS debug level: ${POSTGIS_DEBUG_LEVEL}])
AC_MSG_RESULT([ Perl: ${PERL}])
AC_MSG_RESULT()
AC_MSG_RESULT([ --------------- Extensions --------------- ])
......@@ -1523,9 +1532,10 @@ if test "$GEOS_NUMERIC_VERSION" -lt 30700; then
AC_MSG_WARN([ --------- GEOS VERSION WARNING ------------ ])
AC_MSG_WARN([ You are building against GEOS ${GEOS_FULL_VERSION} ])
AC_MSG_WARN([ To take advantage of all the features of ])
AC_MSG_WARN([ PostGIS we recommend you build using ])
AC_MSG_WARN([ GEOS 3.7.0 or higher. You can download ])
AC_MSG_WARN([ the latest versions from ])
AC_MSG_WARN([ this PostGIS version requires GEOS 3.7.0 or higher which is not out yet.])
AC_MSG_WARN([ To take advantage of most of the features of this PostGIS])
AC_MSG_WARN([ we recommend GEOS 3.6 or higher])
AC_MSG_WARN([ You can download the latest versions from ])
AC_MSG_WARN([ http://trac.osgeo.org/geos ])
AC_MSG_WARN()
fi
......
......@@ -1283,7 +1283,7 @@ Updates all existing joined edges and relationships accordingly.
</para>
<para>
Refuses to remove an edge partecipating in the definition of an
Refuses to remove an edge participating in the definition of an
existing TopoGeometry.
Refuses to heal two faces if any TopoGeometry is defined by only
one of them (and not the other).
......@@ -1621,7 +1621,7 @@ Updates all existing joined edges and relationships accordingly.
<refnamediv>
<refname>ST_MoveIsoNode</refname>
<refpurpose>Moves an isolated node in a topology from one point to another. If new <varname>apoint</varname> geometry exists as a node an error is thrown. REturns description of move.</refpurpose>
<refpurpose>Moves an isolated node in a topology from one point to another. If new <varname>apoint</varname> geometry exists as a node an error is thrown. Returns description of move.</refpurpose>
</refnamediv>
<refsynopsisdiv>
......@@ -2715,7 +2715,7 @@ faceid
<refsection>
<title>Examples: Form from existing edges</title>
<para>Create a topogeom in ri_topo schema for layer 2 (our ri_roads), of type (2) LINE, for the first edge (we loaded in <varname>ST_CreateTopoGeo</varname>.</para>
<para>Create a topogeom in ri_topo schema for layer 2 (our ri_roads), of type (2) LINE, for the first edge (we loaded in <varname>ST_CreateTopoGeo</varname>).</para>
<programlisting>INSERT INTO ri.ri_roads(road_name, topo) VALUES('Unknown', topology.CreateTopoGeom('ri_topo',2,2,'{{1,2}}'::topology.topoelementarray);</programlisting>
</refsection>
......
......@@ -398,8 +398,9 @@ WHERE ST_DWithin(geocolumn, 'POINT(1000 1000)', 100.0);</programlisting>
</question>
<answer>
<para>Almost certainly not. As an example, consider Oracle database running on Linux. Linux is GPL, Oracle is not, does Oracle running on Linux have to be distributed using the GPL? No. So your software can use a PostgreSQL/PostGIS database as much as it wants and be under any license you like.</para>
<para>The only exception would be if you made changes to the PostGIS source code, and distributed your changed version of PostGIS. In that case you would have to share the code of your changed PostGIS (but not the code of applications running on top of it). Even in this limited case, you would still only have to distribute source code to people you distributed binaries to. The GPL does not require that you <emphasis>publish</emphasis> your source code, only that you share it with people you give binaries to.</para>
<para>Almost certainly not. As an example, consider Oracle database running on Linux. Linux is GPL, Oracle is not: does Oracle running on Linux have to be distributed using the GPL? No. Similarly your software can use a PostgreSQL/PostGIS database as much as it wants and be under any license you like.</para>
<para>The only exception would be if you made changes to the PostGIS source code, and <emphasis>distributed your changed version</emphasis> of PostGIS. In that case you would have to share the code of your changed PostGIS (but not the code of applications running on top of it). Even in this limited case, you would still only have to distribute source code to people you distributed binaries to. The GPL does not require that you <emphasis>publish</emphasis> your source code, only that you share it with people you give binaries to.</para>
<para>The above remains true even if you use PostGIS in conjunction with the optional CGAL-enabled functions. Portions of CGAL are GPL, but so is all of PostGIS already: using CGAL does not make PostGIS any more GPL than it was to start with.</para>
</answer>
</qandaentry>
......
......@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PostGIS\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2016-07-04 13:02+0000\n"
"POT-Creation-Date: 2017-08-30 03:58+0000\n"
"PO-Revision-Date: 2015-09-29 12:22+0000\n"
"Last-Translator: Sandro Santilli <strk@kbt.io>\n"
"Language-Team: German (Germany) (http://www.transifex.com/postgis/postgis/"
......@@ -313,7 +313,7 @@ msgstr ""
#: extras_address_standardizer.xml:95
#, no-c-format
msgid ""
"is text (token number <code>8</code>): RURAL ROUTE . Example <emphasis>8</"
"is text (token number <code>8</code>): RURAL ROUTE . Example <emphasis>7</"
"emphasis> in <code>RR 7</code>."
msgstr ""
......@@ -1077,7 +1077,7 @@ msgstr ""
#: extras_address_standardizer.xml:448
#, no-c-format
msgid ""
"i(token number <code>14</code>): The <emphasis role=\"bold\">BOX</emphasis> "
"(token number <code>14</code>): The <emphasis role=\"bold\">BOX</emphasis> "
"in <code>BOX 3B</code>"
msgstr ""
......@@ -1238,7 +1238,7 @@ msgstr ""
#: extras_address_standardizer.xml:529
#, no-c-format
msgid ""
"A gaz (short for gazeteer) table is used to classify place names and "
"A gaz (short for gazeteer) table is used to standardize place names and "
"associate that input with <xref linkend=\"rule_input_tokens\"/> and (b) "
"standardized representations. For example if you are in US, you may load "
"these with State Names and associated abbreviations."
......@@ -1289,7 +1289,7 @@ msgstr ""
#: extras_address_standardizer.xml:588
#, no-c-format
msgid ""
"Returns takes as input an address, and returns a record output consisting of "
"Returns takes an address as input, and returns a record output consisting of "
"fields <emphasis>num</emphasis>, <emphasis>street</emphasis>, "
"<emphasis>street2</emphasis>, <emphasis>address1</emphasis>, <emphasis>city</"
"emphasis>, <emphasis>state</emphasis>, <emphasis>zip</emphasis>, "
......
......@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PostGIS\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2017-03-29 06:29+0000\n"
"POT-Creation-Date: 2017-09-11 22:04+0000\n"
"PO-Revision-Date: 2015-09-29 12:23+0000\n"
"Last-Translator: Sandro Santilli <strk@kbt.io>\n"
"Language-Team: German (Germany) (http://www.transifex.com/postgis/postgis/"
......@@ -1879,10 +1879,10 @@ msgid ""
msgstr ""