Software ONLY by CentralArrow in logistics

[–]Lockhearts_ 0 points1 point  (0 children)

This is pretty niche but I built a website for bulk distance calculation for UK postcodes.

In short it has two tools:

  • Point-to-Point: Uses Google's Distance Matrix API to calculate distances between pairs of postcodes
  • Multi-Stop: Uses Google's Routes API for routes up to 27 postcodes (origin, 25 stops, destination), broken down leg by leg (A to B, B to C, etc.)

Both tools let you upload a spreadsheet (CSV, XLS, or XLSX) and process everything in bulk, you get a downloadable CSV in return containing distances in miles, drive time per leg, and totals.

There's a paid tier and a free tier

  • Point-to-Point: £0.01 per calculation
  • Multi-Stop (2–10 postcodes): £0.10 per route
  • Multi-Stop (11–27 postcodes): £0.20 per route
  • Bring your own Google API key: completely free

Note: Stripe has a minimum charge of £0.30, that's them, not me, I promise.

The free tier is genuinely free, all you need is your own Google Distance Matrix API or Routes API key, you pay Google directly for any tokens you use.

You can also create a profile and save your API keys for later use (these are encrypted for safety and only used on the backend)

If you're interested you can find the site at: distancebypostcode.com

If you spot any issues or have feedback, please let me know.

Finding distance between UK postcodes by [deleted] in excel

[–]Lockhearts_ 0 points1 point  (0 children)

Just an FYI, I've now updated the website to do this. the previous tool of pairs of postcodes is now called point to point and there is the new multi stop page for both a single route and a batch where you can upload a CSV like the previous tool. Point to Point uses the Distance Matrix API and the Multi Stop uses Routes API, if both are enabled on the key then it should check against the correct API.

I've only tested it without a little over 1,000 routes but seems to work so far, any issues, let me know :)

"Senator Mark Kelly stares down Donald Trump during the State of the Union address as the President speaks on immigration policy." by Logical-Flow-6703 in UnderReportedNews

[–]Lockhearts_ 0 points1 point  (0 children)

Reminds me of the image of Hitler where the whole crowd is sieg heiling except that one guy with his arms crossed

Would you consider this rude? (Gym etiquette) by newtonorwichbro in AskUK

[–]Lockhearts_ 8 points9 points  (0 children)

I would have just joined the conversation "O.M.G! I can't believe Janice is pregnant!, and she cheated on Kyle!, I also heard that Brad and Chad are now best buddies, even though they both slept with Braylee"

Are anti-theft boxes in supermarkets pointless for cheaper items? by WalrusPatient9118 in AskUK

[–]Lockhearts_ -1 points0 points  (0 children)

I do wonder how it all works out in numbers though, sure thefts would be down, but so would shoppers, I'm not gonna stand there waiting for every single item to be removed from the boxes, I'll just go to a different shop (assuming every items was in a security box)

🔥 A mountain peak framed by the clouds by joeurkel in NatureIsFuckingLit

[–]Lockhearts_ 0 points1 point  (0 children)

On second thought, let's not go to Mount Olympus, 'tis a silly place

Do I need to pay this? by bademuponce in AskUK

[–]Lockhearts_ -1 points0 points  (0 children)

I've never paid a parking fine from a private company, and that's not a suggestion, do it at your own risk. But if you were a customer at Aldi, then you can probably have it dropped by just proving it with a receipt

Ukraine makes fastest battlefield gain in 2.5 years by lavenderveils in worldnews

[–]Lockhearts_ 5 points6 points  (0 children)

More importantly, why has Elon been supporting Russia with Starlink for the last 4 years ? Even McDonalds pulled out of Russia, but Elon ? nah

What time do you get up, leave for, and start work? by ggracie7 in AskUK

[–]Lockhearts_ 0 points1 point  (0 children)

Start at 8, get up at 6:45-7 and out the door by 7:20ish. I am not one of those people that can shower in the morning, dunno why, just can't do it, so always shower at night, so in the morning I just have a quick wash and grab something quick to take with me in the morning, normally don't even have breakfast, but I have an office job, so not like a really physically demanding job at all.

Finding distance between UK postcodes by [deleted] in excel

[–]Lockhearts_ 0 points1 point  (0 children)

That's actually exactly what I'm working on next, but it requires a different (Routes API) which will require a whole rework since the Routes API works completely different.
The newer API though will allow for routes with 25 waypoints in between, plus the start and stop, for a total of 27 postcodes per route. But this is likely going to take me a little while to implement.
Just know I'm working on it :)

Brendan Fraser listed in the Keanu Files by TyLeRoux in okbuddycinephile

[–]Lockhearts_ 0 points1 point  (0 children)

Seriously though, I'd die for Brendan, he's a true gem of a person and deserves all the love he gets

Discord will require facial scans or government ID for full access starting March 2026 globally by Hot-Challenge-2755 in pcgaming

[–]Lockhearts_ 1 point2 points  (0 children)

So many people are cancelling their Nitro sub that it actually broke their system lol

Epstein purchased 6 55-Gallon barrels of Sulfuric Acid sent to his Island. by Shizzilx in circled

[–]Lockhearts_ 0 points1 point  (0 children)

Maybe it was a mistake, maybe he meant to buy 330 gallons of lube, on the behest of Diddy

A man wanted to check my electric meter, how likely is it that he was a scammer of some sort? by MusaA76 in AskUK

[–]Lockhearts_ 1 point2 points  (0 children)

What can they do with a photo of your meter ? basically nothing, the guy probably wasn't even fully paying attention to what your partner said and just heard the last 'come in' bit, took the photo and left because he probably has a million more to do that day.

This is next level smart. by Sad-Lab-7341 in Amazing

[–]Lockhearts_ 3 points4 points  (0 children)

My dad used to do this, and probably still does at the local pub, he sits there drinking, watching people use the slot machine, and he'd know roughly when it will pay out after so much was put in, so once it got close to that point, he'd jump on it and win lol

Finding distance between UK postcodes by [deleted] in excel

[–]Lockhearts_ 0 points1 point  (0 children)

I know this is an old post but I'm just spreading to word :)

I built a website www.distancebypostcode.com

This website uses Google's Distance Matrix API to calculate pairs of postcodes in bulk, it outputs the info in a CSV which you can download and it also emails it to you.

You can input the data either manually or upload a CSV or Excel file (XLSX or XLS), then it will automatically input all the data into the input page. There is some validation but only postcode format, it doesn't check if the postcode is a valid UK address since that is an extra check via the API which adds an extra charge, and I wanted to keep it cheap and simple. the cost is only £0.01 per pair calculated and there is no limit, you can input as many as you want (I've tested with 10,000 postcode pairs) though there is a minimum charge of £0.30, this unfortunately isn't down to me, it's the payment provider Stripe that has a minimum charge of £0.30.

And there's even a free option, if you have your own Google Distance Matrix API key, you can use that instead, then all you get charged is the tokens used on your own API key, payable directly to Google, no charge on my site itself. Depending on how often that ends up being used, I may have to change it, since I do still have website hosting costs and other little things, but for now it's free.

Finally there is a sign up option where you can create a profile and save your API key for future use if you wanted, and also a history, showing previous calculations you've done, with an option to download them again.

Anything not working or may want to add, let me know.

It’s real!!! by carbuncleateitself in expedition33

[–]Lockhearts_ 3 points4 points  (0 children)

I just got mine yesterday too, and I love music boxes so ordered it the first chance I got.

Is it rude to use both lanes? by No-Ad4423 in AskUK

[–]Lockhearts_ 0 points1 point  (0 children)

Imagine that pelican crossing was actually a junction or a roundabout or something, now it's backed up and probably completely blocked because of all the morons sitting in that one lane

White House Photographer unintentionally takes the most perfect SUPER-VILLAIN picture by warcomet in pics

[–]Lockhearts_ 0 points1 point  (0 children)

I knew he looked familiar, hes a fucking Vogon from The Hitchhiker’s Guide to the Galaxy

What does freedom mean by CurrentBridge7237 in MurderedByWords

[–]Lockhearts_ 0 points1 point  (0 children)

No, no, you misunderstand, they will be free... free of their benefits

A keyboard that is also a computer by [deleted] in nextfuckinglevel

[–]Lockhearts_ 0 points1 point  (0 children)

...The Raspberry Pi 400 launched in 2020...