Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回组中所有几何的外围矩形
此方法无法用于球形地球空间参照系中的几何。
ST_Geometry::ST_EnvelopeAggr(geometry-column)
geometry-column
ST_Geometry
用于生成外围矩形的几何值。通常这是一列。
ST_Polygon 返回表示组中所有几何的外围矩形的多边形。
结果的空间参照系标识符与第一个参数的空间参照系标识符相同。
SQL/MM (ISO/IEC 13249-3: 2006) 服务商扩充
以下示例返回结果 [Polygon ((-3 -1, 8 -1, 8 8, -3 8, -3 -1))]。
Polygon ((-3 -1, 8 -1, 8 8, -3 8, -3 -1))
SELECT ST_Geometry::ST_EnvelopeAggr( Shape ) FROM SpatialShapes