# Is "avoid\_features" supported in snapping?

**URL:** https://ask.openrouteservice.org/t/is-avoid-features-supported-in-snapping/6725
**Category:** openrouteservice
**Created:** [December 4, 2024, 11:34pm UTC](https://ask.openrouteservice.org/t/is-avoid-features-supported-in-snapping/6725 "2024-12-04T23:34:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Reinis](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/reinis/32/3284_2.png) [@Reinis](https://ask.openrouteservice.org/u/Reinis)
#### Post date: [December 4, 2024, 11:34pm UTC](https://ask.openrouteservice.org/t/is-avoid-features-supported-in-snapping/6725/1 "2024-12-04T23:34:09Z")

</div>

Hi! I’m using the snapping endpoint to snap a point to the road network. My current request looks like this: I have self hosted ORS setup.

```auto
{
  "locations": [
    [fromPoint.longitude, fromPoint.latitude]
  ],
  "radius": 300
}

```

I tried to add

```auto
"options": {
    "avoid_features": ["footways"]
 }

```

But without success.

---

<div class="post-metadata">

### Author: ![andrzej](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/andrzej/32/10_2.png) [@andrzej](https://ask.openrouteservice.org/u/andrzej)
#### Post date: [December 5, 2024, 8:09am UTC](https://ask.openrouteservice.org/t/is-avoid-features-supported-in-snapping/6725/2 "2024-12-05T08:09:48Z")

</div>

Hi, thanks for reaching out!

Unfortunately, there are currently no additional parameters such as `avoid_features` supported by the snap endpoint. However, in your particular example you can avoid snapping to footpaths and other types of roads and ways closed to motorized vehicles by using the car profile, which already excludes these type of ways from the road network.

Cheers!  
Andrzej

---

<div class="post-metadata">

### Author: ![Reinis](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/reinis/32/3284_2.png) [@Reinis](https://ask.openrouteservice.org/u/Reinis)
#### Post date: [December 5, 2024, 9:50am UTC](https://ask.openrouteservice.org/t/is-avoid-features-supported-in-snapping/6725/3 "2024-12-05T09:50:03Z")

</div>

Thanks!. Seems to be working alright!
