100 meter isochrone walking distance wrong result

We use the API to create isochrones, for example 100 meter distance walking areas. Weirdly, we sometimes get wrong results. See example below: I try to create two isochrones of 100 meter distance from two points. The one on the left seems fine, but the one on the right is much too big. The area from the point is way more than 100 meter, more than double that. What is going on here? I also tried driving-car mode, that didn’t work either.

import requests

body = {"locations":[[4.66413998775416,52.3953097319933],[4.6613289,52.3953097310563]],"range":[100],"range_type":"distance","units":"m"}

headers = {
    'Accept': 'application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8',
    'Authorization': 'xxx',
    'Content-Type': 'application/json; charset=utf-8'
}
call = requests.post('https://api.openrouteservice.org/v2/isochrones/foot-walking', json=body, headers=headers)

print(call.status_code, call.reason)
print(call.text)

You can also add a couple more ranges, to clearly see it’s going wrong:

"range":[100,150,200,250]

Hey,

have a look here for a short explanation:

In general, isochrones are quite tricky - This post and this issue show some more examples on where isochrones are finnicky to get right.

Best regards

1 Like