Wednesday 20 May 2015

Can you make a travel region polygon with with Google Maps API?



I am working on a local design project and need to determine if someone is local to my area to allow them to participate. Local, as defined by the group, means that the person is within 2 hr driving time based on Google maps to 32 Vassar St., Cambridge, MA.


While I can figure out how to get travel times from point to point, I cannot seem to figure out if there is a way to create a polygon that displays the region which we consider local.


Any ideas on how to do this using Google tools?



Answer



Google's tools do not provide any way to do this kind of thing built in. While you might be able to do this by routing to a sufficient number of locations and checking the time, another tool that you might be interested in is Graphserver. GraphServer is a multimodal trip planner, which can take data from OpenStreetMap and other data sources. Some of the gallery images show growing shortest-path distance routing, and this is based on a similar metric.


The Google Group would be the appropriate place to discuss the possibilities of using this tool.


Note that this is not a pre-baked tool; it will likely require some investigation and work to get it to solve your problem, but the tool can be used to do it.



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...