---
title: "INPOLYGON"
url: "https://help.formsfly.com/en/article/inpolygon"
language: "en"
last_updated: "2024-11-12T09:13:14.407Z"
---

# INPOLYGON

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

### Syntax

`**INPOLYGON(point, polygonPoints)**`

### Example

```plaintext
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](https://help.formsfly.com/en/article/mibetween), [KMBETWEEN](https://help.formsfly.com/en/article/inpolygon)
