Hi,
I am trying to get my head around implementing a placename
search i.e. rightmove.co.uk where a user types in a uk town name
and within X miles and it queries my properties database that
includes longitude and latitude for each property. (ASP.NET VB
script)
I have found the geonames websevice which appears to be
exactly what i am after:
http://ws.geonames.org/postalCodeSearch?placename=[placename
This returns me the long and lat of the chosen town. In
theory I should then be able to do an SQL query to display to just
show properties within a bounding box.
Has anyone succesfully done this here? as I am quite new to
this and don't really know where to start.
Should I have a search page with a textfield [placename] that
gets submitted through a session variable that directs to a results
page that queries the webservice???? I am confusing myself.!!!
As much info as poss would be a great help. thanks in
advance