MI_Intersects - 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 one geometry object intersects another geometry object.

Syntax

MI_Intersects ( geometry1, geometry2 )

Arguments

geometry1 and geometry2 are geometry objects (or expressions).

Example

Determines if the specified box intersects any of the country geometries.

select MI_Intersects(MI_Box(-13.36676789,8.05796847,79.06334219,62.70540978,'epsg:4326'),[Geometry_Column]) from countries where country = ANY ('Mauritania','Mali','Algeria')

Remarks

Returns true if geometry1 intersects 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).