]> granicus.if.org Git - postgis/commitdiff
Replace unicode codes with images. IE 6 and 7 not happy. PDF not happy with unicode...
authorRegina Obe <lr@pcorp.us>
Thu, 3 Dec 2009 14:23:06 +0000 (14:23 +0000)
committerRegina Obe <lr@pcorp.us>
Thu, 3 Dec 2009 14:23:06 +0000 (14:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4983 b70326c6-7e19-0410-871a-916f4a2858ee

doc/html/images/matrix_autocast.png [new file with mode: 0644]
doc/html/images/matrix_checkmark.png [new file with mode: 0644]
doc/html/images/matrix_transform.png [new file with mode: 0644]
doc/xsl/postgis_aggs_mm.xml.xsl

diff --git a/doc/html/images/matrix_autocast.png b/doc/html/images/matrix_autocast.png
new file mode 100644 (file)
index 0000000..6c2cfc9
Binary files /dev/null and b/doc/html/images/matrix_autocast.png differ
diff --git a/doc/html/images/matrix_checkmark.png b/doc/html/images/matrix_checkmark.png
new file mode 100644 (file)
index 0000000..c5b18d6
Binary files /dev/null and b/doc/html/images/matrix_checkmark.png differ
diff --git a/doc/html/images/matrix_transform.png b/doc/html/images/matrix_transform.png
new file mode 100644 (file)
index 0000000..382480b
Binary files /dev/null and b/doc/html/images/matrix_transform.png differ
index f261d4b9db19b61a81e77c91541808a2938ffd6e..d52859d5b308c70894c90ab1ec9e16f03c77178d 100644 (file)
@@ -8,7 +8,7 @@
         Purpose: This is an xsl transform that generates index listing of aggregate functions and mm /sql compliant functions xml section from reference_new.xml to then\r
         be processed by doc book\r
         ******************************************************************** -->\r
-       <xsl:output method="xml" indent="yes" encoding="utf-8"/>\r
+       <xsl:output method="xml" indent="yes" encoding="utf-8" />\r
 \r
        <!-- We deal only with the reference chapter -->\r
        <xsl:template match="/">\r
                </sect1>\r
 \r
                <sect1 id="PostGIS_TypeFunctionMatrix">\r
+                       <xsl:variable name='matrix_checkmark'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_checkmark.png' /></imageobject></inlinemediaobject>]]></xsl:variable>\r
+                       <xsl:variable name='matrix_transform'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_transform.png' /></imageobject></inlinemediaobject>]]></xsl:variable>\r
+                       <xsl:variable name='matrix_autocast'><![CDATA[<inlinemediaobject><imageobject><imagedata fileref='images/matrix_autocast.png' /></imageobject></inlinemediaobject>]]></xsl:variable>\r
                        <title>PostGIS Function Support Matrix</title>\r
 \r
                        <para>Below is an alphabetical listing of spatial specific functions in PostGIS and the kinds of spatial\r
                                types they work with or OGC/SQL compliance they try to conform to.</para>\r
                        <para><itemizedlist>\r
-                               <listitem>A &#x2713; means the function works with the type or subtype natively.</listitem>\r
-                               <listitem>A &#x263A; means it works but with a transform cast built-in to cast to geometry, transform and then cast back.</listitem>\r
-                               <listitem>A &#x2611; means the function works with the type, but because of a auto-cast rather than direct support.</listitem>\r
+                               <listitem>A <xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/> means the function works with the type or subtype natively.</listitem>\r
+                               <listitem>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 \r
+                                               and may accumulate floating point junk.</listitem>\r
+                               <listitem>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.</listitem>\r
                                </itemizedlist>\r
                        </para>\r
                                \r
                                                                <xsl:choose>\r
                                                                        <!-- direct support -->\r
                                                                        <xsl:when test="contains(refsynopsisdiv/funcsynopsis,'geometry') or contains(refsynopsisdiv/funcsynopsis/funcprototype/funcdef,'geometry')">\r
-                                                                               <entry>&#x2713;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- support via autocast -->\r
                                                                        <xsl:when test="contains(refsynopsisdiv/funcsynopsis,'box') or contains(refsynopsisdiv/funcsynopsis/funcprototype/funcdef,'box')">\r
-                                                                               <entry>&#x2611;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_autocast" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- no support -->\r
                                                                        <xsl:otherwise>\r
                                                                <xsl:choose>\r
                                                                        <!-- Support via geometry transform hack -->\r
                                                                        <xsl:when test="(contains(refsynopsisdiv/funcsynopsis,'geography') or contains(refsynopsisdiv/funcsynopsis/funcprototype/funcdef,'geography')) and contains($comment,'(T)')">\r
-                                                                               <entry>&#x263A;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_transform" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- direct support -->\r
                                                                        <xsl:when test="contains(refsynopsisdiv/funcsynopsis,'geography') or contains(refsynopsisdiv/funcsynopsis/funcprototype/funcdef,'geography')">\r
-                                                                               <entry>&#x2713;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- no support -->\r
                                                                        <xsl:otherwise>\r
                                                                <xsl:choose>\r
                                                                        <!-- supports -->\r
                                                                        <xsl:when test="contains(.,'This function supports 3d')">\r
-                                                                               <entry>&#x2713;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- no support -->\r
                                                                        <xsl:otherwise>\r
                                                                <xsl:choose>\r
                                                                        <!-- supports -->\r
                                                                        <xsl:when test="contains(.,'supports Circular Strings')">\r
-                                                                               <entry>&#x2713;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- no support -->\r
                                                                        <xsl:otherwise>\r
                                                                <xsl:choose>\r
                                                                        <!-- supports -->\r
                                                                        <xsl:when test="contains(.,'implements the SQL/MM')">\r
-                                                                               <entry>&#x2713;</entry>\r
+                                                                               <entry><xsl:value-of select="$matrix_checkmark" disable-output-escaping="yes"/></entry>\r
                                                                        </xsl:when>\r
                                                                        <!-- no support -->\r
                                                                        <xsl:otherwise>\r