Skip to content

JTS类库使用说明,具体结合GIS基础理论与示例代码详细介绍JTS下面核心包下面的geometry、coordinate、wkb、wkt底层代码等操作使用说明

Notifications You must be signed in to change notification settings

songguoren/jts-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JTS简介

JTS提供了一套操作几何向量的java类库
早期版本 com.vividsolutions,已废弃不在维护
现在版本 com.locationtech.jts 由eclipse开源基金会托管

使用说明

入门指导

GIS开发入门指导

jts-core 核心库使用说明

jts-core核心类库使用说明
具体结合示例代码详细介绍JTS下面核心包下面的geometry、coordinate、wkb、wkt等操作使用说明

jts案例

计算点到线的垂线
延线的画线方向,判断点在线的右侧还是左侧
线到线投影
根据起始点求一个线的子线
计算线上面距离点起点一定距离的交点坐标
扩buffer,左扩N米右扩N米
单位换算

代码类库地址

JTS GitHub

代码包结构

核心模块:

  • jts-core - 核心类库:提供geometry model, operations, algorithms, and spatial data structures
  • jts-io-common - I/O classes for open spatial formats

The following modules depend on proprietary libraries, and are not built by default:

  • jts-io-ora - Oracle reader and writer
  • jts-io-sde - SDE reader and writer

The following modules are applications and data for testing and working with JTS

  • jts-tests - The JTS XML test suite and the Test Runner application
  • jts-app -The TestBuilder GUI, for working with JTS geometry interactively

Maven坐标

<dependency>  
 <groupId>org.locationtech.jts</groupId> 
 <artifactId>jts-core</artifactId> 
 <version>1.16.1</version>
</dependency>  

About

JTS类库使用说明,具体结合GIS基础理论与示例代码详细介绍JTS下面核心包下面的geometry、coordinate、wkb、wkt底层代码等操作使用说明

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages