Java Topology Suite (JTS) Ultimate Guide
Learn JTS (Java Topology Suite) library with example usage codes and visualisations.
This guide contains several How To tutorials for JTS (org.locationtech.jts or com.vividsolutions.jts) library. These tutorials have links to sample codes on GitHub. You can change sample codes and see what happens via visualisation codes.
Here is detailed contents
-
Introduction
Installation
Geometry Model
Coordinate Class
GeometryFactory
Point
MultiPoint
LineString
LineRing
MultiLineString
Polygon
MultiPolygonGeometryCollection
-
Geometric Relationship Calculations
Visualization
Area
Length / Perimeter
Distance / isWithinDistance
Contains / Within
Covers / CoveredBy
Intersects / Disjoint
Crosses
Overlaps and Touches
Equals
-
Geometric Area Calculations
Intersection - Intersection Area Calculation
Union - Joint Area Calculation
Unary Union - Unary Joint Field Calculation
Difference - Difference Area Calculator
Symetric Difference - Symmetric Difference Area Calculator
Buffer - Calculating Buffer Area
-
Delaunay Triangulation, Voronoi Diagram, Convex Hull
Delaunay Triangulation
Voronoi Diagram
Convex Hull - Convex Cover, Envelope
What is Quadtree? Example Usage in Java
-
Douglas Peucker Geometry Simplification and Densification
DouglasPeuckerSimplifier
Geometry Densifier
+29 sample code blocks, with meaningful geometric visualisations.