# Geocode

> X marks the spot.

Page: https://docs.icepack.ai/isr/geocode/

## Overview

The term geocode is used to describe a pair of coordinates. In general, we mostly handle routing requests which are on the face of planet earth so we've biased the terminology used here in that direction.

> **Note:**
> In the context of the ISR model, we only currently support road network queries which means that the geocode here must be a longitude/latitude pair on the face of planet earth.



### Applicable models

* ISR `isr-z4foi53qznrv`

<hr>

## Geocode

A longitude/latitude pair for routing on the face of planet earth which are used to determine entry and exit points on the road network.

### Schema definition 

```protobuf
message Geocode {
  required float longitude = 1;   // X
  required float latitude = 2;    // Y
}
```



The longitude and latitude values should be provided in decimal degrees. The longitude corresponds to the x-axis and the latitude to the y-axis specified or user-defined surfaces. The longitude should be in the interval [-180,180] and the latitude [-90,90] excluding (0,0). Geocodes provided outside of this range will return in an error response returned by the API.

### Fields

longitude
: The horizontal decimal degrees.

latitude
: The vertical decimal degrees.

### Examples

```protobuf
geocode {
  longitude: -6.28681087
  latitude: 53.3416138
}
```



<hr>

