NDD GeocodeGeocode
Overview
A geocode represents a geographic coordinate using longitude and latitude in decimal degrees. Geocodes are used to position locations on the road network and are also returned as route segments in the solution response.
Applicable models
- NDD
ndd-cmibu6krtqja
Geocode
Schema definition
message Geocode {
required float longitude = 1;
required float latitude = 2;
}Fields
- longitude
- The longitude of the coordinate in decimal degrees.
- latitude
- The latitude of the coordinate in decimal degrees.
Examples
A geocode for Dublin, Ireland:
longitude: -6.2603
latitude: 53.3498Notes
- Geocodes must correspond to positions on or near the road network. Coordinates that are too far from the road network may result in errors or unexpected routing behaviour.
- The API uses geocodes to generate distance and time matrices between locations on the road network.