Search⌘ K
AI Features

Road Distance: Google Maps

Explore using the Google Maps API to calculate road distances and time-dependent travel durations for multiple routes. Understand how Google Maps data differs from OpenStreetMap and apply Python techniques to clean and organize distance data for effective route optimization.

We'll cover the following...

When developing a business application that requires hundreds of route requests, it’s advisable to use a commercial product like Google Maps. Similar to OSM in the prior lesson, we’ll query against a URL address to receive the distances. One of the main differences is the use of a paid Google Maps API key.

To get started, we first need to enable the API. Select your desired project in the GCP console to do this. If ...