[geos-commits] [SCM] GEOS branch main updated. 69cce6b85195d4010e5b066f62a4c1137da92173

git at osgeo.org git at osgeo.org
Mon Sep 22 16:27:49 PDT 2025


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  69cce6b85195d4010e5b066f62a4c1137da92173 (commit)
      from  c05da7dacd42ad55f77bc7ef980e53bab5a012a8 (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 69cce6b85195d4010e5b066f62a4c1137da92173
Author: Mike Taves <mwtoews at gmail.com>
Date:   Tue Sep 23 11:27:10 2025 +1200

    Fix geosop area return

diff --git a/util/geosop/GeometryOp.cpp b/util/geosop/GeometryOp.cpp
index 075315066..4838ab3eb 100644
--- a/util/geosop/GeometryOp.cpp
+++ b/util/geosop/GeometryOp.cpp
@@ -238,7 +238,7 @@ std::vector<GeometryOpCreator> opRegistry {
     catMetric, "area of geometry",
     Result::typeDouble,
     [](const Geometry& geom) {
-        return new Result( geom.convexHull() );
+        return new Result( geom.getArea() );
     });
 }},
 {"length", [](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