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

Fixes issue https://github.com/locationtech/jts/issues/805

I've found out that sorting a list of GeoTools features by their Geometry causes an unchecked method invocation warning to be issued. E.g.: ```java List features = ...; featuresList.sort(Comparator.comparing(f ->...

``` LinearRing linearRing = new GeometryFactory().createLinearRing(new Coordinate[] { new Coordinate(0, 0), new Coordinate(1, 0), new Coordinate(1, 1), new Coordinate(0, 0)}); String json = new GeoJsonWriter().write(linearRing); new GeoJsonReader().read(json); ``` GeoJsonWriter uses...

type-bug
jts-io

@jodygarnett, using the provided [sample java header](https://github.com/locationtech/jts/blob/master/doc/sample_java_header.txt) for new contributions leads to rejection within github actions due to the recently introduced code quality requirements. see: * https://github.com/locationtech/jts/runs/3668130223#step:5:115 * https://github.com/locationtech/jts/runs/3668130223#step:5:116

The changes I made (adding `ordinateFlags`) are mainly taken over from the `WKTReader`/`WKTWriter`.

I'm using the GeometryPrecisionReducer to adjust the precision of a geometry. This works but the precision model of the output geometry is not changed although this is explicitly enabled with...

JTS provides the `LineMerger` class to merge contiguous LineStrings together. It treats the lines as an undirected graph, and flips the direction of lines if needed to merge them. [PostGIS-4939](https://trac.osgeo.org/postgis/ticket/4939)...

jts-core
type-new-feature

ref https://github.com/locationtech/jts/issues/714 Wanted to see what effect it would have to turn interpolation off by default and it causes a number of expected test failures (OverlayNGZTest, RobustLineIntersectorZTest and GeometryFixerTest). If...

jts-core-overlay
type-proposal

The following line will return null if there is an unknown tag in a GML file: https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/io/gml2/GMLHandler.java#L215 When `qName == "ogr:FeatureCollection"` (a tag added by the GML export function in...

type-improvement
jts-core
type-proposal

Envelopes are generally used as if they are immutable, at least within the core geometry classes, however, because they are mutable, they are copied whenever they are returned - even...

jts-core
type-proposal