I did this with an adaptation of Marcelo's code: http://maps.forum.nu/gm_driving_radius.html
I made the script return a pretty accurate set of points within the limit of my algorithm based on both distance and time. You can see the results at: http://www.healthypetmobilevet.com/area.shtml If you want to see my adaptation of Marcelo's script, send a "reply to author." You'll have to edit the script to make it work for what you want to do, but it is possible. Just keep this in mind--when I did a really accurate set of points it only took a few tries to exceed Google's limit. Also, it can take a little while to get the polygon. Make sure you've got it right before you start running the requests. When I did it, I actually made the polygons using OpenJUMP (which is a free GIS program) based on teh points output be the script, then converted to KML from Shapefile. You might be able to do this better than I did, but to get an accurate polygon you'll need a lot of requests. If you have a lot of regions to create it will take a long time, since you'll have to spread it over multiple days. However, you may be able to improve it by narrowing the search region. Instead of searching in a circle from each point, you just search a region that overlaps based on distance. In other words, do what you've already done to limit your search space. Let me know if you want to see my script. -Brian On May 19, 11:27 pm, "[email protected]" <[email protected]> wrote: > On May 19, 12:22 pm, "[email protected]" <[email protected]> > wrote: > > > > > I'm trying to solve a problem and I have a crude solution already. I > > have started a hackerspace and we are looking for the best location to > > rent our actual space. So I have plotted all the current members and I > > am using a polygon in the shape of a circle to plot a radius of 20 or > > 25 miles depending on how far the member is willing to travel to the > > place. > > > These polygons overlap and cause the overlaping sections to be darker. > > The darker the section the more likely it is that everyone will be > > happy with the location we select. > > > The problem is 20 miles radius from any point is not the same as > > driving 20 miles. > > > So how can I select the point on the map and then get all the points > > in a 360 degree radius which is 20 driving miles from that point. This > > would result in a much more interesting polygon and also be a more > > accurate representation of what I am after. > > > Anyone care to help solve this problem? > > I think marcelo already did, see this > thread:http://groups.google.com/group/Google-Maps-API/browse_frm/thread/f653... > > -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
