Re: Dealer locator

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22004
interpreted = N
texte = My first though would be to create a table, sort of like you see on road maps, where they have the cities listed against each other with the distances between, like so:City Dallas, TX Houston, TX Dallas, TX 0 350 Houston, TX 350 0You could create a database like this:HomeCity NearCity Distance Dallas Houston 350 Dallas San Antonio 300 Dallas Fort Worthetc., only including those cities that would fit the search parameters (i.e if your distance choices are 10, 50, 100, 200 miles, you don't need to include Anchorage, Alaska in the Dallas section)Then search on it like so:[search db=cities.db&eqHomeCitydata=[YourCity]&leDistancedata=[DistancefromYou]] [founditems] [search db=dealers.db&eqCitydata=[NearCity]] [founditems] [dealer], [city], [state], etc. [/founditems] [/search] [/founditems] [/search]The only downside I can see to this is the time for db creation, but the distance information is available for most major cities (and I'm sure you could find it for most cities, or possibly restrict them from choosing a city or town with no dealers in it, so they would just choose the nearest city with a dealer as their location).Hope this helps, Johnjosh@pop-art.com wrote: > > We have been asked to create a Dealer Locator system for a client. So > far there are approx. 6,000 dealers nationwide with many more to come. > > Has anyone done something similar? It would seem obvious that you could > simply enter a city/state, but that would eliminate nearby dealers if they > were across a boarder? > > Zip codes would seem logical if there was some sort of tabel that said wich > zip codes were near to each other, although this would not be that usefull > if you were dealing with a very wide area zip code. > > A map engine similar to Yahoo Maps would seem like the most sophisticated > way to compare addresses and then display all records within a 50 mile > radius. Are there any software packages that do this, obiviously WebCat > would not be able to do this on its own. > > If anyone has any suggestions or has done something similar we, would > appreciate the advice. > > Thanks, > > Josh > --------------------------------------------------------------------------- > Joshua Blank Pop Art LLC http://pop-art.com > josh@pop-art.com eCommerce / Web Design / Multimedia > > 7000 SW Hampton St. tel: (503) 968.5957 > Suite 124 fax: (503) 620.8487 > Portland, OR 97223-8361 Associated Messages, from the most recent to the oldest:

    
  1. Re: Dealer Locator ( "Olin Lagon" 2008)
  2. Re: Dealer Locator ( Stuart Tremain 2008)
  3. Re: Dealer Locator ( Clint Davis 2008)
  4. Re: Dealer Locator ( "Olin Lagon" 2008)
  5. Re: Dealer Locator ( John Hill 2008)
  6. Re: Dealer Locator ( Bob Minor 2008)
  7. Re: Dealer Locator ( Bob Minor 2008)
  8. Re: Dealer Locator ( Bob Minor 2008)
  9. Re: Dealer Locator ( Donovan Brooke 2008)
  10. Re: Dealer Locator ( Alex McCombie 2008)
  11. Re: Dealer Locator ( Bob Minor 2008)
  12. Dealer Locator ( Alex McCombie 2008)
  13. Dealer Locator (zip codes) ( David M. Dantowitz 2003)
  14. Re: Dealer Locator (zip codes) ( Clint Davis 2003)
  15. Re: Dealer Locator (zip codes) ( "Brian Boegershausen" 2003)
  16. Dealer Locator (zip codes) ( Clint Davis 2003)
  17. FYI: Store / Dealer locators & Location-based searches (David M. Dantowitz 2001)
  18. Re: Dealer locator (Karim Ardalan 1998)
  19. Re: Dealer locator (PCS Technical Support 1998)
  20. Re: Dealer locator (John W 1998)
  21. Re: Dealer locator (Kenneth Grome 1998)
  22. Dealer locator (josh@pop-art.com 1998)
My first though would be to create a table, sort of like you see on road maps, where they have the cities listed against each other with the distances between, like so:City Dallas, TX Houston, TX Dallas, TX 0 350 Houston, TX 350 0You could create a database like this:HomeCity NearCity Distance Dallas Houston 350 Dallas San Antonio 300 Dallas Fort Worthetc., only including those cities that would fit the search parameters (i.e if your distance choices are 10, 50, 100, 200 miles, you don't need to include Anchorage, Alaska in the Dallas section)Then search on it like so:[search db=cities.db&eqHomeCitydata=[YourCity]&leDistancedata=[DistancefromYou]] [founditems] [search db=dealers.db&eqCitydata=[NearCity]] [founditems] [dealer], [city], [state], etc. [/founditems] [/search] [/founditems] [/search]The only downside I can see to this is the time for db creation, but the distance information is available for most major cities (and I'm sure you could find it for most cities, or possibly restrict them from choosing a city or town with no dealers in it, so they would just choose the nearest city with a dealer as their location).Hope this helps, Johnjosh@pop-art.com wrote: > > We have been asked to create a Dealer Locator system for a client. So > far there are approx. 6,000 dealers nationwide with many more to come. > > Has anyone done something similar? It would seem obvious that you could > simply enter a city/state, but that would eliminate nearby dealers if they > were across a boarder? > > Zip codes would seem logical if there was some sort of tabel that said wich > zip codes were near to each other, although this would not be that usefull > if you were dealing with a very wide area zip code. > > A map engine similar to Yahoo Maps would seem like the most sophisticated > way to compare addresses and then display all records within a 50 mile > radius. Are there any software packages that do this, obiviously WebCat > would not be able to do this on its own. > > If anyone has any suggestions or has done something similar we, would > appreciate the advice. > > Thanks, > > Josh > --------------------------------------------------------------------------- > Joshua Blank Pop Art LLC http://pop-art.com > josh@pop-art.com eCommerce / Web Design / Multimedia > > 7000 SW Hampton St. tel: (503) 968.5957 > Suite 124 fax: (503) 620.8487 > Portland, OR 97223-8361 John W

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Web Developer Product Awards (1997) converting characters in form (1997) $append (1998) PCS Frames (1997) HELP!!! (1998) cookie length (1998) splitting numbers in webDNA? (1997) Monitoring Script (2008) Exclamation point (1997) [fileinfo . . .] (2000) Emailer choke (1997) MacAuthorize and WebMerchant (1997) [WebDNA] v7 thisurl has different behavour (2012) Navigator Parsing (1997) PCS Frames (1997) Location of Webcat site in folder hierarchy (1997) Multi-processor Mac info ... (1997) When are you gonna respond to my bug report? (2000) Field name-subcategory (1997) Setting up shop (1997)