# Check if point exists in polygon

**URL:** https://ask.openrouteservice.org/t/check-if-point-exists-in-polygon/3921
**Category:** openrouteservice
**Created:** [May 30, 2022, 11:18pm UTC](https://ask.openrouteservice.org/t/check-if-point-exists-in-polygon/3921 "2022-05-30T23:18:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![netproject0](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/netproject0/32/1701_2.png) [@netproject0](https://ask.openrouteservice.org/u/netproject0)
#### Post date: [May 30, 2022, 11:18pm UTC](https://ask.openrouteservice.org/t/check-if-point-exists-in-polygon/3921/1 "2022-05-30T23:18:43Z")

</div>

Hi everyone,

I’m new here 🙂  
Just to know if there is a way with ORS to know if a point is inside a Polygon or not.  
To be clear something equivalent with the containsLocation() GM feature?

Many thank by advance for your support

Best.

---

<div class="post-metadata">

### Author: ![amandus](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/amandus/32/669_2.png) [@amandus](https://ask.openrouteservice.org/u/amandus)
#### Post date: [May 31, 2022, 10:29am UTC](https://ask.openrouteservice.org/t/check-if-point-exists-in-polygon/3921/2 "2022-05-31T10:29:05Z")

</div>

Hi @netproject0,

this is nothing we support via our API, depending on the programming language you are working in, there might be spatial libraries that you can use e.g. [Turf.js | Advanced Geospatial Analysis](https://turfjs.org/docs/#booleanPointInPolygon) for JS.

Best regards
