JTS Geometry operations are used to perform a range of spatial calculations; from finding an intersection to determining the centriod.
- Intersection
- ConvexHull
- Intersection
- Union
- Difference
- SymDifference
The JTS Geometry operations closely follow the simple features for sql specification; so if you have any questions on exactly what is going on please review the related specification.
Intersection
Polygon / Multipolygon containing all points within a within a set distance:
distance of the Geometry
... Geometry intersection = polygon.intersection( line );