Hi,

   Have a look at some of the Post Office "Address Products":

http://postcode.royalmail.com/portal/rm/jump1?catId=400120&mediaId=400084 <http://postcode.royalmail.com/portal/rm/jump1?catId=400120&mediaId=400084>

The "Post Town Gazetter" looks promising. You may be able to hook into the Google API with this, or similar to get Long & Latitude:

   http://developer.yahoo.com/maps/rest/V1/geocode.html

http://jamesewelch.wordpress.com/2007/10/05/how-to-convert-a-street-address-to-longitude-and-latitude-geocoding-via-web-services/ <http://jamesewelch.wordpress.com/2007/10/05/how-to-convert-a-street-address-to-longitude-and-latitude-geocoding-via-web-services/>

   HTH

Glen

Paul Steven wrote:
I am creating a UK based estate agent site and would like to implement a 
proximity search function.

i.e the user would type in the area that they are looking for a house as well 
as a search radius and the site would display a list of all matching houses for 
sale in this area.

I am assuming I will need a list of every town, village and city in the UK with 
their associated longitude and latitude however I am really struggling to find 
one. Can anyone suggest where I can find such a list. I don't mind paying for 
one assuming I don't have to sell my house to do so.

If I can get this list, then my theory is to use pythagoras theorem to work out 
which properties are within the specified radius. Not sure how practical this 
will be.

So if anyone has created similar functionality I would really appreciate some 
tips.

Thanks in advance

Paul


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to