jts icon indicating copy to clipboard operation
jts copied to clipboard

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.

Results 164 jts issues
Sort by recently updated
recently updated
newest added

Buffering this closed line with distance = 70 produces a polygon with an incorrect hole artifact. If an endpoint is moved slightly to make the line non-closed, the buffer is...

type-bug
jts-core

(Not sure if this is a bug or just me using JTS in an unsupported way) The need: union ~5-20 polygons that may be (slightly) overlapping My current implementation uses...

type-bug
jts-core-overlay

Here attached is an awful geometry (a GPS track) making Polygonizer entering an infinite loop. I could not reduce the geometry to a simpler case. Just found that the infinite...

type-bug

I use the jts 1.16 and sometimes will failed by contains method with this bug, failed org.locationtech.jts.geom.TopologyException: side location conflict [ (-26.908931699420773, 170.85541495764005, NaN) ] at org.locationtech.jts.geomgraph.EdgeEndStar.propagateSideLabels(EdgeEndStar.java:286) at org.locationtech.jts.geomgraph.EdgeEndStar.computeLabelling(EdgeEndStar.java:125) at...

type-question

In TopologyPreservingSimplifier.java, If I change type of linestringsMap from HashMap to TreeMap, the result for same input geometry will be different.

type-question

I noticed that `Geometry.equals` and `Geometry.equalsExact` return different results for empty geometries: ```java GeometryFactory gf = new GeometryFactory(); Geometry g0 = gf.createPoint(); Geometry g1 = gf.createPoint(); assertEquals(g0.equals(g1), g0.equalsExact(g1)); ``` This...

type-question

Using OverlayNG, the result of computing the intersection of two identical polygons has its vertices rotated by one from the inputs. It is desirable that the vertices be identical. (This...

type-bug
jts-core-overlay

WKTReader wktReader=new WKTReader(); String wkt1="LineString Z (13520263.3311040997505188 3654113.41769909998401999 14.55408463999999924," + " 13520263.98897077143192291 3654108.78580632992088795 14.56306395999999914," + " 13520265.05638116039335728 3654101.43723948998376727 14.5861752899999999)"; String wkt2="LineString Z (13520262.04566529020667076 3654122.22497142991051078 14.53834022000000026, " + "13520263.19403318502008915 3654114.04906051000580192 14.55408463999999924)";...

type-bug

Computing the buffer of a `Point` that has a `CoordinateSequence` with a dimension of 2 will result in a `Polygon` that has an exterior ring with a dimension of 3....

type-bug
jts-core

The `WKTReader` silently adds a dimension to 2D WKT when `isOldJtsCoordinateSyntaxAllowed = true`. This is the default. ```java Point pt = new WKTReader().read("POINT (10 10)"); if (pt.getCoordinateSequence().getDimension() == 3) System.out.println("dimension...