MI_Envelope

Description

Returns an Envelope geometry object representing the minimum bounding rectangle (MBR) of the input geometry.

Syntax

MI_Envelope ( geometry )

Arguments

geometry is an expression which returns a geometry.

Example

Returns an Envelope geometry object representing the minimum bounding rectangle (MBR) of an aggregated set of geometry objects

select MI_Envelope([Geometry_Column]) from countries where country in ('Canada','Brazil','Argentina','Greenland')

Remarks

The geometry object returned will be in the coordinate system of the input geometry.