[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.3-10-gb420cf7

git at osgeo.org git at osgeo.org
Fri Jul 16 14:59:50 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, stable-3.1 has been updated
       via  b420cf7abfc0319b2dbf9b3a893ee055560b3001 (commit)
      from  5f2dab9e14c97ac6f22be194e418c72d4440cef3 (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 b420cf7abfc0319b2dbf9b3a893ee055560b3001
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Jul 16 14:59:45 2021 -0700

    Fix typo in setting of INVMINDIST, Charles Karney

diff --git a/NEWS b/NEWS
index f8378d7..03215b8 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ PostGIS 3.1.4dev
   - #4918, Fix rare crash in st_minpossiblevalue (Paul Ramsey)
   - #4941, Fix loose mbr in topology.face on update (Sandro Santilli)
   - #4949, Swapped coordinates for N/E planar systems (Paul Ramsey)
+  - GI617, Fix typo in setting of INVMINDIST (Charles Karney)
 
 
 PostGIS 3.1.3
diff --git a/postgis/geography_measurement.c b/postgis/geography_measurement.c
index 0d1d388..bea5d9e 100644
--- a/postgis/geography_measurement.c
+++ b/postgis/geography_measurement.c
@@ -45,7 +45,7 @@
 #define INVMINDIST 1.0e8
 #else
 /* round to 100 nm precision */
-#define INVMINDIST 1.0e9
+#define INVMINDIST 1.0e7
 #endif
 
 Datum geography_distance(PG_FUNCTION_ARGS);

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

Summary of changes:
 NEWS                            | 1 +
 postgis/geography_measurement.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list