]> granicus.if.org Git - postgis/commitdiff
Add new section to document circular string support
authorRegina Obe <lr@pcorp.us>
Tue, 4 Nov 2008 01:55:06 +0000 (01:55 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 4 Nov 2008 01:55:06 +0000 (01:55 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3230 b70326c6-7e19-0410-871a-916f4a2858ee

doc/xsl/postgis_aggs_mm.xml.xsl

index 2f7ba2fff8ebd16a3762dc246546096d9df4bca7..63fd70aa6348cd54ebbe7fe618ec7c6d21f27955 100644 (file)
                                </xsl:for-each>\r
                                </itemizedlist>\r
                </sect1>\r
+               \r
+               <sect1>\r
+                       <title>PostGIS Circular String Curve Supports Functions</title>\r
+                       <para>The functions given below are PostGIS functions that can use CIRCULARSTRING and CURVEDPOLYGON</para>\r
+                               <itemizedlist>\r
+                       <!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment  -->\r
+                               <xsl:for-each select='sect1/refentry'>\r
+                                       <xsl:sort select="@id"/>\r
+                                       <xsl:variable name='comment'>\r
+                                               <xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'&#x0d;&#x0a;', ' '), '&#09;', ' '))"/>\r
+                                       </xsl:variable>\r
+                                       <xsl:variable name="refid">\r
+                                               <xsl:value-of select="@id" />\r
+                                       </xsl:variable>\r
+                               \r
+                       <!-- For each section if there is note that it implements SQL/MM catalog it -->\r
+                                               <xsl:for-each select="refsection">\r
+                                                       <xsl:for-each select="para">\r
+                                                               <xsl:choose>\r
+                                                                       <xsl:when test="contains(.,'supports Circular Strings')">\r
+                                                                               <listitem><link linkend="{$refid}"><xsl:value-of select="$refid" /></link> - <xsl:value-of select="$comment" /></listitem>\r
+                                                                       </xsl:when>\r
+                                                               </xsl:choose>\r
+                                                       </xsl:for-each>\r
+                                               </xsl:for-each>\r
+                               </xsl:for-each>\r
+                               </itemizedlist>\r
+               </sect1>\r
        </chapter>\r
        </xsl:template>\r
 \r