[postgis-commits] svn - r3230 - trunk/doc/xsl

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Mon Nov 3 17:55:06 PST 2008


Author: robe
Date: 2008-11-03 17:55:06 -0800 (Mon, 03 Nov 2008)
New Revision: 3230

Modified:
   trunk/doc/xsl/postgis_aggs_mm.xml.xsl
Log:
Add new section to document circular string support

Modified: trunk/doc/xsl/postgis_aggs_mm.xml.xsl
===================================================================
--- trunk/doc/xsl/postgis_aggs_mm.xml.xsl	2008-11-04 01:49:57 UTC (rev 3229)
+++ trunk/doc/xsl/postgis_aggs_mm.xml.xsl	2008-11-04 01:55:06 UTC (rev 3230)
@@ -97,6 +97,34 @@
 				</xsl:for-each>
 				</itemizedlist>
 		</sect1>
+		
+		<sect1>
+			<title>PostGIS Circular String Curve Supports Functions</title>
+			<para>The functions given below are PostGIS functions that can use CIRCULARSTRING and CURVEDPOLYGON</para>
+				<itemizedlist>
+			<!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment  -->
+				<xsl:for-each select='sect1/refentry'>
+					<xsl:sort select="@id"/>
+					<xsl:variable name='comment'>
+						<xsl:value-of select="normalize-space(translate(translate(refnamediv/refpurpose,'&#x0d;&#x0a;', ' '), '&#09;', ' '))"/>
+					</xsl:variable>
+					<xsl:variable name="refid">
+						<xsl:value-of select="@id" />
+					</xsl:variable>
+				
+			<!-- For each section if there is note that it implements SQL/MM catalog it -->
+						<xsl:for-each select="refsection">
+							<xsl:for-each select="para">
+								<xsl:choose>
+									<xsl:when test="contains(.,'supports Circular Strings')">
+										<listitem><link linkend="{$refid}"><xsl:value-of select="$refid" /></link> - <xsl:value-of select="$comment" /></listitem>
+									</xsl:when>
+								</xsl:choose>
+							</xsl:for-each>
+						</xsl:for-each>
+				</xsl:for-each>
+				</itemizedlist>
+		</sect1>
 	</chapter>
 	</xsl:template>
 



More information about the postgis-commits mailing list