zip code/location implementation
Moderator: General Moderators
zip code/location implementation
hello,
i am building a php based site and need to have search based on zip code and locations. what is the best possible solution for doing this?
i want to do searches like search within XX miles of zip code xxxxx
please help
thank you
i am building a php based site and need to have search based on zip code and locations. what is the best possible solution for doing this?
i want to do searches like search within XX miles of zip code xxxxx
please help
thank you
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
There is a limit of 50,000 geocode requests per day per Maps
There is a limit of 50,000 geocode requests per day per Maps API key.
we expect our site to be very high traffic and 50,000 will be exhausted pretty fast. any other suggestions you guys may have or is there a way to go around this issue? please help
i also wanted to clarify that i only want to implement search based on location like myspace.com or ebay.com where people can search for products and users within a certain area based on zip code
please help
thank you
we expect our site to be very high traffic and 50,000 will be exhausted pretty fast. any other suggestions you guys may have or is there a way to go around this issue? please help
i also wanted to clarify that i only want to implement search based on location like myspace.com or ebay.com where people can search for products and users within a certain area based on zip code
please help
thank you
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
First of all, it's not a hard limit, it's a request rate of 50,000 requests per day. that works out to about 1 request every 2 seconds.
Second of all, it's not a limit per se, they just ask you to notify them of the traffic hit if you plan to exceed that rate.
Finally, (and most importantly!) I highly doubt you'll need more than 50,000 requests per day. Why would you need to geocode that many points every day? I would have to guess it's because you're not caching them locally, which would preclude your "proximity" search entirely. It would also make your service hella slow.
Also, check out the Google Maps API documentation - I'm fairly certain they've exposed "local search" as an API.
Anywho, build it first. Worry about being too successful later.
Second of all, it's not a limit per se, they just ask you to notify them of the traffic hit if you plan to exceed that rate.
Finally, (and most importantly!) I highly doubt you'll need more than 50,000 requests per day. Why would you need to geocode that many points every day? I would have to guess it's because you're not caching them locally, which would preclude your "proximity" search entirely. It would also make your service hella slow.
Also, check out the Google Maps API documentation - I'm fairly certain they've exposed "local search" as an API.
Anywho, build it first. Worry about being too successful later.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA