[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-499-ge2a545c

git at osgeo.org git at osgeo.org
Fri Sep 3 21:58:08 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  e2a545c1bac422c4a34b10dfec79c59963aed71e (commit)
       via  60314f57c5cf699ceffe5099d272f7985a41617b (commit)
      from  9903f546f0087c9bd135d483b8ad74a8e987c5b6 (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 e2a545c1bac422c4a34b10dfec79c59963aed71e
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Sep 4 00:58:02 2021 -0400

    Handle null arg. Patch from Esteban Zimanyi, MobilityDB. Closes #4982 for PostGIS 3.2.0

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 0ff4348..499f95c 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -972,8 +972,7 @@ Datum buffer(PG_FUNCTION_ARGS)
 	}
 	else
 	{
-		params_text = palloc(VARHDRSZ);
-		SET_VARSIZE(params_text, 0);
+		params_text = cstring_to_text("");
 	}
 
 	/* Empty.Buffer() == Empty[polygon] */

commit 60314f57c5cf699ceffe5099d272f7985a41617b
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Sep 4 00:52:35 2021 -0400

    Update ST_Azimuth to include more defs suggested by Francois Bonzon. Closes #4880 for PostGIS 3.2.0

diff --git a/doc/reference_measure.xml b/doc/reference_measure.xml
index b16b5ca..b37d935 100644
--- a/doc/reference_measure.xml
+++ b/doc/reference_measure.xml
@@ -140,7 +140,8 @@ from somegeogtable;</programlisting>
 			<title>Description</title>
 
 			<para>Returns the azimuth in radians of the line segment defined by the given
-			point geometries, or NULL if the two points are coincident. The azimuth angle is referenced from north (the positive Y axis), and is positive clockwise: North = 0; East = &#x03C0;/2; South = &#x03C0;; West = 3&#x03C0;/2.</para>
+			point geometries, or NULL if the two points are coincident. The azimuth angle is referenced from north (the positive Y axis), and is positive clockwise: North = 0; Northeast = &#x03C0;/4; East = &#x03C0;/2; Southeast = 3&#x03C0;/4;
+                South = &#x03C0;; Southwest 5&#x03C0;/4; West = 3&#x03C0;/2; Northwest = 7&#x03C0;/4.</para>
 			<para>For the geography type, the azimuth solution is known as the
                   <ulink url="https://en.wikipedia.org/wiki/Geodesics_on_an_ellipsoid">inverse geodesic problem</ulink>.</para>
 			<para>The azimuth is a mathematical concept defined as the angle between a reference plane and a point, with angular units in radians.

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

Summary of changes:
 doc/reference_measure.xml | 3 ++-
 postgis/lwgeom_geos.c     | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list