[geos-commits] [SCM] GEOS branch main updated. 726f0aa4570cd23fb1c64a0b9fd8f31d547d4790
git at osgeo.org
git at osgeo.org
Tue Sep 29 17:56:17 PDT 2026
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 726f0aa4570cd23fb1c64a0b9fd8f31d547d4790 (commit)
from dbb5ced87a4032b7493cfce63b03a2aa3395f99e (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 726f0aa4570cd23fb1c64a0b9fd8f31d547d4790
Author: Daniel Baston <dbaston at gmail.com>
Date: Tue Sep 29 12:26:10 2026 -0400
geosop: include curves in polygonize results
diff --git a/util/geosop/GeometryOp.cpp b/util/geosop/GeometryOp.cpp
index df913da38..29e0dd59f 100644
--- a/util/geosop/GeometryOp.cpp
+++ b/util/geosop/GeometryOp.cpp
@@ -560,7 +560,7 @@ std::vector<GeometryOpCreator> opRegistry {
geos::operation::polygonize::Polygonizer p;
p.add(&geom);
- std::vector<std::unique_ptr<Polygon>> polys = p.getPolygons();
+ auto polys = p.getSurfaces();
std::vector<std::unique_ptr<const Geometry>> geoms;
for(unsigned int i = 0; i < polys.size(); i++) {
geoms.push_back( std::move(polys[i]) );
@@ -576,7 +576,7 @@ std::vector<GeometryOpCreator> opRegistry {
geos::operation::polygonize::Polygonizer p(true);
p.add(&geom);
- std::vector<std::unique_ptr<Polygon>> polys = p.getPolygons();
+ auto polys = p.getSurfaces();
std::vector<std::unique_ptr<const Geometry>> geoms;
for(unsigned int i = 0; i < polys.size(); i++) {
geoms.push_back( std::move(polys[i]) );
-----------------------------------------------------------------------
Summary of changes:
util/geosop/GeometryOp.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list