[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.4-32-g79dfbf9

git at osgeo.org git at osgeo.org
Fri Aug 14 19:22:01 PDT 2020


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, stable-2.5 has been updated
       via  79dfbf97b52dcaca01a4c0054c6f5a3a95297090 (commit)
      from  b7fa19527d9a329009081389b458ece0bea31ddf (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 79dfbf97b52dcaca01a4c0054c6f5a3a95297090
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Aug 14 22:21:46 2020 -0400

    Change date to tomorrow, fix gdal cunit tests

diff --git a/NEWS b/NEWS
index 429f16d..1179a49 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
 PostGIS 2.5.5
-2020/08/14
+2020/08/15
 
  * Bug fixes *
 
diff --git a/README.postgis b/README.postgis
index 9800427..888482a 100644
--- a/README.postgis
+++ b/README.postgis
@@ -1,8 +1,8 @@
 PostGIS - Geographic Information Systems Extensions to PostgreSQL
 =================================================================
 
-:Version: 2.5.4
-:Date: 2020-02-28
+:Version: 2.5.5
+:Date: 2020-08-15
 :Website: http://postgis.net
 
 This distribution contains a module which implements GIS simple features, ties
diff --git a/doc/release_notes.xml b/doc/release_notes.xml
index 5fd5663..5db53b1 100644
--- a/doc/release_notes.xml
+++ b/doc/release_notes.xml
@@ -5,7 +5,7 @@
 
     <sect1>
       <title>Release 2.5.5</title>
-      <para>Release date: 2020/08/14</para>
+      <para>Release date: 2020/08/15</para>
       <simplesect>
         <title>Bug Fixes</title>
         <para>4709, Fix crash in adding edge to corrupted topology, (Sandro Santilli)</para>
diff --git a/raster/test/cunit/cu_gdal.c b/raster/test/cunit/cu_gdal.c
index 6b90fc6..93be96f 100644
--- a/raster/test/cunit/cu_gdal.c
+++ b/raster/test/cunit/cu_gdal.c
@@ -98,16 +98,6 @@ static void test_gdal_rasterize() {
 	cu_free_raster(raster);
 }
 
-static char *
-lwgeom_to_text(const LWGEOM *lwgeom) {
-	char *wkt;
-	size_t wkt_size;
-
-	wkt = lwgeom_to_wkt(lwgeom, WKT_ISO, DBL_DIG, &wkt_size);
-
-	return wkt;
-}
-
 static rt_raster fillRasterToPolygonize(int hasnodata, double nodataval) {
 	rt_band band = NULL;
 	rt_pixtype pixtype = PT_32BF;
@@ -188,12 +178,12 @@ static void test_gdal_polygonize() {
 	CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved), lwgeom_area(gexpected), FLT_EPSILON );
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[2].val, 2.8, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[2].geom;
+	gobserved = (LWGEOM *)gv[2].geom;
 	gexpected = lwgeom_from_wkt("POLYGON((5 1,5 3,6 3,6 6,5 6,5 8,6 8,6 7,7 7,7 6,8 6,8 3,7 3,7 2,6 2,6 1,5 1))",
 				    LW_PARSER_CHECK_NONE);
 	CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved), lwgeom_area(gexpected), FLT_EPSILON);
 
-	gobserved = (const LWGEOM *)gv[3].geom;
+	gobserved = (LWGEOM *)gv[3].geom;
 	gexpected = lwgeom_from_wkt(
 	    "POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))",
 	    LW_PARSER_CHECK_NONE);
@@ -222,7 +212,7 @@ static void test_gdal_polygonize() {
 	*/
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[1].val, 0.0, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[1].geom;
+	gobserved = (LWGEOM *)gv[1].geom;
 	gexpected = lwgeom_from_wkt("POLYGON((3 3,3 6,6 6,6 3,3 3))", LW_PARSER_CHECK_NONE);
 	CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved), lwgeom_area(gexpected), FLT_EPSILON);
 	//wkt = lwgeom_to_text((const LWGEOM *) gv[1].geom);
@@ -230,7 +220,7 @@ static void test_gdal_polygonize() {
 	//rtdealloc(wkt);
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[2].val, 2.8, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[2].geom;
+	gobserved = (LWGEOM *)gv[2].geom;
 	gexpected = lwgeom_from_wkt("POLYGON((5 1,5 3,6 3,6 6,5 6,5 8,6 8,6 7,7 7,7 6,8 6,8 3,7 3,7 2,6 2,6 1,5 1))",
 				    LW_PARSER_CHECK_NONE);
 	CU_ASSERT_DOUBLE_EQUAL(lwgeom_area(gobserved), lwgeom_area(gexpected), FLT_EPSILON);
@@ -239,7 +229,7 @@ static void test_gdal_polygonize() {
 	//rtdealloc(wkt);
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[3].val, 0.0, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[3].geom;
+	gobserved = (LWGEOM *)gv[3].geom;
 	gexpected = lwgeom_from_wkt(
 	    "POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))",
 	    LW_PARSER_CHECK_NONE);
@@ -267,7 +257,7 @@ static void test_gdal_polygonize() {
 	*/
 
 	CU_ASSERT_DOUBLE_EQUAL(gv[3].val, 0.0, FLT_EPSILON);
-	gobserved = (const LWGEOM *)gv[3].geom;
+	gobserved = (LWGEOM *)gv[3].geom;
 	gexpected = lwgeom_from_wkt(
 	    "POLYGON((0 0,0 9,9 9,9 0,0 0),(6 7,6 8,3 8,3 7,2 7,2 6,1 6,1 3,2 3,2 2,3 2,3 1,6 1,6 2,7 2,7 3,8 3,8 6,7 6,7 7,6 7))",
 	    LW_PARSER_CHECK_NONE);

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

Summary of changes:
 NEWS                        |  2 +-
 README.postgis              |  4 ++--
 doc/release_notes.xml       |  2 +-
 raster/test/cunit/cu_gdal.c | 22 ++++++----------------
 4 files changed, 10 insertions(+), 20 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list