MI_EnvelopesIntersect - spectrum_spatial - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

Description

Determines if the minimum bounding rectangles (MBR) of two geometry objects intersect.

Syntax

MI_EnvelopesIntersect ( geometry1, geometry2 )

Arguments

geometry1 and geometry2 are geometry objects (or expressions).

Example

Determines if the minimum bounding rectangles (MBR) of the point and the countries geometry intersect.

select MI_EnvelopesIntersect(MI_Point(-76,45,'epsg:4326'),[Geometry_Column]) from countries where country='Canada'

Remarks

Returns true if the MBR of geometry1 intersects the MBR of geometry2, false otherwise. If either geometry1 or geometry2 are null, false is returned. The function is performed using the coordinate system of the first argument (geometry1).