本文主要是基於shapely官方文檔翻譯而成
shapely主要是在笛卡爾平面對幾何對象進行操作和分析。
性能
Shapely中所有的操作都是使用GEOS庫。GEOS是用C++寫的,也被用在許多應用程序中,你可以期待所有操作都是高度優化的。創建新的幾何圖形與許多坐標,然而,涉及一些開銷,可能會減緩你的代碼。
結論
我們希望你能享受使用Shapely帶來的好處。歡迎在GIS-Python郵箱列表進行提問和評論。該手冊將會定期的更新和改進。源文件可以在http://github.com/Toblerity/Shapely/tree/master/docs/上找到。
參考文獻
| [1](1, 2, 3, 4, 5) John R. Herring, Ed., “OpenGIS Implementation Specification for Geographic information - Simple feature access - Part 1: Common architecture,” Oct. 2006. |
| [2](1, 2) M.J. Egenhofer and John R. Herring, Categorizing Binary Topological Relations Between Regions, Lines, and Points in Geographic Databases, Orono, ME: University of Maine, 1991. |
| [3]E. Clementini, P. Di Felice, and P. van Oosterom, “A Small Set of Formal Topological Relationships Suitable for End-User Interaction,” Third International Symposium on Large Spatial Databases (SSD). Lecture Notes in Computer Science no. 692, David Abel and Beng Chin Ooi, Eds., Singapore: Springer Verlag, 1993, pp. 277-295. |
| [4](1, 2, 3) C. Strobl, “Dimensionally Extended Nine-Intersection Model (DE-9IM),” Encyclopedia of GIS, S. Shekhar and H. Xiong, Eds., Springer, 2008, pp. 240-245. [PDF] |
| [5]Martin Davis, “JTS Technical Specifications,” Mar. 2003. [PDF] |
| [6]David H. Douglas and Thomas K. Peucker, “Algorithms for the Reduction of the Number of Points Required to Represent a Digitized Line or its Caricature,” Cartographica: The International Journal for Geographic Information and Geovisualization, vol. 10, Dec. 1973, pp. 112-122. |
http://toblerity.org/shapely/manual.html#numpy-and-python-arrays
