mapboxapi icon indicating copy to clipboard operation
mapboxapi copied to clipboard

Add the depart_at optional parameter

Open arielfuentes opened this issue 3 years ago • 5 comments

It would be very useful to filter the request for the matrix API by a departure time, like it is showed in the documentation.

https://docs.mapbox.com/api/navigation/matrix/

arielfuentes avatar Dec 20 '22 20:12 arielfuentes

Agreed! Though I think the feature is in private beta: https://www.mapbox.com/contact/matrix-api-depart-at. Do you have access / have you tried it out?

walkerke avatar Dec 20 '22 21:12 walkerke

I haven't signed up for this feature but I understand this is a public beta. IMG_20221220_181657

arielfuentes avatar Dec 20 '22 21:12 arielfuentes

I've implemented this in the matrix-depart-at branch but it doesn't work yet - I think the Mapbox team has to activate it in your account for it to work. I've requested activation and I'll try it out if they approve my request.

walkerke avatar Jan 23 '23 14:01 walkerke

Hi - I was just trying out mb_isochrone and I am getting 403 - Forbidden errors if I include the depart_at parameter. When I try it in MapBox's own playground it works, but in R using mb_isochrone() or just using the same URL from the playground and generating a request, I get the error. Doesn't look like it's in beta anymore. Do you still need to request activation?

swalkerCDD avatar May 22 '24 14:05 swalkerCDD

Yes, I think you might need to request it still.

walkerke avatar Jun 07 '24 17:06 walkerke