Reputation: 421
I need to find out the starting and ending GPS location of a given road using Google APIs. For example, how can we find out the starting and ending GPS locations of A1 Colombo-Kandy highway in Sri Lanka?
I have gone through Google Roads APIs [1] but could not find a way to get that information.
[1] https://developers.google.com/maps/documentation/roads/intro
Upvotes: 0
Views: 175
Reputation: 17594
At the time being, Google Roads API doesn't have the feature of returning a polyline, nor a set of start and end coordinates for a given road.
Just because the Roads API doesn't support this feature now, it doesn't mean this is the end of the road for you (get my pun? :D )
You can still create a Feature Request in Google's external tracker:
https://code.google.com/p/gmaps-api-issues/
Once there all you need to do is:
And it will become public, for everyone to see, including Google and its engineers !
Hope I helped !
Upvotes: 1