Postcode Distance Calculator

ooh

Free Member
Mar 3, 2010
140
32
Google maps has the caperbility to do this. So look at that. They offer API's for it: http://code.google.com/apis/maps/

Also, and this isn't so useful/practical right now but is something to watch out for in the future, the government, towards the end of last year, said they were going to make Ordinance Survey's mapping data (and possibly postcode data, but not so sure about that) available digitally for free. When or if this'll happen, and to what extent it'll happen, as in how good a service will actually be available to developers/small businesses to use on their sites I'm not sure. Fingers crossed though. Ah, just having searched there's this: http://www.guardian.co.uk/technology/blog/2010/mar/17/ordnance-survey-consultation-ending . I couldn't be bothered to read it right now but looks like there's a bit development.
 
Last edited:
  • Like
Reactions: sanjiv
Upvote 0

sanjiv

Free Member
Feb 15, 2010
2,121
247
Thing is that I barely know JavaScript. Was wondering if there is anything out there already which is ready made or someone else has written their own. There is one I have found, based on Google maps, but doesn't work well.
 
Upvote 0

ooh

Free Member
Mar 3, 2010
140
32
Hmm, maybe time to learn JavaScript? If you know much of any programming language it really isn't that hard. I haven't used the Google Maps API myself though, so can't comment how hard or easy that part of it is. I don't think it'd be that hard. There's books on it even. Anyway, I don't know of any premade JS ones but I guess there must be some... maybe someone else knows.
 
Upvote 0

MartCactus

Free Member
Sep 25, 2007
983
214
London, England
Also, and this isn't so useful/practical right now but is something to watch out for in the future, the government, towards the end of last year, said they were going to make Ordinance Survey's mapping data (and possibly postcode data, but not so sure about that) available digitally for free. When or if this'll happen, and to what extent it'll happen, as in how good a service will actually be available to developers/small businesses to use on their sites I'm not sure. Fingers crossed though. Ah, just having searched there's this: http://www.guardian.co.uk/technology/blog/2010/mar/17/ordnance-survey-consultation-ending . I couldn't be bothered to read it right now but looks like there's a bit development.

Last thing I saw re the postcode data was that its not going to happen...

http://www.guardian.co.uk/technology/2010/jan/22/postcode-petition-fails-blocked-number-ten

which is a shame, because there is so many useful things that can be done with it.
 
Upvote 0
I

iboxsecurity

@Sanjiv - we created a couple of small apps that use the Google Maps API including just what you are after. Send me a pm or email and let me know the exact brief you are looking to get done and I will get back to you ASAP.
 
Upvote 0

KidsBeeHappy

Free Member
Oct 9, 2007
7,371
1,573
Sunny Troon
Upvote 0

Alex@PCA

Free Member
Mar 23, 2010
1
0
Hi,

Just to respond to the post regarding us at Postcode Anywhere, we have a service available that allows you to calculate road travelled distances. This is charged for on a pay-as-you-go type basis.

If you're still interested, feel free to check out the product on our website.

Thanks
Alex Schofield
Postcode Anywhere
 
Upvote 0
I found postcoder.tenfourzero.net (sorry, I can't post links yet) to be one of the best tools around.

You can search full postcodes accurate to within one metre and it's updated frequently.

There's free searches or premium searches, depending on what you're after.
 
  • Like
Reactions: sanjiv
Upvote 0

Mpg

Free Member
Aug 18, 2009
1,514
287
I just did a check and

Get your goods delivered for as little as:
£60 for a Small Van
£8.60 for a Transit Van
£10.30 for an XLWB Sprinter Van


PM if you want the postcodes i checked Look damn expensive for a small van:eek:.


Or its missing a decimal point:D

EDIT not the only one I'll PM the postcodes to you
 
Last edited:
  • Like
Reactions: sanjiv
Upvote 0

sanjiv

Free Member
Feb 15, 2010
2,121
247
It was because I was rounding to 1 decimal place and adding a 0 to the end. When there was an exact figure, it would add the 0 to the end anyway. Now I have done it so that it rounds to 1 decimal place and makes sure there is .00 on the end if it is an exact figure using:
PHP:
printf('%02.2f', round(($matches[1]*0.7),1));
 
Last edited:
Upvote 0

Latest Articles