From 5e806d6918e296c722312c732ff6a0f6df61f416 Mon Sep 17 00:00:00 2001 From: Martin Davis Date: Mon, 8 Jan 2024 14:21:47 -0800 Subject: [PATCH] Fix geomop bug to call covers correctly --- util/geosop/GeometryOp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/geosop/GeometryOp.cpp b/util/geosop/GeometryOp.cpp index 34a854918d..35b70b5a60 100644 --- a/util/geosop/GeometryOp.cpp +++ b/util/geosop/GeometryOp.cpp @@ -624,7 +624,7 @@ std::vector opRegistry { catRel, "test if geometry A covers geometry B", Result::typeBool, [](const std::unique_ptr& geom, const std::unique_ptr& geomB) { - return new Result( geom->contains( geomB.get() ) ); + return new Result( geom->covers( geomB.get() ) ); }); }}, { "crosses", [](std::string name) { return GeometryOp::create(name,