/jts

JTS Topology Suite

Primary LanguageJavaGNU Lesser General Public License v2.1LGPL-2.1

JTS Topology Suite

Build Status Coverage Status*

Fork of original project from: svn://svn.code.sf.net/p/jts-topo-suite/code

Original project site: http://tsusiatsoftware.net/jts/main.html (previous: http://www.vividsolutions.com/jts/JTSHome.htm) Original project GitHub repo: https://github.com/dr-jts/jts

Welcome to the repository for the JTS Topology Suite. JTS essentially consists of several Java modules, each one corresponding to a separate JAR file. Only jts-core is necessary to use the library in an application. The others are external tools or optional extensions. To read more about specific modules check pom.xml description.

Project site

Develope JTS

Java IDEs support Maven projects out of the box. Just import them, the rest should be automatically configured. Some jts-io-* projects require additional jars which are not easily obtainable. Check poms for more information.

Build JTS

The JTS library is intended to be Java 1.6 compatible (to permit deployment on Android 2.3+). The tools are not subject to this limitation, so you can target higher Java versions.

  • In the root directory execute

    mvn install

Test JTS

  • Java unit tests can be executed using

    mvn test

  • XML tests run during integration-test phase of jts-test-library project:

    mvn integration-test

  • Some XML tests are executed separately since they should fail. Until test runner doesn't support such case use:

    mvn exec:exec

Deploy JTS

JTS snapshot build will be deployed to GitHub pages based, Maven repository.

Maven Snapshots

Maven Releases

*Currently coverage is calculated only for jts-core (which is most relevant)