- Mastering PostGIS
- Dominik Mikiewicz Michal Mackiewicz Tomasz Nycz
- 155字
- 2021-07-02 22:52:24
Composing and decomposing geometries
One can think of PostGIS geometries as building blocks. The smallest unit, the point, consists of a tuple (in the most common scenario of 2D geometries, a pair) of coordinates. Points can be then used as independent units or arranged into more complex shapes: MultiPoints and LineStrings. LineStrings can constitute a MultiLineString. Closed LineStrings can be treated as rings and form a Polygon. Finally, multiple polygons may form a MultiPolygon. PostGIS is equipped with functions for coupling and decoupling those geometric building blocks, which will be outlined in this section.
Composition and decomposition functions have different names, but in general they follow a similar pattern: composition is done by supplying an array of components or using a PostgreSQL aggregation, and decomposition is done by extracting individual components by their index or by exploding a geometry into multiple rows using a set-returning function. For details of each geometry type, read on.
- 高效能辦公必修課:Word圖文處理
- 機器學習及應用(在線實驗+在線自測)
- R Machine Learning By Example
- 離散事件系統建模與仿真
- The Python Workshop
- Mastering ServiceNow Scripting
- 工業自動化技術實訓指導
- Visual C++項目開發案例精粹
- ASP.NET 2.0 Web開發入門指南
- Oracle 11g Anti-hacker's Cookbook
- JSP網絡開發入門與實踐
- Raspberry Pi 3 Projects for Java Programmers
- 暗戰強人:黑客攻防入門全程圖解
- 數據共享與數據整合技術
- 數字媒體交互設計原理與方法