Realistic mileages
Discussion
Does anyone know of a website which uses an actual/realistic mileage between the site user and the thing they're looking at, rather than an 'as the crow flies' approach?
Or, if no live examples, can anyone comment on the ease or viability of delivering sensible distances between postcodes for website users?
Or, if no live examples, can anyone comment on the ease or viability of delivering sensible distances between postcodes for website users?
Won't do website, but I've just installed one of these.
http://www.milelogik.com/
It beeps when I set off, push a button for business miles or leave for personal. Plug in once a month and I have a full log of miles covered (not just start and stop). Rather pleased.
http://www.milelogik.com/
It beeps when I set off, push a button for business miles or leave for personal. Plug in once a month and I have a full log of miles covered (not just start and stop). Rather pleased.
surveyor said:
Won't do website, but I've just installed one of these.
http://www.milelogik.com/
It beeps when I set off, push a button for business miles or leave for personal. Plug in once a month and I have a full log of miles covered (not just start and stop). Rather pleased.
That is brilliant, saves buggering around with an A4 piece of paper to record the journey.http://www.milelogik.com/
It beeps when I set off, push a button for business miles or leave for personal. Plug in once a month and I have a full log of miles covered (not just start and stop). Rather pleased.
Is this going to be a one-off thing on the page (i.e. find the distance between you and this shop at this postcode), or are you going to be comparing with a load of different postcodes (i.e. finding you your nearest Tesco)?
IIRC (haven't looked into this in a while but...) The reason these systems give you the distance as-the-crow-flies is because it calculates it from the differences in lat and long co-ordinates and with that in mind, if you want to find the nearest Tesco, it's relatively easy to calculate this for each option whereas to find the actual driving distance is much harder and could potentially take ages.
The first option (driving distance between 2 places) is reasonably easy using an API for one of the several services available to you.
The second option (finding your nearest [x] out of a long list) is more difficult - you could do it with some sort of API, but (again, IIRC) the API providers were charging quite a lot if you did more than a certain number of trips.
Hope this helps!
ETA: Once again, IIRC there's a formula you could use - a multiple if you will that'd approximately work out the driving distance based on an average around the UK, but I would have no idea as to what it is...or if I just dreamed that!
IIRC (haven't looked into this in a while but...) The reason these systems give you the distance as-the-crow-flies is because it calculates it from the differences in lat and long co-ordinates and with that in mind, if you want to find the nearest Tesco, it's relatively easy to calculate this for each option whereas to find the actual driving distance is much harder and could potentially take ages.
The first option (driving distance between 2 places) is reasonably easy using an API for one of the several services available to you.
The second option (finding your nearest [x] out of a long list) is more difficult - you could do it with some sort of API, but (again, IIRC) the API providers were charging quite a lot if you did more than a certain number of trips.
Hope this helps!
ETA: Once again, IIRC there's a formula you could use - a multiple if you will that'd approximately work out the driving distance based on an average around the UK, but I would have no idea as to what it is...or if I just dreamed that!

Edited by The Moose on Wednesday 21st August 14:29
Gazunder said:
The Moose said:
Just found some notes - The Google Directions API - you can do 2,500 requests per day.
Or if you pony up some cash, up to 100,000.
HTH
Hmmn. I need something cost effective in the millions of requests per day arena Or if you pony up some cash, up to 100,000.
HTH

Good luck - the processing power to do millions of requests per day will be rather large (depending on distances also). I'd suggest that this will be hard to find...
Gassing Station | Business | Top of Page | What's New | My Stuff


