We currently have a program that returns a locations latitude and longitude. Searching the web I've located an RPG program that calculates the distance between 2 locations however it gives me the miles using a straight line. When I search Google maps it shows me the distance in miles using the shortest route but it is more than my calculated route as Google maps uses roads instead of a straight line. Is there a way in RPG/ILE to retrieve Google distances like we currently do for the latitude and longitude? We are on V7r1. We need more accurate distance calcs for transportation costs. Thank you in advance.