]> granicus.if.org Git - postgis/commitdiff
have sfcgal function appear in special index and also flag if a function requires...
authorRegina Obe <lr@pcorp.us>
Sat, 11 May 2013 05:20:33 +0000 (05:20 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 11 May 2013 05:20:33 +0000 (05:20 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11417 b70326c6-7e19-0410-871a-916f4a2858ee

doc/Makefile.in
doc/html/images/matrix_3dglasses.png [new file with mode: 0644]
doc/xsl/postgis_aggs_mm.xml.xsl

index d7719c8384603c44e0b94dd5bb067f821c50674c..9bb9ed68ab8602cca6bf295846522c3baf792524 100644 (file)
@@ -116,6 +116,7 @@ XML_SOURCES = \
        reference_lrs.xml \
        reference_management.xml \
        reference_measure.xml \
+       reference_sfcgal.xml \
        reference_misc.xml \
        reference_operator.xml \
        reference_output.xml \
diff --git a/doc/html/images/matrix_3dglasses.png b/doc/html/images/matrix_3dglasses.png
new file mode 100644 (file)
index 0000000..d3e4781
Binary files /dev/null and b/doc/html/images/matrix_3dglasses.png differ
index b5f26dd17f464b9bdf66fbba66e57c8f822c612e..78b49acb5af73d6ca626efb89e69c588f8c92668 100644 (file)
                        <xsl:variable name='matrix_checkmark'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_checkmark.png' /></imageobject></inlinemediaobject>]]></xsl:variable>
                        <xsl:variable name='matrix_transform'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_transform.png' /></imageobject></inlinemediaobject>]]></xsl:variable>
                        <xsl:variable name='matrix_autocast'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_autocast.png' /></imageobject></inlinemediaobject>]]></xsl:variable>
+                       <xsl:variable name='matrix_sfcgal'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_3dglasses.png' /></imageobject></inlinemediaobject>]]></xsl:variable>
+                       
                        <title>PostGIS Function Support Matrix</title>
 
                        <para>Below is an alphabetical listing of spatial specific functions in PostGIS and the kinds of spatial
                                <listitem><simpara>A <xsl:value-of select="$matrix_transform" disable-output-escaping="yes"/> means it works but with a transform cast built-in using cast to geometry, transform to a "best srid" spatial ref and then cast back. Results may not be as expected for large areas or areas at poles 
                                                and may accumulate floating point junk.</simpara></listitem>
                                <listitem><simpara>A <xsl:value-of select="$matrix_autocast" disable-output-escaping="yes"/> means the function works with the type because of a auto-cast to another such as to box3d rather than direct type support.</simpara></listitem>
+                               <listitem><simpara>A <xsl:value-of select="$matrix_sfcgal" disable-output-escaping="yes"/> means the function only available if PostGIS compiled with SFCGAL support.</simpara></listitem>
                                <listitem><simpara>geom - Basic 2D geometry support (x,y).</simpara></listitem>
                                <listitem><simpara>geog - Basic 2D geography support (x,y).</simpara></listitem>
                                <listitem><simpara>2.5D - basic 2D geometries in 3 D/4D space (has Z or M coord).</simpara></listitem>
                                                                <xsl:choose>
                                                                        <!-- supports -->
                                                                        <xsl:when test="contains(.,'This function supports 3d')">
-                                                                               <entry><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></entry>
+                                                                               <!-- if 3d denote if it needs sfcgal -->
+                                                                               <entry><xsl:choose><xsl:when test="contains(.,'SFCGAL')"><xsl:value-of select="$matrix_sfcgal" disable-output-escaping="yes"/></xsl:when>
+                                                                               <xsl:otherwise><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></xsl:otherwise></xsl:choose></entry>
                                                                        </xsl:when>
                                                                        <!-- no support -->
                                                                        <xsl:otherwise>