Google Maps RouteBoxer in PHP
If you've used Google Maps API to plot a route, and then tried to find locations near that route, you'll likely have come across their RouteBoxer utility, included in the V3 utility library. Either that, or you're using a database with OpenGIS spatial capabilities, like PostgreSQL.
Essentially, RouteBoxer lays a grid over your route ...