Registry / other / jts
library1.13javamavenunverified

The JTS Topology Suite is an API for modelling and manipulating 2-dimensional linear geometry.

<dependency> <groupId>com.vividsolutions</groupId> <artifactId>jts</artifactId> <version>1.13</version> </dependency>
INSTALL
IMPORT
SIG · JTS
J
jts
otherjavav1.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Geometry
com.vividsolutions.jts.geom.Geometry

Reads a geometry from Well-Known Text (WKT) and prints it.

import com.vividsolutions.jts.geom.Geometry; import com.vividsolutions.jts.io.WKTReader; public class Example { public static void main(String[] args) throws Exception { WKTReader reader = new WKTReader(); Geometry geom = reader.read("POINT (1 2)"); System.out.println(geom.toText()); } }
Debug
Known issues
breakingJTS has been superseded by the LocationTech JTS (org.locationtech.jts).
fix
Use org.locationtech.jts:jts-core for newer versions.
affects: >=1.14
Upgrade
Version history
1.13latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jts — mvn dependency:get jts · libregistry