-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GeometryFixer class #704
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
Signed-off-by: Martin Davis <[email protected]>
strk
pushed a commit
to libgeos/geos
that referenced
this pull request
Apr 23, 2021
Add GeometryFixer class, and associated changes. Expose in CAPI via GEOSMakeValidWithParams() which takes a parameters object GEOSMakeValidParams*. Default remains same but can be easily switched in GEOSMakeValid().
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this pull request
Oct 21, 2021
Packaging changes: Use cmake instead of the now-deleted autotools, introducing a regression in "make test" where the installed version is tested instead of the build tree version. Upstream changes: Changes in 3.10.0 2021-10-20 - New things: - CAPI: GEOSDistanceWithin, GEOSPreparedDistanceWithin (#1124, Sandro Santilli) - Output WKT using positional precision with the ryu library (#868, Paul Ramsey) - geosop CLI for GEOS (Martin Davis) - Full doxygen of the C-API (Paul Ramsey) - GeometryFixer class for validity enforcement (Martin Davis, Paul Ramsey) - CAPI: GEOSDensify (Brendan Ward) - CAPI: GEOSCoordSeq_copyFromArrays, GEOSCoordSeq_copyFromBuffer, GEOSCoordSeq_copyToArrays, GEOSCoordSeq_copyToBuffer (Daniel Baston) - CAPI: GEOSMakeValidWithParams new validity enforcement approach from locationtech/jts#704, uses GeometryFixer (Paul Ramsey, Martin Davis) - CAPI: GEOSWKBWriter_getFlavor, GEOSWKBWriter_setFlavor support outputting ISO or Extended WKB flavors (#466, Paul Ramsey) - CAPI: GEOSConstrainedDelaunayTriangulation, builds a constrained triangulation of an input Polygon or MultiPolygon, returning a GeometryCollection(Polygon) of the triangles. - Fixes/Improvements: - Preserve ordering of lines in overlay results (Martin Davis) - Check for invalid geometry before fixing polygonal result in Densifier and DPSimplifier (Martin Davis) - Fix overlay handling of flat interior lines (JTS-685, Martin Davis) - Fix IsValidOp to correctly report invalid nested MultiPolygons (#1112, Martin Davis) - Fix BufferOp to avoid artifacts in certain polygon buffers (#1101, Martin Davis) - Fix IsValidOp to correctly report certain kinds of invalid LinearRings (Martin Davis) - Improve STRtree performance through TemplateSTRtree implementation (Daniel Baston) - Fix DiscreteFrechetDistance to use initial points of input lines (#1128, Martin Davis) - Changes: - Autoconf build system is dropped in favour of CMake See README.md and INSTALL.md for examples of usage - Libtool is no longer used for in favour of CMake Therefor libgeos.la is no longer built/installed - #1094, #1090: Drop inlines.cpp to address duplicate symbols on many platforms (Regina Obe) - GH475: Do not return NaN from GEOSProjectNormalized_r (Paul Ramsey) - GH442: BufferOp now returns unique_ptr<Geometry> result (Paul Ramsey)
Using GeometryFixer, how can one achieve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the class
GeometryFixer
to support repairing invalid geometry into valid geometry.See the requirements specification in #652.