v.25.6New Feature

Add MultiPolygon

Add MultiPolygon support for pointInPolygon. #79773 (Nihal Z. Miaji).
Added support for MultiPolygon geometry type in the pointInPolygon function.

Why it matters

This feature extends the pointInPolygon function to handle complex geometries consisting of multiple polygons, enabling users to accurately test whether a point lies within any polygon of a MultiPolygon. It enhances spatial querying capabilities, particularly for datasets involving multi-part polygon shapes.

How to use it

Use the pointInPolygon function with MultiPolygon geometries as input. The function will return true if the point lies within any of the polygons in the multi-polygon geometry.