On Jan 24, 6:43 pm, "[email protected]" <[email protected]> wrote: > On Jan 24, 6:22 pm, Danny <[email protected]> wrote: > > > xelawho wrote: > > > What I'm > > > >> missing is the ability to have the lines generated between two point > > >> follow the contour of the roads in between. > > > > ah. How about this then:http://econym.org.uk/gmap/snap.htm > > > That is the desired effect. What I need is a way to acquire either KML > > code or coordinates for a polyline like that where the start and end > > points are supplied either as an address or coordinate. From there, I > > can use the returned KML or coordinates to build a KML file to import > > into a My Map or Google Earth. > > You could modify that example to output kml, it might not be easy > depending on your skillset. > > I output a different format xml on this > page:http://www.geocodezip.com/example_geo2.asp > which might help get you there.
Here is the quick and dirty version: http://www.geocodezip.com/MW_example_snappathdrag2xml.html yields this: http://www.geocodezip.com/GenericMapBrowser.asp?filename=SnappedRoutes20110124.xml -- Larry > > > > > > Ideally, I'd like to end up with a PHP script that I can pass a csv file > > with lines such as: > > > Bassett St, 2600, 2799 > > Boston St, 2200, 3099 > > Central Ave, 1000, 1599 > > etc... > > > Of course, a common ZIP or city/state would be supplied and, as the file > > was iterated through, the lines would expanded to full addresses to be > > passed on to the geocoder for begin and end coords, such as: > > > Start: 2600 Bassett St. 23860 > > End: 2799 Bassett St. 23860 > > > Again, refer the example map I posted to see how the example addresses I > > give here should plot out. > > > -Danny- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
