Commit baf79b2a authored by Markus Wanner's avatar Markus Wanner

Imported Upstream version 2.1.3+dfsg

parent 478d48ea
This diff is collapsed.
PostGIS 2.1.3
2014/05/13
* Important / Breaking Changes *
- Add control of GDAL drivers with the environment variable
POSTGIS_GDAL_ENABLED_DRIVERS. By default, all GDAL drivers are disabled
- Add ability to disable out-db raster bands with the environment variable
POSTGIS_ENABLE_OUTDB_RASTERS. By default, out-db raster bands are disabled
* Bug Fixes *
- #2697, invalid GeoJSON Polygon input crashes server process
- #2700, Fix dumping of higher-dimension datasets with null rows
- #2706, ST_DumpPoints of EMPTY geometries crashes server
PostGIS 2.1.2
2014/03/31
* Important Changes *
* Bug Fixes *
- #2666, Error out at configure time if no SQL preprocessor can be found
......
PostGIS - Geographic Information Systems Extensions to PostgreSQL
=================================================================
:Version: 2.1.2
:Date: 2014-03-31
:Version: 2.1.3
:Date: 2014-05-13
:Website: http://postgis.net
This distribution contains a module which implements GIS simple features, ties
......
......@@ -5,5 +5,5 @@
POSTGIS_MAJOR_VERSION=2
POSTGIS_MINOR_VERSION=1
POSTGIS_MICRO_VERSION=2
POSTGIS_MICRO_VERSION=3
# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
......
This diff is collapsed.
This diff is collapsed.
......@@ -4168,7 +4168,8 @@ else
;;
*)
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
if test -n "$lt_cv_sys_max_cmd_len"; then
if test -n "$lt_cv_sys_max_cmd_len" && \
test undefined != "$lt_cv_sys_max_cmd_len"; then
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
else
......@@ -4569,10 +4570,6 @@ freebsd* | dragonfly*)
fi
;;
gnu*)
lt_cv_deplibs_check_method=pass_all
;;
haiku*)
lt_cv_deplibs_check_method=pass_all
;;
......@@ -4611,11 +4608,11 @@ irix5* | irix6* | nonstopux*)
;;
# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
lt_cv_deplibs_check_method=pass_all
;;
netbsd*)
netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
else
......@@ -5751,7 +5748,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
LD="${LD-ld} -m elf_i386"
case `/usr/bin/file conftest.o` in
*x86-64*)
LD="${LD-ld} -m elf32_x86_64"
;;
*)
LD="${LD-ld} -m elf_i386"
;;
esac
;;
ppc64-*linux*|powerpc64-*linux*)
LD="${LD-ld} -m elf32ppclinux"
......@@ -7580,7 +7584,7 @@ lt_prog_compiler_static=
lt_prog_compiler_static='-non_shared'
;;
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
# old Intel for x86_64 which still supported -KPIC.
ecc*)
......@@ -8058,6 +8062,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
openbsd*)
with_gnu_ld=no
;;
linux* | k*bsd*-gnu | gnu*)
link_all_deplibs=no
;;
esac
ld_shlibs=yes
......@@ -8279,7 +8286,7 @@ _LT_EOF
fi
;;
netbsd*)
netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
......@@ -8456,6 +8463,7 @@ _LT_EOF
if test "$aix_use_runtimelinking" = yes; then
shared_flag="$shared_flag "'${wl}-G'
fi
link_all_deplibs=no
else
# not using gcc
if test "$host_cpu" = ia64; then
......@@ -8909,7 +8917,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
link_all_deplibs=yes
;;
netbsd*)
netbsd* | netbsdelf*-gnu)
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
else
......@@ -9746,17 +9754,6 @@ freebsd* | dragonfly*)
esac
;;
gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
haiku*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
......@@ -9873,7 +9870,7 @@ linux*oldld* | linux*aout* | linux*coff*)
;;
# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
......@@ -9937,6 +9934,18 @@ fi
dynamic_linker='GNU/Linux ld.so'
;;
netbsdelf*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
dynamic_linker='NetBSD ld.elf_so'
;;
netbsd*)
version_type=sunos
need_lib_prefix=no
......@@ -12650,9 +12659,6 @@ fi
ld_shlibs_CXX=yes
;;
gnu*)
;;
haiku*)
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
link_all_deplibs_CXX=yes
......@@ -12814,7 +12820,7 @@ fi
inherit_rpath_CXX=yes
;;
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
KCC*)
# Kuck and Associates, Inc. (KAI) C++ Compiler
......@@ -13674,7 +13680,7 @@ lt_prog_compiler_static_CXX=
;;
esac
;;
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
KCC*)
# KAI C++ Compiler
......@@ -13738,7 +13744,7 @@ lt_prog_compiler_static_CXX=
;;
esac
;;
netbsd*)
netbsd* | netbsdelf*-gnu)
;;
*qnx* | *nto*)
# QNX uses GNU C++, but need to define -shared option too, otherwise
......@@ -14109,6 +14115,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
;;
esac
;;
linux* | k*bsd*-gnu | gnu*)
link_all_deplibs_CXX=no
;;
*)
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
;;
......@@ -14543,17 +14552,6 @@ freebsd* | dragonfly*)
esac
;;
gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
;;
haiku*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
......@@ -14670,7 +14668,7 @@ linux*oldld* | linux*aout* | linux*coff*)
;;
# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
......@@ -14734,6 +14732,18 @@ fi
dynamic_linker='GNU/Linux ld.so'
;;
netbsdelf*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
hardcode_into_libs=yes
dynamic_linker='NetBSD ld.elf_so'
;;
netbsd*)
version_type=sunos
need_lib_prefix=no
......
......@@ -25,15 +25,15 @@ translations = it_IT pt_BR
POSTGIS_MAJOR_VERSION=2
POSTGIS_MINOR_VERSION=1
POSTGIS_MICRO_VERSION=2
POSTGIS_MICRO_VERSION=3
INSTALL=/usr/bin/install -c
INSTALL_DATA=${INSTALL} -m 644
XSLTPROC=/opt/local/bin/xsltproc
XSLBASE=
XMLLINT=/opt/local/bin/xmllint
PERL=/opt/local/bin/perl
XSLTPROC=/usr/bin/xsltproc
XSLBASE=/usr/share/xml/docbook/stylesheet/nwalsh
XMLLINT=/usr/bin/xmllint
PERL=/usr/bin/perl
# To allow network access use:
#
......@@ -63,10 +63,10 @@ HTML_DOCBOOK_XSL=$(XSLBASE)/html/docbook.xsl
CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl
# DBLatex's dblatex script for PDF generation from DocBook
DBLATEX=
DBLATEX=/usr/bin/dblatex
# Imagemagick's convert utility program for generated images used in the documentation
IMAGEMAGICK=/opt/local/bin/convert
IMAGEMAGICK=/usr/bin/convert
# Gettext for translated documentation
MSGMERGE=msgmerge
......@@ -78,9 +78,9 @@ XML2POT=xml2pot
DBTOEPUB=dbtoepub
# Directories for postgresql subdirectories
PGSQL_DOCDIR=/opt/pgsql/9.2/share/doc
PGSQL_MANDIR=/opt/pgsql/9.2/share/man
PGSQL_SHAREDIR=/opt/pgsql/9.2/share
PGSQL_DOCDIR=/home/postgresql-9.3.1/share/doc
PGSQL_MANDIR=/home/postgresql-9.3.1/share/man
PGSQL_SHAREDIR=/home/postgresql-9.3.1/share
# If XSLTPROC or XSLBASE were not found during configure, we cannot
# build the documentation
......
......@@ -21,8 +21,8 @@ MODULEDIR=contrib/$(MODULE_doc)
DATA_built=postgis_comments.sql raster_comments.sql topology_comments.sql
# PGXS information
PG_CONFIG = /opt/pgsql/9.2/bin/pg_config
PGXS := /opt/pgsql/9.2/lib/pgxs/src/makefiles/pgxs.mk
PG_CONFIG = /home/postgresql-9.3/bin/pg_config
PGXS := /home/postgresql-9.3.1/lib/pgxs/src/makefiles/pgxs.mk
include $(PGXS)
# PGXS override feature. The ability to allow PostGIS to install itself
......
......@@ -11,9 +11,9 @@
# **********************************************************************
CC=gcc
CFLAGS=-g -O2 -Wall -Wmissing-prototypes -I/usr/local/include
CFLAGS=-g -O2 -Wall -Wmissing-prototypes
CUNIT_LDFLAGS=
CUNIT_LDFLAGS= -lcunit
CUNIT_CPPFLAGS= -I../../../liblwgeom
IMAGES= \
......
......@@ -34,13 +34,30 @@ psql -d yourdatabase -f postgis_comments.sql
psql -d yourdatabase -f spatial_ref_sys.sql
psql -d yourdatabase -f rtpostgis.sql
psql -d yourdatabase -f raster_comments.sql
psql -d yourdatabase -f topology/topology.sql
psql -d yourdatabase -f topology.sql
psql -d yourdatabase -f topology_comments.sql</programlisting>
<para>
The rest of this chapter goes into detail each of the above installation
steps.
</para>
<para>As of PostGIS 2.1.3, out-of-db rasters and all raster drivers are disabled by default. In order to re-enable these, you need to set the following environment variables:
<varname>POSTGIS_GDAL_ENABLED_DRIVERS</varname> and <varname>POSTGIS_ENABLE_OUTDB_RASTERS</varname> in the server environment.</para>
<para>If you want to enable offline raster:</para>
<programlisting>POSTGIS_ENABLE_OUTDB_RASTERS=1</programlisting>
<para>Any other setting or no setting at all will disable out of db rasters.</para>
<para>In order to enable all GDAL drivers available in your GDAL install, set this environment variable as follows</para>
<programlisting>POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL</programlisting>
<para>If you want to only enable specific drivers, set your environment variable as follows:</para>
<programlisting>POSTGIS_GDAL_ENABLED_DRIVERS="EHdr GTiff PNG JPEG GIF XYZ"</programlisting>
<para>Setting environment variables varies depending on OS. For PostgreSQL installed on Ubuntu or Debian via apt-postgresql, the preferred way is to
edit <filename>/etc/postgresql/<replaceable>9.3</replaceable>/<replaceable>main</replaceable>/environment</filename> where 9.3 refers to version of PostgreSQL and main refers to the cluster.</para>
<para>On windows, if you are running as a service, you can set via System variables which for Windows 7 you can get to by right-clicking on Computer-&gt;Properties Advanced System Settings or in explorer navigating to <varname>Control Panel\All Control Panel Items\System</varname>.
Then clicking <emphasis>Advanced System Settings -&gt;Advanced->Environment Variables</emphasis> and adding new system variables.</para>
<para>After you set the environment variables, you'll need to restart your PostgreSQL service for the changes to take effect.</para>
</sect1>
<sect1 id="install_requirements">
......@@ -493,6 +510,15 @@ tar -xvzf postgis-&last_release_version;.tar.gz</programlisting>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>--with-sfcgal=PATH</command></term>
<listitem>
<para>
By default PostGIS will not install with sfcgal support without this switch.
<varname>PATH</varname> is an optional argument that allows to specify an alternate PATH to sfcgal-config.
</para>
</listitem>
</varlistentry>
</variablelist>
<note>
<para>
......
......@@ -12,7 +12,7 @@
<!-- Change these values to update the version numbers referenced within the documentation -->
<!ENTITY last_proj_release_version "4.8.0">
<!ENTITY last_geos_release_version "3.4.2">
<!ENTITY last_geos_release_version "3.4.0">
<!ENTITY min_postgres_version "9.0">
<!ENTITY introduction SYSTEM "introduction.xml">
......
......@@ -227,7 +227,7 @@ COMMENT ON FUNCTION ST_NRings(geometry ) IS 'args: geomA - If the geometry is a
COMMENT ON FUNCTION ST_NumGeometries(geometry ) IS 'args: geom - If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1, otherwise return NULL.';
COMMENT ON FUNCTION ST_NumInteriorRings(geometry ) IS 'args: a_polygon - Return the number of interior rings of the first polygon in the geometry. This will work with both POLYGON and MULTIPOLYGON types but only looks at the first polygon. Return NULL if there is no polygon in the geometry.';
COMMENT ON FUNCTION ST_NumInteriorRings(geometry ) IS 'args: a_polygon - Return the number of interior rings of the a polygon in the geometry. This will work with POLYGON and return NULL for a MULTIPOLYGON type or any other type';
COMMENT ON FUNCTION ST_NumInteriorRing(geometry ) IS 'args: a_polygon - Return the number of interior rings of the first polygon in the geometry. Synonym to ST_NumInteriorRings.';
......
......@@ -1646,10 +1646,8 @@ POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))'));
<refentry id="ST_NumInteriorRings">
<refnamediv>
<refname>ST_NumInteriorRings</refname>
<refpurpose>Return the number of interior rings of the first polygon in
the geometry. This will work with both POLYGON and MULTIPOLYGON types but only looks at the first polygon.
Return NULL if there is no polygon in the
geometry.</refpurpose>
<refpurpose>Return the number of interior rings of the a polygon in
the geometry. This will work with POLYGON and return NULL for a MULTIPOLYGON type or any other type</refpurpose>
</refnamediv>
<refsynopsisdiv>
......@@ -1670,6 +1668,7 @@ POLYGON((-7 4.2,-7.1 5,-7.1 4.3,-7 4.2)))'));
geometry.</para>
<para>&sqlmm_compliant; SQL-MM 3: 8.2.5</para>
<para>Changed: 2.0.0 - in prior versions it would return the number of interior rings for the first POLYGON in a MULTIPOLYGON.</para>
</refsection>
<refsection>
......@@ -1711,16 +1710,6 @@ GROUP BY gid, field1,field2;
</funcsynopsis>
</refsynopsisdiv>
<refsection>
<title>Description</title>
<para>Return the number of interior rings of the first polygon in
the geometry. Synonym to ST_NumInteriorRings. The OpenGIS specs are
ambiguous about the exact function naming, so we provide both
spellings.</para>
<para>&sqlmm_compliant; SQL-MM 3: 8.2.5</para>
</refsection>
<refsection>
<title>See Also</title>
......
......@@ -2,6 +2,41 @@
<appendix id="release_notes">
<title>Appendix</title>
<subtitle>Release Notes</subtitle>
<sect1>
<title>Release 2.1.3</title>
<para>Release date: 2014/05/13</para>
<para>This is a bug fix and security release.</para>
<simplesect>
<title>Important changes</title>
<para>
Starting with this version offline raster access and use of GDAL drivers
are disabled by default.
</para>
<para>
An environment variable is introduced to allow for enabling
specific GDAL drivers: POSTGIS_GDAL_ENABLED_DRIVERS.
By default, all GDAL drivers are disabled
</para>
<para>
An environment variable is introduced to allow for enabling
out-db raster bands: POSTGIS_ENABLE_OUTDB_RASTERS.
By default, out-db raster bands are disabled
</para>
<para>
The environment variables must be set for the PostgreSQL process,
and determines the behavior of the whole cluster.
</para>
</simplesect>
<simplesect>
<title>Bug Fixes</title>
<para>#2697, invalid GeoJSON Polygon input crashes server process</para>
<para>#2700, Fix dumping of higher-dimension datasets with null rows</para>
<para>#2706, ST_DumpPoints of EMPTY geometries crashes server</para>
</simplesect>
</sect1>
<sect1>
<title>Release 2.1.2</title>
<para>Release date: 2014/03/31</para>
......@@ -295,8 +330,76 @@
<para>#2111, Raster bands can only reference the first 256 bands of out-db rasters</para>
</simplesect>
</sect1>
<sect1>
<sect1>
<title>Release 2.0.5</title>
<para>Release date: 2014/03/31</para>
<para>This is a bug fix release, addressing issues that have been filed since the 2.0.4 release. If you are using PostGIS 2.0+ a soft upgrade is required. For users of PostGIS 1.5 or below, a hard upgrade is required.</para>
<simplesect>
<title>Bug Fixes</title>
<para>#2494, avoid memcpy in GIST index</para>
<para>#2502, Fix postgis_topology_scripts_installed() install schema</para>
<para>#2504, Fix segfault on bogus pgsql2shp call </para>
<para>#2528, Fix memory leak in ST_Split / lwline_split_by_line</para>
<para>#2532, Add missing raster/geometry commutator operators</para>
<para>#2533, Remove duplicated signatures</para>
<para>#2552, Fix NULL raster handling in ST_AsPNG, ST_AsTIFF and ST_AsJPEG</para>
<para>#2555, Fix parsing issue of range arguments of ST_Reclass</para>
<para>#2589, Remove use of unnecessary void pointers</para>
<para>#2607, Cannot open more than 1024 out-db files in process</para>
<para>#2610, Ensure face splitting algorithm uses the edge index </para>
<para>#2619, Empty ring array in GeoJSON polygon causes crash</para>
<para>#2638, Geography distance on M geometries sometimes wrong</para>
</simplesect>
<simplesect>
<title>Important Changes</title>
<para>##2514, Change raster license from GPL v3+ to v2+, allowing distribution of PostGIS Extension as GPLv2.</para>
</simplesect>
</sect1>
<sect1>
<title>Release 2.0.4</title>
<para>Release date: 2013/09/06</para>
<para>This is a bug fix release, addressing issues that have been filed since the 2.0.3 release. If you are using PostGIS 2.0+ a soft upgrade is required. For users of PostGIS 1.5 or below, a hard upgrade is required.</para>
<simplesect>
<title>Bug Fixes</title>
<para>#2110, Equality operator between EMPTY and point on origin</para>
<para>Allow adding points at precision distance with TopoGeo_addPoint</para>
<para>#1968, Fix missing edge from toTopoGeom return</para>
<para>#2165, ST_NumPoints regression failure with CircularString</para>
<para>#2168, ST_Distance is not always commutative</para>
<para>#2186, gui progress bar updates too frequent</para>
<para>#2201, ST_GeoHash wrong on boundaries</para>
<para>#2257, GBOX variables not initialized when testing with empty geometries</para>
<para>#2271, Prevent parallel make of raster</para>
<para>#2267, Server crash from analyze table</para>
<para>#2277, potential segfault removed</para>
<para>#2307, ST_MakeValid outputs invalid geometries</para>
<para>#2351, st_distance between geographies wrong</para>
<para>#2359, Incorrect handling of schema for overview constraints</para>
<para>#2371, Support GEOS versions with more than 1 digit in micro</para>
<para>#2372, Cannot parse space-padded KML coordinates</para>
<para>Fix build with systemwide liblwgeom installed</para>
<para>#2383, Fix unsafe use of \' in warning message</para>
<para>#2410, Fix segmentize of collinear curve</para>
<para>#2412, ST_LineToCurve support for lines with less than 4 vertices</para>
<para>#2415, ST_Multi support for COMPOUNDCURVE and CURVEPOLYGON</para>
<para>#2420, ST_LineToCurve: require at least 8 edges to define a full circle</para>
<para>#2423, ST_LineToCurve: require all arc edges to form the same angle</para>
<para>#2424, ST_CurveToLine: add support for COMPOUNDCURVE in MULTICURVE</para>
<para>#2427, Make sure to retain first point of curves on ST_CurveToLine</para>
</simplesect>
<simplesect>
<title>Enhancements</title>
<para>#2269, Avoid uselessly detoasting full geometries on ANALYZE</para>
</simplesect>
<simplesect>
<title>Known Issues</title>
<para>#2111, Raster bands can only reference the first 256 bands of out-db rasters</para>
</simplesect>
</sect1>
<sect1>
<title>Release 2.0.3</title>
<para>Release date: 2013/03/01</para>
<para>This is a bug fix release, addressing issues that have been filed since the 2.0.2 release. If you are using PostGIS 2.0+ a soft upgrade is required. For users of PostGIS 1.5 or below, a hard upgrade is required.</para>
......
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pgis="http://www.postgis.org/pgis">
<!-- ********************************************************************
* $Id: postgis_gardentest.sql.xsl 11350 2013-05-04 13:54:22Z robe $
* $Id: postgis_gardentest.sql.xsl 12418 2014-04-04 06:16:00Z robe $
********************************************************************
Copyright 2008-2010, Regina Obe
License: BSD
......@@ -9,7 +9,7 @@
using a garden variety of geometries. Its intent is to flag major crashes.
******************************************************************** -->
<xsl:output method="text" />
<xsl:variable name='testversion'>2.1.0</xsl:variable>
<xsl:variable name='testversion'>2.1.3</xsl:variable>
<xsl:variable name='fnexclude14'>AddGeometryColumn DropGeometryColumn DropGeometryTable</xsl:variable>
<xsl:variable name='fnexclude'>AddGeometryColumn DropGeometryColumn DropGeometryTable</xsl:variable>
<!--This is just a place holder to state functions not supported in 1.3 or tested separately -->
......@@ -18,7 +18,7 @@
<xsl:variable name='var_position'>1</xsl:variable>
<xsl:variable name='var_integer1'>3</xsl:variable>
<xsl:variable name='var_integer2'>5</xsl:variable>
<xsl:variable name='var_float1'>0.5</xsl:variable>
<xsl:variable name='var_float1'>20.1</xsl:variable>
<xsl:variable name='var_float2'>0.75</xsl:variable>
<xsl:variable name='var_distance'>100</xsl:variable>
<xsl:variable name='var_version1'>1</xsl:variable>
......@@ -466,7 +466,7 @@ SELECT '<xsl:value-of select="$log_label" /> Geography: End Testing';
<xsl:variable name='fnname'><xsl:value-of select="funcdef/function"/></xsl:variable>
<xsl:variable name='fndef'><xsl:value-of select="funcdef"/></xsl:variable>
<xsl:variable name='numparams'><xsl:value-of select="count(paramdef/parameter)" /></xsl:variable>
<xsl:variable name='numparamgeoms'><xsl:value-of select="count(paramdef/type[contains(text(),'geometry') or contains(text(),'geography') or contains(text(),'box') or contains(text(), 'bytea')]) + count(paramdef/parameter[contains(text(),'WKT')]) + count(paramdef/parameter[contains(text(),'geomgml')])" /></xsl:variable>
<xsl:variable name='numparamgeoms'><xsl:value-of select="count(paramdef/type[contains(text(),'geometry') or contains(text(),'geography') or contains(text(),'box') or contains(text(), 'bytea')]) + count(paramdef/parameter[contains(text(),'WKT')]) + count(paramdef/parameter[contains(text(),'geomgml')]) + count(paramdef/parameter[contains(text(),'geomjson')]) + count(paramdef/parameter[contains(text(),'geomkml')])" /></xsl:variable>
<xsl:variable name='numparamgeogs'><xsl:value-of select="count(paramdef/type[contains(text(),'geography')] )" /></xsl:variable>
<xsl:variable name='log_label'><xsl:value-of select="funcdef/function" />(<xsl:value-of select="$fnargs" />)</xsl:variable>
......@@ -614,6 +614,9 @@ SELECT '<xsl:value-of select="$fnname" /><xsl:text> </xsl:text><xsl:value-of sel
<xsl:when test="(contains(parameter,'geomkml'))">
<xsl:text>ST_AsKML(foo1.the_geom)</xsl:text>
</xsl:when>
<xsl:when test="(contains(parameter,'geomjson'))">
<xsl:text>ST_AsGeoJSON(foo1.the_geom)</xsl:text>
</xsl:when>
<xsl:when test="(contains(type,'box') or type = 'geometry' or type = 'geometry ' or contains(type,'geometry set')) and (position() = 1 or count($func/paramdef/type[contains(text(),'geometry') or contains(text(),'box') or contains(text(), 'WKT') or contains(text(), 'bytea')]) = '1')">
<xsl:text>foo1.the_geom</xsl:text>
</xsl:when>
......
# postgis extension
comment = 'PostGIS geometry, geography, and raster spatial types and functions'
default_version = '2.1.2'
default_version = '2.1.3'
module_pathname = '$libdir/postgis-2.1'
relocatable = true
# postgis tiger geocoder extension
comment = 'PostGIS tiger geocoder and reverse geocoder'
default_version = '2.1.2'
default_version = '2.1.3'
relocatable = false
schema = tiger
requires = 'postgis,fuzzystrmatch'
# postgis topology extension
comment = 'PostGIS topology spatial types and functions'
default_version = '2.1.2'
default_version = '2.1.3'
relocatable = false
schema = topology
requires = postgis
......@@ -4,22 +4,26 @@ UPGRADEABLE_VERSIONS = \
2.0.2 \
2.0.3 \
2.0.4 \
2.0.5 \
2.1.0rc1 \
2.1.0rc2 \
2.1.0rc3 \
2.1.0 \
2.1.1
2.1.1 \
2.1.2
UPGRADEABLE_VERSIONS_MINOR = \
2.0.0 \
2.0.1 \
2.0.2 \
2.0.3 \
2.0.4
2.0.4 \
2.0.5
UPGRADEABLE_VERSIONS_PATCH = \
2.1.0rc1 \
2.1.0rc2 \
2.1.0rc3 \
2.1.0 \
2.1.1
2.1.1 \
2.1.2
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
scriptversion=2011-11-20.07; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
......@@ -35,7 +35,7 @@ scriptversion=2011-01-19.21; # UTC
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
......@@ -156,7 +156,7 @@ while test $# -ne 0; do
-s) stripcmd=$stripprog;;
-t) dst_arg=$2
# Protect names problematic for `test' and other utilities.
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
......@@ -190,7 +190,7 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
fi
shift # arg
dst_arg=$arg
# Protect names problematic for `test' and other utilities.
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
......@@ -202,7 +202,7 @@ if test $# -eq 0; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call `install-sh -d' without argument.
# It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
......@@ -240,7 +240,7 @@ fi
for src
do
# Protect names problematic for `test' and other utilities.
# Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac
......@@ -354,7 +354,7 @@ do
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writeable bit of parent directory when it shouldn't.
# other-writable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
ls_ld_tmpdir=`ls -ld "$tmpdir"`
case $ls_ld_tmpdir in
......
......@@ -10,7 +10,7 @@
# *
# **********************************************************************
ANT=/opt/local/bin/ant
ANT=/usr/bin/ant