Home    |    Concepts   |   API   |   Samples
Concepts > Geometry > Shapes > Spatial Relations
Intersection of Geometries
The intersection function returns the intersection set of two geometries. The intersection set is always returned as a collection that is the minimum dimension of the source geometries. For example, for a linestring that intersects a polygon, the intersection function returns that portion of the linestring common to the interior and boundary of the polygon as a multilinestring. The multilinestring contains more than one linestring if the source linestring intersected the polygon with two or more discontinuous segments. If the geometries do not intersect or if the intersection results in a dimension less than both source geometries, an empty geometry is returned. The following figure illustrates some examples of the intersection function.

The intersection function returns the intersection set as the geometry that is the minimum dimension of the source geometries.

feedback | privacy | legal