同步操作将从 wuguojun/jts 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
JTS consists of several Java modules, each one corresponds to a separate JAR file.
The core modules are:
jts-core
- geometry model, operations, algorithms, and spatial data structuresjts-io-common
- I/O classes for open spatial formatsThe following modules depend on proprietary libraries, and are not built by default:
jts-io-ora
- Oracle reader and writerjts-io-sde
- SDE reader and writerThe following modules are applications and data for testing and working with JTS
jts-tests
- The JTS XML test suite and the Test Runner applicationjts-app
-The TestBuilder GUI, for working with JTS geometry interactivelyTo include JTS in a Maven project, add a dependency block like the following:
<properties>
<jts.version>1.16.1</jts.version>
</properties>
<dependency>
<groupId>org.locationtech.jts</groupId>
<artifactId>jts-core</artifactId>
<version>${jts.version}</version>
</dependency>
JTS artifacts are available on maven central.
Our build server publishes to the LocationTech Maven repository. To include JTS in a project, add the following repositories to the pom:
<repositories>
<repository>
<id>locationtech-releases</id>
<url>https://repo.eclipse.org/content/groups/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jts-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/jts-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
The latest snapshot builds are now avaialble:
<properties>
<jts.version>1.17.0-SNAPSHOT</jts.version>
</properties>
<dependency>
<groupId>org.locationtech.jts</groupId>
<artifactId>jts-core</artifactId>
<version>${jts.version}</version>
</dependency>
Older versions are available on Maven Central:
JTS 1.14.0:
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts-core</artifactId>
<version>1.14.0</version>
</dependency>
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts-io</artifactId>
<version>1.14.0</version>
</dependency>
JTS 1.13:
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
<version>1.13</version>
</dependency>
Prior releases can also be downloaded from Source Forge.
JTS uses #ModuleNameInManifest to export a module name for each of the JARs published for use as a library. In this way, you can depend on the various JTS modules in your module-info.java
in the following way:
// module-info.java for project org.foo.baz
module org.foo.baz {
requires org.locationtech.jts; // jts-core
requires org.locationtech.jts.io; // jts-io-common
requires org.locationtech.jts.io.oracle; // jts-io-ora
requires org.locationtech.jts.io.sde; // jts-io-sde
}
-Djts.overlay=ng
enables the use of OverlayNG in Geometry
overlay methods. (Note: in a future release this will become the default behaviour)JTS includes various application tools, which are documented here.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。