I have items in Sitecore, these items represent service centers. They have a lat/lon and they have an effective range, meaning a range in which they are able to provide a service. These ranges could be different. One service center has a 10 mile range, one has a 15 mile range, etc. These ranges could overlap. I need to run a search to find out which service center's range a certain point falls into.
Right now I am doing this in code after loading item by computing the user's distance from the service center and throwing out results that are out of range. I would like to offload this to Lucene. Perhaps through the use of computed fields where each service center item can store a value representing its range's circle and then the seach would test to see if the current lat/lon point is within that circle.
I have a general plan, but I can't put it all together. Thanks in advance to anyone who can point me in the right direction.