<note><para>The raster support is currently optional, but installed by default. For enabling using the PostgreSQL 9.1+ extensions model raster is required. Using the extension enable process is preferred and more user-friendly. To spatially enable your database:</para></note>
<programlisting>psql -d yourdatabase -c "CREATE EXTENSION postgis;"
psql -d yourdatabase -c "CREATE EXTENSION postgis_topology;"
-psql -d yourdatabase -c "CREATE EXTENSION postgis_tiger_geocoder;"</programlisting>
+psql -d yourdatabase -c "CREATE EXTENSION postgis_tiger_geocoder;"
+-- if you built with sfcgal support --
+psql -d yourdatabase -c "CREATE EXTENSION postgis_sfcgal;"
+</programlisting>
<para>Please refer to <xref linkend="make_install_postgis_extensions" /> for more details about querying installed/available extensions and upgrading extensions, or switching from a non-extension install to an extension install.</para>
- <para>For those running PostgreSQL 9.0 or who decided for some reason not to compile with raster support, or just are old-fashioned, here are longer more painful instructions for you:</para>
+ <para>For those running who decided for some reason not to compile with raster support, or just are old-fashioned, here are longer more painful instructions for you:</para>
<para>All the .sql files once installed will be installed in share/contrib/postgis-&last_minor_version; folder
of your PostgreSQL install</para>
psql -d yourdatabase -f rtpostgis.sql
psql -d yourdatabase -f raster_comments.sql
psql -d yourdatabase -f topology.sql
-psql -d yourdatabase -f topology_comments.sql</programlisting>
+psql -d yourdatabase -f topology_comments.sql
+--if you built with sfcgal support --
+psql -d yourdatabase -f sfcgal.sql
+psql -d yourdatabase -f sfcgal_comments.sql
+</programlisting>
<para>
The rest of this chapter goes into detail each of the above installation
<title>PostGIS Functions new or enhanced in 2.2</title>
<para>The functions given below are PostGIS functions that were added or enhanced.</para>
- <note><para>Tiger Geocoder upgraded to work with TIGER 2013 census data.
- Please refer to <xref linkend="Tiger_Geocoder" /> for more details.</para></note>
+ <note><para>postgis_sfcgal now can be installed as an extension using CREATE EXTENSION postgis_sfcgal;</para></note>
<para>Functions new in PostGIS 2.2</para>
<itemizedlist>
</itemizedlist>
</sect2>
+ <sect2 id="ChangedFunctions_2_2"><title>PostGIS functions breaking changes in 2.2</title>
+ <para>The functions given below are PostGIS functions that have possibly breaking changes in PostGIS 2.2. If you use any of these, you may need to check your existing code.</para>
+ <itemizedlist>
+ <!-- Pull out the purpose section for each ref entry -->
+ <xsl:for-each select='//refentry'>
+ <xsl:sort select="@id"/>
+ <xsl:variable name="refid">
+ <xsl:value-of select="@id" />
+ </xsl:variable>
+
+ <xsl:variable name="refname">
+ <xsl:value-of select="refnamediv/refname" />
+ </xsl:variable>
+ <!-- For each section if there is note about enhanced in this version -->
+ <xsl:for-each select="refsection">
+ <xsl:for-each select="para | */para">
+ <xsl:choose>
+ <xsl:when test="contains(.,'Changed: 2.2')">
+ <listitem><simpara><link linkend="{$refid}"><xsl:value-of select="$refname" /></link> - <xsl:value-of select="." /></simpara></listitem>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </xsl:for-each>
+ </xsl:for-each>
+ </itemizedlist>
+ </sect2>
+
+
<sect2 id="NewFunctions_2_1">
<title>PostGIS Functions new or enhanced in 2.1</title>
<para>The functions given below are PostGIS functions that were added or enhanced.</para>