Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7613863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:15:26+00:00 2026-05-31T02:15:26+00:00

I have a database of events (in the UK) and their postcodes (zip codes).

  • 0

I have a database of events (in the UK) and their postcodes (zip codes).

The user will enter their postcode into the webpage and hit enter, some awesome algorithm/system will subsequently return a list of events within x miles driving distance of the user’s postcode.

Is this possible in real-time?

The solutions I’ve considered are:

  • Caching all distances between postcode areas (4100 of them) and using that. Imperfect because postcode areas are a few miles square, but OK for now. The biggest issue is that I’d need approx 8403000 journey distances, and Google Maps has usage restrictions and Map Quest’s API is slow, imperfect for looking up postcodes, and I don’t want to perform a DOS attack on it.

  • Caching all distances between event postcodes and my list of postcode areas. Still imperfect because there will be 1000s of events and it will take too long to look up distances when adding an event.

  • Limit the amount of journey caching to postcodes within 100 or 200 miles as the crow flies. I’ve not investigated this, but given the size of the UK it could cut down the total number of journey’s required per event by 1/2 or even 2/3… which is better, but will still take too long to lookup when adding an event.

  • Store some sort of graph of postcode locations with journey distances to next postcode area, and use something like A* to search on the fly for close postcodes. The problem with this is that I don’t have the time/availability to implement and host a system like this.

Are there better solutions? Have I missed something obvious?

EDIT: MapQuest appears to support driving distance search using custom POI data sets.

Not a duplicate of proximity search as I want driving distance proximity, not latitude/longitude proximity.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:15:27+00:00Added an answer on May 31, 2026 at 2:15 am

    As I’ve added in as an edit:

    MapQuest appears to support driving distance search using custom POI data sets.

    Unfortunately, as was bound to happen, due to the data limits on MapQuest the customer has decided to use a less interesting solution!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have table with some events and their dates in a mysql database and
I have a mysql database table that will store locations for buildings and events
I have got some dates for some events and their ascending order from the
I have a database table of events. Each event has a category and a
I have an events log database. I need to limit the size of SQL
I have database application, I want to allow the user to restore the deleted
I am working on an application for an organization. Here i have some events
I have a database full of users and each user has timestamps for a
I have a website (ASP.net MVC2) where a database stores data/times of events. I
We have several events that should trigger a notification to the user. Everytime someone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.