地理空間Java開發庫:Spatial4j
Spatial4j是一個通用的空間/地理空間ASL許可的開源Java庫。它的核心能力有3個方面:
1、提供公共圖形,可工作在 Euclidean 和 geodesic (球體的表面)的世界模型。
2、提供距離計算和其它數學計算。
3、從WKT 格式化字符串來讀取形狀。
Spatial4j的主要部分是它的形狀集合。在Spatial4j形狀具有以下功能:
- Compute its lat-lon bounding box.
- Compute an area. For some shapes its more of an estimate.
- Compute if it contains a provided point.
- Compute the relationship to a lat-lon rectangle. Relationships are: CONTAINS, WITHIN, DISJOINT, INTERSECTS. Note that Spatial4j doesn't have a notion of "touching". </ul>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!