[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-700-gcdf8d0238

git at osgeo.org git at osgeo.org
Wed Apr 6 03:30:40 PDT 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  cdf8d0238e7d2a5959503b2835bf9be15aefe061 (commit)
      from  fdea0c84adcfdfeba432110bd99d7a5aaa35672e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cdf8d0238e7d2a5959503b2835bf9be15aefe061
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Apr 6 12:30:27 2022 +0200

    Document topology.FindLayer

diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml
index 168e7bd3a..3520b1758 100644
--- a/doc/extras_topology.xml
+++ b/doc/extras_topology.xml
@@ -924,6 +924,72 @@ SELECT name(findTopology('features.land_parcels', 'feature'));
 </programlisting>
 			</refsection>
 			<!-- Optionally add a "See Also" section -->
+			<!-- Optionally add a "See Also" section -->
+			<refsection>
+				<title>See Also</title>
+				<para><xref linkend="FindLayer"/></para>
+			</refsection>
+		</refentry>
+
+		<refentry id="FindLayer">
+			<refnamediv>
+				<refname>FindLayer</refname>
+
+				<refpurpose>Returns a topology.layer record by different means.</refpurpose>
+			</refnamediv>
+
+			<refsynopsisdiv>
+				<funcsynopsis>
+					<funcprototype>
+                        <funcdef>topology.layer <function>FindLayer</function></funcdef>
+                        <paramdef><type>TopoGeometry</type> <parameter>tg</parameter></paramdef>
+					</funcprototype>
+					<funcprototype>
+                        <funcdef>topology.layer <function>FindLayer</function></funcdef>
+                        <paramdef><type>regclass</type> <parameter>layer_table</parameter></paramdef>
+                        <paramdef><type>name</type> <parameter>feature_column</parameter></paramdef>
+					</funcprototype>
+					<funcprototype>
+                        <funcdef>topology.layer <function>FindLayer</function></funcdef>
+                        <paramdef><type>name</type> <parameter>schema_name</parameter></paramdef>
+                        <paramdef><type>name</type> <parameter>table_name</parameter></paramdef>
+                        <paramdef><type>name</type> <parameter>feature_column</parameter></paramdef>
+					</funcprototype>
+					<funcprototype>
+                        <funcdef>topology.layer <function>FindLayer</function></funcdef>
+                        <paramdef><type>integer</type> <parameter>topology_id</parameter></paramdef>
+                        <paramdef><type>integer</type> <parameter>layer_id</parameter></paramdef>
+					</funcprototype>
+				</funcsynopsis>
+			</refsynopsisdiv>
+
+			<refsection>
+                <title>Description</title>
+
+                <para>Takes a layer identifier or the identifier of
+a topology-related object and returns a topology.layer record.</para>
+
+                <!-- use this format if new function -->
+                <para>Availability: 3.2.0</para>
+			</refsection>
+
+
+			<refsection>
+				<title>Examples</title>
+<programlisting>
+SELECT layer_id(findLayer('features.land_parcels', 'feature'));
+ layer_id
+----------
+        1
+(1 row)
+</programlisting>
+			</refsection>
+
+			<!-- Optionally add a "See Also" section -->
+			<refsection>
+				<title>See Also</title>
+				<para><xref linkend="FindTopology"/></para>
+			</refsection>
 		</refentry>
 	</sect1>
 

-----------------------------------------------------------------------

Summary of changes:
 doc/extras_topology.xml | 66 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list