I now have the Zip Radius search working just as I want it, but i wonder if an enhancement would be possible, and I would be willing to pay if it is possible. (For some reason I doubt it is possible though)
1. I would like the search result produced by Zip radius search to be displayed in order of distance from the searched zip code. For instance, if someone searched within 30 miles of a zip code, chances are, many listings in many different zip codes will show up, I would like them in order of closest to searched zip code.
2. Would it be at all possible to display how far in miles each result actually is from the searched zip code.
3. With UK Post code searching, the database is made up of just the firt part of each pot code (There are way too many UK post codes to have each full post code in the database). For example, My post code is PE37 7EU, whereas the post code in the database is just PE37. If one of my site users searches PE37 7EU, no results will show up because it is not exactly as in the database, is it possible to have a mod that allows someone to search a full post code like PE37 7EU and the search and database treat it as if they had only typed PE37.
.... With UK Post code searching, the database is made up of just the firt part of each pot code (There are way too many UK post codes to have each full post code in the database). For example, My post code is PE37 7EU, whereas the post code in the database is just PE37. If one of my site users searches PE37 7EU, no results will show up because it is not exactly as in the database, is it possible to have a mod that allows someone to search a full post code like PE37 7EU and the search and database treat it as if they had only typed PE37....
This did work for a time, but no longer seems to work. If someone searches PE37 the results are correct, however, if someone searches PE37 7EU it no longer works. It really needs to trim PE37 7EU to search PE37 as most people will enter a full post code.
In other words, if someone enters PE37 7EU or any other fll UK postcoode, it needs to search as if they just entered PE37.
Comments on Zip Radius Question
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
I now have the Zip Radius search working just as I want it, but i wonder if an enhancement would be possible, and I would be willing to pay if it is possible. (For some reason I doubt it is possible though)
1. I would like the search result produced by Zip radius search to be displayed in order of distance from the searched zip code. For instance, if someone searched within 30 miles of a zip code, chances are, many listings in many different zip codes will show up, I would like them in order of closest to searched zip code.
2. Would it be at all possible to display how far in miles each result actually is from the searched zip code.
3. With UK Post code searching, the database is made up of just the firt part of each pot code (There are way too many UK post codes to have each full post code in the database). For example, My post code is PE37 7EU, whereas the post code in the database is just PE37. If one of my site users searches PE37 7EU, no results will show up because it is not exactly as in the database, is it possible to have a mod that allows someone to search a full post code like PE37 7EU and the search and database treat it as if they had only typed PE37.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
1. I can't do it.
2. See #1.
3. Will set to trim that when the default country is the UK.
(There are way too many UK post codes to have each full post code in the database)
Canada has 800,000 but I'm adding those.
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
There are 2.1 million UK post codes. If I got a csv of these would it be possible or am I right in saying that is too many.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
My post code is PE37 7EU,
Small World! I'm just the other side of Downham Market to you! I was actually visiting somebody just down the road from you a couple of weeks ago.
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Blimey it is a small world, I live just off London street in Swaffham.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If it's a small world it shouldn't have so many postal codes.
There are 2.1 million UK post codes. If I got a csv of these would it be possible or am I right in saying that is too many.
Well, it's possible but it'd probably slow down queries noticeably. If the first half of the code is specific enough then it's better for performance.
Why is there a postal code for every 29 people anyhow? Might as well use a personal identification number if it's going to be that specific.
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
Almost every street has a separate post code, some streets extend to two post codes
Forum Regular
Usergroup: Customer
Joined: Nov 27, 2006
Total Topics: 187
Total Comments: 465
.... With UK Post code searching, the database is made up of just the firt part of each pot code (There are way too many UK post codes to have each full post code in the database). For example, My post code is PE37 7EU, whereas the post code in the database is just PE37. If one of my site users searches PE37 7EU, no results will show up because it is not exactly as in the database, is it possible to have a mod that allows someone to search a full post code like PE37 7EU and the search and database treat it as if they had only typed PE37....
This did work for a time, but no longer seems to work. If someone searches PE37 the results are correct, however, if someone searches PE37 7EU it no longer works. It really needs to trim PE37 7EU to search PE37 as most people will enter a full post code.
In other words, if someone enters PE37 7EU or any other fll UK postcoode, it needs to search as if they just entered PE37.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Stopped working when the countries had to be changed from numbers into literal strings a while back. Fixed.