# Location

> The locations for use in a matrix request

Page: https://docs.icepack.ai/distance-matrix/location/

## 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](/distance-matrix/matrix-response/) element refers.

### Applicable models

* Matrix `matrix-vyv95n7wchpl`

<hr>

## Matrix Request

### Schema definition 

```protobuf
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](/distance-matrix/matrix-request/) object.

geocode
: The [geocode](/distance-matrix/geocode/) which defines the position of the location in decimal degree notation.


### Examples

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



<hr>

