[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-391-gd3f5c2e

git at osgeo.org git at osgeo.org
Wed Aug 11 03:49:12 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, main has been updated
       via  d3f5c2e14c450ee0ca8f7f8dbd30f1f1b8ce1ae0 (commit)
      from  db1d141fa287987a0526a1d9b08939ce523965cf (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 d3f5c2e14c450ee0ca8f7f8dbd30f1f1b8ce1ae0
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Aug 11 12:14:21 2021 +0200

    Add regress test for GetFaceContainingPoint near collinear incoming segment

diff --git a/topology/test/regress/getfacecontainingpoint.sql b/topology/test/regress/getfacecontainingpoint.sql
index 8f23503..9763a2d 100644
--- a/topology/test/regress/getfacecontainingpoint.sql
+++ b/topology/test/regress/getfacecontainingpoint.sql
@@ -48,6 +48,9 @@ SELECT 't7', topology.GetFaceContainingPoint('city_data', 'POINT(32 16.9)');
 -- Query point in hole touching shell, near edge having hole on the right
 SELECT 't8', topology.GetFaceContainingPoint('city_data', 'POINT(24 16.9)');
 
+-- Query point collinear with closest incoming segment (right of next one)
+SELECT 't9', topology.GetFaceContainingPoint('city_data', 'POINT(7.1 31)');
+
 -- Query point on a node incident to multiple faces
 SELECT 'e1', topology.GetFaceContainingPoint('city_data', 'POINT(21 14)');
 
@@ -61,4 +64,5 @@ SELECT 'e3', topology.GetFaceContainingPoint('city_data', 'POINT(28 14)');
 SELECT 'e4', topology.GetFaceContainingPoint('city_data', 'POINT(28 22)');
 
 
+
 SELECT NULL FROM topology.DropTopology('city_data');
diff --git a/topology/test/regress/getfacecontainingpoint_expected b/topology/test/regress/getfacecontainingpoint_expected
index 65bc5a8..251363c 100644
--- a/topology/test/regress/getfacecontainingpoint_expected
+++ b/topology/test/regress/getfacecontainingpoint_expected
@@ -17,6 +17,7 @@ t5|2
 t6|0
 t7|11
 t8|4
+t9|1
 ERROR:  Two or more faces found
 ERROR:  Two or more faces found
 ERROR:  Two or more faces found

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

Summary of changes:
 topology/test/regress/getfacecontainingpoint.sql      | 4 ++++
 topology/test/regress/getfacecontainingpoint_expected | 1 +
 2 files changed, 5 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list