[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-379-g320a7b5

git at osgeo.org git at osgeo.org
Fri Jul 30 11:05:29 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  320a7b548f9c93415f6afd99d1f2dee9558e043e (commit)
      from  f2aae9882ea820190433da5b727488ae1ba87625 (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 320a7b548f9c93415f6afd99d1f2dee9558e043e
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Jul 30 11:05:22 2021 -0700

    Allow repeated points in GML poslist inputs, references #4910

diff --git a/postgis/lwgeom_in_gml.c b/postgis/lwgeom_in_gml.c
index 8b3238e..32b66af 100644
--- a/postgis/lwgeom_in_gml.c
+++ b/postgis/lwgeom_in_gml.c
@@ -899,7 +899,8 @@ static POINTARRAY* parse_gml_poslist(xmlNodePtr xnode, bool *hasz)
 
 			if (gml_dim == dim)
 			{
-				ptarray_append_point(dpa, &pt, LW_FALSE);
+				/* Add to ptarray, allowing dupes */
+				ptarray_append_point(dpa, &pt, LW_TRUE);
 				pt.x = pt.y = pt.z = pt.m = 0.0;
 				gml_dim = 0;
 			}

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

Summary of changes:
 postgis/lwgeom_in_gml.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list