Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Placename search - Webservice

Guest
Aug 30, 2006 Aug 30, 2006
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
TOPICS
Server side applications
191
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 30, 2006 Aug 30, 2006
LATEST
I have created a search page with the attached code that has a text box that when submitted displays the resulting xml page.. a start but not exactly what i want... any ideas?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines