jts
jts copied to clipboard
The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
For large geometry, there is a lot of points, then a lot of Coodinate Object. It takes multiple memory than byte[] or double[]. I know use Coodinate make the code...
OverlayNG fails in union operation with `org.locationtech.jts.util.AssertionFailedException: found two shells in EdgeRing list`on: ``` A: POLYGON ((-3.3739513500645426 12.319170988964565, -4.369809126119213 13.154794881557066, -12.589262156305985 20.05173488766576, -11.593404380251314 19.216110995073258, -3.3739513500645426 12.319170988964565)) B:POLYGON ((-5.365666902173885 13.990418774149568, -4.369809126119214...
The change in JTS 1.17 makes it impossible to use newer version of JTS because it's not binary compatible java.lang.NoSuchMethodError: org.locationtech.jts.geom.Polygon.getExteriorRing()Lorg/locationtech/jts/geom/LineString; And, even though it's a simple recompile, when it's...
https://github.com/locationtech/jts/issues/777 Signed-off-by: Tore Halset
Context: We are taking a 3D model of a residential building's roof faces and doing a union of all of them to end up with the building's outline. For example,...
The isValid method for LineStrings does not check for repeated points. This is a condition for validity in the ISO spec (ISO/IEC 13249-3:2016 section 7.2.3), and is caught by ESRI....
The Math.min function should be used on this line to ensure consistent behaviour with the description and left case i.e. an orientation index of -1 (right) when one point lies...
In the following piece of code the old _buffer(0)_-trick is still used: https://github.com/locationtech/jts/blob/30280d0c00fc388672579eaa2e2616a6d0cb48bb/modules/core/src/main/java/org/locationtech/jts/simplify/DouglasPeuckerSimplifier.java#L204-L211 This came up in [NTS #612](https://github.com/NetTopologySuite/NetTopologySuite/issues/612)
I encountered something I did not expect while using `DouglasPeuckerSimplifier` (disclaimer: I only have basic experience with JTS library or GIS in general). Input polygon: `POLYGON ((15.115084617721836 8.70727443584788, 15.115091626386706 8.707267302923066,...
Hello, I have a GeometryCollection filled with LineString. I use the **GeometryCollection.buffer** method to buffer it, but the return type is Geometry. Is there any possible way to extract the...