[geos-commits] [SCM] GEOS branch main updated. 5e806d6918e296c722312c732ff6a0f6df61f416

git at osgeo.org git at osgeo.org
Mon Jan 8 14:22:26 PST 2024


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 "GEOS".

The branch, main has been updated
       via  5e806d6918e296c722312c732ff6a0f6df61f416 (commit)
      from  0aef713ac930e7247c50a1ae720c36f0f0bf790a (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 5e806d6918e296c722312c732ff6a0f6df61f416
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Mon Jan 8 14:21:47 2024 -0800

    Fix geomop bug to call covers correctly

diff --git a/util/geosop/GeometryOp.cpp b/util/geosop/GeometryOp.cpp
index 34a854918..35b70b5a6 100644
--- a/util/geosop/GeometryOp.cpp
+++ b/util/geosop/GeometryOp.cpp
@@ -624,7 +624,7 @@ std::vector<GeometryOpCreator> opRegistry {
     catRel, "test if geometry A covers geometry B",
     Result::typeBool,
     [](const std::unique_ptr<Geometry>& geom, const std::unique_ptr<Geometry>& geomB) {
-        return new Result( geom->contains( geomB.get() ) );
+        return new Result( geom->covers( geomB.get() ) );
     });
 }},
 { "crosses", [](std::string name) { return GeometryOp::create(name,

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

Summary of changes:
 util/geosop/GeometryOp.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list