SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Zip code/proximity/state relationship

    Hello all

    I soon will need the capability to search my DB for users within adjacent (or relatively close) zip codes. I've done some searching (and will keep doing so) but haven't found any good data source for this yet. I'm certain I can work all the logic, but I need the data that tells me what ZIP codes are in which states, and which Zip codes are in proximity with one another.

    Any clues? Sources? Experience?

    thanks.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  2. #2
    SitePoint Wizard Rick's Avatar
    Join Date
    Oct 2002
    Location
    Lancashire, UK
    Posts
    3,847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remember sketch telling me about a script he wrote that worked out the distance between s zip code and somewhere else (possibly another zip code or a pre-set location) this was based on a database, try asking him!

    Sorry Sketch if I am mistaken, I just remeber you telling me about it!

    Rick
    Rick

  3. #3
    SitePoint Guru enygmadae's Avatar
    Join Date
    Sep 2002
    Location
    Dallas, Tx.
    Posts
    795
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know there's some projects on freshmeat.net that have something like this in there - maybe you could go rip the code from one of them?

    http://www.freshmeat.net
    PHP News, Views and Community: http://www.phpdeveloper.org

  4. #4
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That was a project I was working on but it never developed.

    Sorry.

    Aaron
    Aaron Brazell
    Technosailor




Bookmarks

Posting Permissions

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