NVD

Geocode

X marks the spot.

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.

Applicable models #

  • NVD nvd-hap0j2y4zlm1

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 #

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 #

geocode {
  longitude: -6.28681087
  latitude: 53.3416138
}

Last updated 19 December 2023