[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-428-g1b67b83

git at osgeo.org git at osgeo.org
Tue Aug 24 20:27:19 PDT 2021


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  1b67b830c052a3ce770f47ad04d467acf6087cf8 (commit)
      from  1045eede8bf6c781707e5aa25bff3b16b789a086 (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 1b67b830c052a3ce770f47ad04d467acf6087cf8
Author: Regina Obe <lr at pcorp.us>
Date:   Tue Aug 24 23:27:14 2021 -0400

    Add in missing availability and enhanced notes for ST_Point* functions, add an example using srid for ST_Point

diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml
index 8827d4e..e3c926c 100644
--- a/doc/reference_constructor.xml
+++ b/doc/reference_constructor.xml
@@ -673,6 +673,7 @@ FROM provinces p;
 		<note><para>For geodetic coordinates, <varname>X</varname> is longitude and <varname>Y</varname> is latitude</para></note>
 
 		<para>&sqlmm_compliant; SQL-MM 3: 6.1.2</para>
+        <para>Enhanced: 3.2.0 now allows for a 3rd argument that is the srid</para>
 
 	  </refsection>
 
@@ -680,12 +681,14 @@ FROM provinces p;
 	  <refsection>
 		<title>Examples: Geometry</title>
 
-		<programlisting>SELECT ST_SetSRID( ST_Point( -71.104, 42.315), 4326)</programlisting>
+        <programlisting>SELECT ST_Point( -71.104, 42.315, 4326)</programlisting>
+		<programlisting>SELECT ST_Point( -71.104, 42.315)</programlisting>
 	  </refsection>
 
 	  <refsection>
 		<title>Examples: Geography</title>
 
+		<programlisting>SELECT CAST(ST_Point(-71.104, 42.315, 4326) AS geography);</programlisting>
 		<programlisting>SELECT CAST(ST_SetSRID( ST_Point( -71.104, 42.315), 4326) AS geography);</programlisting>
 
 		<para>PostgreSQL also provides the <varname>::</varname> short-hand for casting</para>
@@ -730,6 +733,7 @@ SELECT ST_Transform(ST_SetSRID( ST_Point( 3637510, 3014852 ), 2273), 4326)::geog
       <refsection>
         <title>Description</title>
         <para>Returns an Point with the given X, Y and Z coordinate values, and optionally an SRID number.</para>
+        <para>Availability: 3.2.0</para>
       </refsection>
 
       <refsection>
@@ -766,6 +770,7 @@ SELECT ST_Transform(ST_SetSRID( ST_Point( 3637510, 3014852 ), 2273), 4326)::geog
       <refsection>
         <title>Description</title>
         <para>Returns an Point with the given X, Y and M coordinate values, and optionally an SRID number.</para>
+        <para>Availability: 3.2.0</para>
       </refsection>
 
       <refsection>
@@ -804,6 +809,7 @@ SELECT ST_Transform(ST_SetSRID( ST_Point( 3637510, 3014852 ), 2273), 4326)::geog
       <refsection>
         <title>Description</title>
         <para>Returns an Point with the given X, Y, Z and M coordinate values, and optionally an SRID number.</para>
+        <para>Availability: 3.2.0</para>
       </refsection>
 
       <refsection>

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

Summary of changes:
 doc/reference_constructor.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list