I wrote this week about my new Android app, which checks for road traffic problems affecting UK routes. I mentioned that it wasn’t ready for release yet, because there are a few admin issues that I need to sort.
One of the problems is in how I get the routing data.
The app relies on comparing the locations of traffic problems with the user’s route.
But getting a detailed description of a route between two places, in a format that I can use to compare against the traffic problems, proved harder.
I tried a few places, such as:
native Android API
There is a maps and geolocation API in Android, but it doesn’t include any routing abilities. (I found a couple of forum posts that suggest that there used to be, but they were removed?)
Google Maps API
Multimap Open API
They have a good routing API, and this is the one that the app currently uses. But, my free API key limits me to making 5000 requests per month. That’s not 5000 requests per user – it’s 5000 requests in total for all users of my app. If I want more, I’d have to pay. This might be enough… I’m not sure. It’d depend on how many users I end up with.
That said, their developer site does say “If you are doing something really cool and you absolutely need more access to these services please get in touch – we want to help your innovation”. I’ve emailed them to ask. I wonder if they would think my app is really cool?
Watch this space.