jts
jts copied to clipboard
The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Given the following multi-point: ``` MULTIPOINT ((500793.45 158815.25), (500793.95 158815.55), (500793.2 158816.65), (500710.65 158761.2), (500711.3 158760.1), (500750.1 158786.35), (500771.7 158800.9), (500787.05 158811.05)) ``` JTS version 1.19.0 This happens with seemingly...
Improves `CoverageSimplier`: * Adds small ring removal, with configurable tolerance factor * Adds smoothness weighting, to provide smoother results * Adds ability to specify separate tolerances for inner and outer...
I have the an invalid polygon with a bowtie in it. when I call buffer(0) on it I am returned a MultiPolygon when I was expecting a Polygon. Is this...
I have one polygon: `public static void main(String[] args) { GeometryFactory geometryFactory = new GeometryFactory(); Coordinate[] coordinates = new Coordinate[] { new Coordinate(0, 0), new Coordinate(10, 0), new Coordinate(10, 10),...
I found the following hash collisions between different points: ``` @Test void hashCollision() { double x = 100000.4; double y = 4126380.6868; GeometryFactory factory = new GeometryFactory(new PrecisionModel()); Point point1...
Polygonizer implementation seems to hold some internal state that affects the output of the getGeometry() method when extractOnlyPolygonal=true. The attached unit test class demonstrates the issue. Because of the nature...
Since CoverageValidator will only return the invalid edges of a coverage, it would be very convenient to be able to extract the valid edges of a coverage. This is what...
Fixes https://github.com/locationtech/jts/issues/733 Please note that we must specify `outputDimension = 4` when writing geometries with M dimension, even when the geometry is XYM instead of XYZM. This behavior is the...
For example: ``` MultiPoint a = (MultiPoint) readerXY.read("MULTIPOINT EMPTY"); MultiPoint b = (MultiPoint) readerXY.read("MULTIPOINT EMPTY"); // This currently fails assertTrue(a.equalsTopo(b)); ``` Does the current behavior make sense?
# Voronoi results incorrect in jts 1.20.0 The Voronoi diagram results are incorrect in JTS 1.20.0. It seems the results are not correctly clipped to the clip envelope. The following...