Skip to main content

st_intersection

Function st_intersection 

Source
pub fn st_intersection(a: &Geometry, b: &Geometry) -> Geometry
Expand description

ST_Intersection(a, b) — return the geometry representing the shared area.

Returns GeometryCollection with an empty geometries vec if there is no intersection.