turf.boolean_point_in_polygon(point: Union[Sequence, Dict, turf.helpers._features.Feature], polygon: Union[Dict, turf.helpers._features.Feature], options: Dict = None)[source]

Takes a {@link Point} and a Polygon or MultiPolygon and determines if the point resides inside the polygon. The polygon can be convex or concave. The function accounts for holes.

reference: modified from: which was modified from

  • point – input Point Feature

  • polygon – input Polygon or MultiPolygon Feature

  • options

    optional parameters [options[“ignoreBoundary”]] True if polygon boundary should be ignored when determining if

    the point is inside the polygon otherwise False.


True if the Point is inside the Polygon; False otherwise