# Geocode

> X marks the spot.

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

## Overview

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

### Applicable models

* NS3 `ns3-tbfvuwtge2iq`

<hr>

## Geocode

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

### Schema definition 

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


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>

