JTS Release 1.19.0
Release Date: 06/21/2022
New Features
- Add
ConstrainedDelaunayTriangulator
andPolygonTriangulator
(#775, #862) - Add
Tri
data structure for representing triangulations (#775) - Add
DiscreteFrechetDistance
(#764, #783) - Add
OffsetCurve
class (#810, #816) - Add
ConcaveHull
class for points (#823, #829) - Add
ConcaveHullOfPolygons
class (#870) - Add
PolygonHullSimplifier
class (#861, #880) - TWKB read and write implementation (#854)
Functionality Improvements
- Improve
GeometryFixer
behaviour for holes outside polygons (#772) - Simplify and fix logic of
BufferParameters.setQuadSegs
(#778) - Improve
KdTree
query code to avoid recursion (#779) - Add
KdTree
seeding toSnappingNoder
(#780) - Add
GeometryFixer
option to preserveMulti
geometry types when collapses occur (#791) - Make
QuadTree
thread-safe (#792) - Allow specifying a fixed
PrecisionModel
via grid size (#804) - Improve
Densifier
to interpolate Z values (#835) - Add support for GeoJSON
Feature
andFeatureCollection
types (#837) - Add
WKTReader.setFixStructure
to fix WKT input (#848) - Improve
LineSegment.hashCode
to reduce collisions (#872)
Performance Improvements
- Improve performance of
CoveageUnion
by using boundary chains (#891)
Bug Fixes
- Fix
WKTReader
geometry typename parsing (#786) - Fix
CoordinateArrays.reverse
to handle zero-length arrays #787 - Fix
GeometryFixer
to appplyisKeepCollapsed
flag toGeometryCollection
elements (#790) - Fix
RectangleIntersects
to handle XYZM geometry (#794) - Fix various operations to handle XYZM geometry (#795)
- Fix
SnapRoundingNoder
to use tolerance in noding (also fixesGeometryPrecisionReducer
) (#802) - Fix
MaximumInscribedCircle
to avoid infinite-looping on flat collapsed input (#807) - Add
OverlayNG
result area heuristic check (#812) - Fix the buffers generated for mitred joins (#818)
- Fix
WKTReader
to produce correct XY coordinate dimension for POLYGON EMPTY (#828) - Fix
RelateOp
for a snapped line boundary point (#839) - Fix IsValidOp for repeated node points (#845)
- Fix
IsSimpleOp
for repeated endpoints (#851) - Fix
GeometryFixer
via noding check for zero-distance buffers (#867) - Fix
MinimumDiameter.minimumRectangle
for flat inputs (#875) - Fix
BufferOp
inverted ring check optimization (#878) - Fix
STRtree
nearest-neighbour queries on empty trees to avoid NPE (#886) - Remove transitive compile dependency on junit from jts-io-commmon (#855)