JTS Topology Suite

From Wikipedia, the free encyclopedia

The JTS Topology Suite (JTS) is an open source Java software library that provides a spatial object model and fundamental geometric functions.

The Suite was developed by Vivid Solutions and is published under the GNU General Public License. It implements the geometry model defined in the OpenGIS Consortium Simple Features Specification for SQL.

Functions provided include:

  • spatial predicates (based on the DE-9IM model)
  • overlay functions (intersection, difference, union, symmetric difference)
  • buffer
  • convex hull
  • area and distance functions
  • topological validity checking

The API supports a user-definable precision model and contains code for robust geometric computation. Also included are classes for spatial indexing. The API is 100% Java code (version 1.2 and above).

JTS provides a solid foundation for building further spatial applications, such as viewers, spatial query processors, and tools for performing data validation, cleaning and integration.

Languages