dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to set up a search by geographical location?

  1. #1
    Join Date
    Dec 2009
    Location
    West-Central, MN
    Posts
    41

    How to set up a search by geographical location?

    Hi all.

    I have an idea for a web site that will require allowing the user to search for people in a list I have compiled.

    I need to allow the search to be location-based, in that the user can specify "within 50 miles from my zip code", etc. I did some preliminary Googling on geo-based searches, but I can't find anything that helping me.

    I'd appreciate it if someone could point me in the right direction in regards to how to set up a location-based search.

    Thanks for your help!

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,639
    You probably want to look for a zip code database that includes the geo coordinates, and then you probably want to look at some geospatial extension for whatever DBMS you want to use, e.g.: http://dev.mysql.com/doc/refman/5.0/...xtensions.html .
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Dec 2009
    Location
    West-Central, MN
    Posts
    41
    Okay, great - that should give me something to start with.

    Thanks!

    Of course, if there are any other suggestions, please feel free to add!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles