Distance Time Matrix

Location

The locations for use in a matrix request

Overview #

A location provides a mechanism to specify a unique identifier for a position in a matrix calculation. The matrices are returned with respect to the location id’s which removes any ambiguity as to which locations a particular response element refers.

Applicable models #

  • Matrix matrix-vyv95n7wchpl

Matrix Request #

Schema definition #

message Location {
  required string id = 1;
  required Geocode geocode = 2;
}

Fields #

id
The unique identifier for this location. Much be unique within the matrix request object.
geocode
The geocode which defines the position of the location in decimal degree notation.

Examples #

id: "The Oval Bar Dublin"
geocode {
  longitude: -6.26029587
  latitude: 53.3484612
}

Last updated 28 April 2026