- 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.
- 自動控制工程設計入門
- 教父母學會上網
- Visual C# 2008開發技術實例詳解
- Google App Inventor
- Creo Parametric 1.0中文版從入門到精通
- 工業機器人現場編程(FANUC)
- OpenStack Cloud Computing Cookbook(Second Edition)
- Spark大數據技術與應用
- Enterprise PowerShell Scripting Bootcamp
- INSTANT Drools Starter
- 網絡安全管理實踐
- RedHat Linux用戶基礎
- 氣動系統裝調與PLC控制
- Containers in OpenStack
- 實戰Windows Azure