Number of GEOJSON coordinates in a response and how are they separated from each other

Hello!! First of all I would like to thank you all for the fabulous work you guys have done in this project :slight_smile:

I have a little question I couldn’t find the solution for anywhere. Related to the directions service, with a GEOJSON response format, I would like to know whether the different coordinates are separated by the same distance or otherwise they follow a different criteria.
For example, if I have a 500 km trip and 2000 waypoints, is each waypoint separated by a distance of 0.25 km (500km over 2000points)?
And a final question, is there a maximum number of coordinates the service generates no matter the length of the route?

Thank you so much in advance!!
Have a nice day :smiley:

Hi @Alvaro_Gomez11,

the geometry follows the geometry of the OSM ways.
Just paste your response on geojson.io and you can see it matching the streets on the basemap.
No maximum number of coordinates, but a distance limit for requests.

Best regards

Thank you so much! That clarifies it a lot now.
Kind regards!!