我的github
posts - 3243,  comments - 42,  views - 158万

JTS拓扑结构程序组是一个通过使用明确的精度模型和健壮的几何算法来执行空间数据操作的Java应用编程孔。JTS是用来对可以支持空间数据集的确认、处理、综合及质疑的应用程序进行改善。这篇文献就是对在JTS拓扑程序组中执行的类、方法与算法进行说明。
JTS试图尽可能精确地执行开放式地理信息系统GIS中的简单要素实现规范(SFS)。在一些情况下,SFS是不清晰的,或者是遗漏了某个规范。在这种情况下,JTS试图选择一个合理的相容的替代物。SFS的不同之处与其细节之处都将会在这个说明书中论述到。有关等级与方法的详细文献将会以Java文件的形式出现,作为原始资料代码。

参考:《JTS官方技术规范中文翻译版》

jts.geom:

数据类型{Point,MultiPoint,LineString,LinearRing,MultiLineString,Polygon,MultiPolygon,GeometryCollection}

接口:Coordinate,Envelope,GeometryFactory

支持的操作:getGeometryType(), isEmpty(), getSRID(), getCoordinate(), getCoordinates(), getNumPoints(), isSimple(), getArea(), getLength(), getBoundary(), getCentroid(), getEnvelope(), distance(geometry), isWithinDistance(geometry, distance)

 

例子:Tests

https://github.com/locationtech/jts/blob/master/modules/tests/src/main/java/org/locationtech/jtstest/testrunner/Test.java

 

空间关系判断:

 

空间操作:

 

>>github:https://github.com/locationtech/jts

  • Javadoc for the latest version of JTS
  • FAQ - Frequently Asked Questions
  • User Guide - Installing and using JTS
  • Tools - Guide to tools included with JTS
  • Developing Guide - how to build and develop for JTS
  • Upgrade Guide - How to migrate from previous versions of JTS

>>Wiki:https://en.wikipedia.org/wiki/JTS_Topology_Suite

posted on   XiaoNiuFeiTian  阅读(1213)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)
历史上的今天:
2021-01-27 ArcGIS城市地下管网纵横断面分析设计与实现&三维分析之DEM横断面 纵断面 剖面
2021-01-27 ArcScene按照属性进行拉伸Extrusion
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示