JTS Feature Summary
A description of the features and functions provided by JTS, with links to the Javadoc.
- Geometry Model
- Precision Handling
- Validation and Repair
- Geometry I/O
- Geometry Operations
- Metric Functions
- Spatial Predicates
- Overlay
- Geometric Constructions
- Spatial algorithms
- Spatial structures
- Mathematical Functions
- High-Precision Arithmetic
Geometry Model
Support for all geometry types defined in the OGC Simple Features for SQL specification, including:
- Geometry (abstract base class)
- Point
- LineString
- Polygon
- MultiPoint
- MultiLineString
- MultiPolygon
- GeometryCollection
Precision Handling
Validation and Repair
- Topological validity checking
- Geometry fixing
Geometry I/O
- WKT (Well-Known Text) reader and writer
- WKB (Well-Known Binary) reader and writer
- GML(Geography Markup Language) Version 2 reader and writer
- Java Swing/AWT Shape writer
Geometry Operations
Metric Functions
- Euclidean Distance between geometries, with nearest points
- Discrete Hausdorff distance, with nearest points
- Discrete Frechet distance, with nearest points
- Area and Hausdorff similarity measures
Spatial Predicates
Topological Predicates
- Spatial Predicates based on the Egenhofer DE-9IM model, including the named predicates:
Distance predicates
isWithinDistance predicate
Overlay
Overlay functions including
- intersection
- difference
- symmetric difference
- union
- unary union, providing fast union of geometry collections
Geometric Constructions
- Buffer computation (also known as Minkowski sum with a circle)
- selection of buffer end-cap and join styles.
- Convex hull
- Geometric simplification including the Douglas-Peucker algorithm and topology-preserving simplification
- Geometric densification
- Linear referencing
- Delaunay triangulation and Conforming Delaunay triangulation
- Voronoi diagram generation
- Minimum Diameter of a geometry
- Minimum Enclosing Rectangle
- Minimum Bounding Circle
Spatial algorithms
- Robust line segment intersection
- Efficient line arrangement intersection and noding
- Snap-rounding for noding line arrangements
- Efficient Point-in-Polygon testing
Spatial structures
Spatial index structures:
Graph structures and algorithms
Mathematical Functions
- Angle computations
- Vector arithmetic
High-Precision Arithmetic
- Robust evaluation of 2x2 double-precision determinants
- DoubleDouble extended-precision arithmetic