Questions tagged [google-roads-api]

The Google Roads API identifies the roads a vehicle was traveling along and provides additional metadata about those roads, such as speed limits.

The Google Roads API allows you to map GPS coordinates to the geometry of the road, and to determine the speed limit along those road segments. The API is available via a simple HTTPS interface, and exposes the following services:

  • Snap to roads This service returns the best-fit road geometry for a given set of GPS coordinates.
  • Nearest roads This service returns individual road segments for a given set of GPS coordinates.
  • Speed limits This service returns the posted speed limit for a road segment.

The Roads API is also available with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services.

45 questions
0
votes
1 answer

Given a route how can we find the stating and ending GPS positions of it?

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…
Malintha
  • 419
  • 5
  • 13
0
votes
1 answer

iOS - Snap To Road API with more than 100 coordinates

I know how to use the snap to road API and parse the response, show it on the map etc.. However, the snap to road API has a limitation of 100 coordinates/request. Let's say I have an array of 100+ coordinates and want all of them to snap to the…
Balázs Vincze
  • 3,550
  • 5
  • 29
  • 60
0
votes
1 answer

how to use google road api with polyline

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>