0

The aim is to look at accessibility or lack thereof, in certain areas of the city, in order to inform future foodbank services.

I have been working in Python/Spyder, and using OpenRouteService API to calculate the routes.

However the project coordinator from the Foodbank, has recently suggested that it would be beneficial to add another layer of granularity to the project - using public transport data and timetables - as foodbank sessions run at distinct times through the week.

Can anyone recommend an appropriate API I could use in Python?

I have looked at https://developer.here.com/ which seems to be only available in other languages.

I am using Windows 10.

1

For the HERE API there's a Python API wrapper but I've not tried this.

There's a good list of other Public Transport APIs here on GitHub.

I see you're in the UK. The UK Government published a data set called NaPTAN which had detailed public transportation data of routes, access points, timetables etc.

However, it's been several years since I last looked at this, and I'm not sure whether this is still used/updated. I also remember looking at the schema, and realising how complex public transportation actually is ;-)

There was a Python tool called naptanToOSM used for a while to bring some of this data (bus stops etc.) into OpenStreetMap, but again I'm not sure of its status.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.