INPOLYGON

Returns a true/false answer on whether the given geo-point is within the given polygon.

Syntax

INPOLYGON(point, polygonPoints)

Example

INPOLYGON({{myGpsVal}}, '-8.6782523 27.2918257|-8.6672229 28.7094422|-7.6447228 29.3849982')

Notes

Polygon values must be pipe-seperated string of geo-points.

Related 

MIBETWEEN, KMBETWEEN