You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When taking a small buffer around the polygon with quadSegs = 0 and distance=1e-5, one polygon hole is completely removed for no apparent reason. Hole is much bigger than the buffer and there is no way that buffering removes this hole naturally. I tried distances 100, 10, 1, 1e-1, 1e-2, 1e-3, 1e-4, 1e-6, all of which do not remove the hole.
To quickly reproduce, you can add a new operation to utils/geosop/GeometryOp.cpp: {"bufferWithQuadrantSegments", [](std::string name) { return GeometryOp::create(name, catConst, "compute the buffer of geometry by a distance with quadrant segments", [](const std::unique_ptr<Geometry>& geom, double d, int quadrantSegments) { return new Result( geom->buffer( d, quadrantSegments ) ); }); }},
The text was updated successfully, but these errors were encountered:
geosop - GEOS 3.12.2
When taking a small buffer around the polygon with
quadSegs = 0
anddistance=1e-5,
one polygon hole is completely removed for no apparent reason. Hole is much bigger than the buffer and there is no way that buffering removes this hole naturally. I tried distances 100, 10, 1, 1e-1, 1e-2, 1e-3, 1e-4, 1e-6, all of which do not remove the hole.Input polygon: poly.wkt.txt
Visualisation
Input
Buffer
dist=1e-5, quadSegs=0
Buffer
dist=100, quadSegs=0
To quickly reproduce, you can add a new operation to
utils/geosop/GeometryOp.cpp
:{"bufferWithQuadrantSegments", [](std::string name) { return GeometryOp::create(name, catConst, "compute the buffer of geometry by a distance with quadrant segments", [](const std::unique_ptr<Geometry>& geom, double d, int quadrantSegments) { return new Result( geom->buffer( d, quadrantSegments ) ); }); }},
The text was updated successfully, but these errors were encountered: