Comments (4)
What is JTS' result? I suspect it is a precision problem.
from nettopologysuite.
@FObermaier same suspect. I wanna check jts results first.
from nettopologysuite.
checked: jts'trunk returns same results
from nettopologysuite.
We also checked JTS with the same result. After some investigation it turns out its due to our implementation. We did calculate an intersection and then in a second step tried to remove the intersection from the geometry.
The problem is that one point is exactly on the line between two vertices and then the pricision model when rounding the coordinates moves the line between the two vertices slightly, and then if the intersection point is inside the geometry it creates a tail.
So strictly speeking the algorithm is correct and you just have to be carefull when using calculated geometries and instead of calculating an overlap and then removing that overlap, then just remove it by using the difference between the two original geometries
from nettopologysuite.
Related Issues (20)
- How to avoid problem with ConcaveHull? HOT 4
- Difference problem
- GeometryPrecisionReducer not working for LineString (PrecisionModel)
- Could not load file or assembly 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
- Why holes do not applies to shells in Polygonizer?
- LineSegment.OrientationIndex returns a wrong value HOT 1
- DistanceOp.ComputeMinDistancePoints should be fixed for empty points. HOT 1
- TriangleEdgesListVisitor.Visit can fail with FetchTriangleToVisit. HOT 2
- PointLocator.ComputeLocation does not handle empty values
- how to get polygon with holes OR not overlapping polygons from list of LINESTRING HOT 2
- [WKBReader]Geometry type not recognized. GeometryCode: 16 HOT 1
- ST_Transform on parameter geometry HOT 1
- GeometryFactory.CreateEmpty throws exception when passed Dimension.Dontcare HOT 1
- Difference between Geometries created by NetTopologySuite 6 and 8 HOT 3
- MultiPoint Reverse implementation is not a reverse HOT 1
- Can you request a nuget package prefix for NetTopologySuite HOT 5
- An error create instance of STRtree class HOT 1
- Add Additional TFM so dependencies can be reduced
- Add additional TFM to enable a 0 dependency scenario HOT 1
- Invalid Z coordinate is added to geometry point with X and Z coordinates HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nettopologysuite.