Skip to main content
Calculate the intersection of two Geometry columns or two Geography columns. Inputs must have the same spatial type. Geography intersections use geodesic edges and return a Geography. SQL reference: ST_Intersection

Signature

Parameters

ColumnOrName
required
One Geometry or Geography column to use in the calculation.
ColumnOrName
required
Other Geometry or Geography column to use in the calculation.

Returns

Column
Intersection of a and b with the same spatial type as the inputs.