# Define new profile

**URL:** <https://ask.openrouteservice.org/t/define-new-profile/3059>\
**Category:** openrouteservice\
**Created:** [August 11, 2021, 10:31am UTC](https://ask.openrouteservice.org/t/define-new-profile/3059 "2021-08-11T10:31:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rand\_Hazem](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/r/7feea3/32.png) [@Rand\_Hazem](https://ask.openrouteservice.org/u/Rand_Hazem)\
**Post date:** [August 11, 2021, 10:31am UTC](https://ask.openrouteservice.org/t/define-new-profile/3059/1 "2021-08-11T10:31:14Z")

</div>

Is there any resource I can use as a referance to define new profile? OSR  
the problem we face is that we need to controle profile speed for both Optimization and Direction API, as the document, we only can controle speed using Direction  
so as a solution, we need to define new profiles with different speeds

---

<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:** [August 11, 2021, 11:35am UTC](https://ask.openrouteservice.org/t/define-new-profile/3059/2 "2021-08-11T11:35:29Z")

</div>

Hi @Rand_Hazem,

> [@Adding a custom profile](https://ask.openrouteservice.org/t/adding-a-custom-profile/961/2):
>
> Hi, easy, just specify instructions=false and geometry=false: [https://openrouteservice.org/dev/#/api-docs/v2/directions/{profile}/geojson/post](https://openrouteservice.org/dev/#/api-docs/v2/directions/%7Bprofile%7D/geojson/post) Other than that, there is no tutorial on creating your own profiles. You’ll need to dig into the code yourself. But the existing profile implementations should give you a very good idea of what’s necessary.

Still no way around code digging.

Also see [Create a new FlagEncoder](https://ask.openrouteservice.org/t/create-a-new-flagencoder/2299)

Best regards
