Entur Developer
Open
GraphQL

Location

input

Input format for specifying a location through either a place reference (id), coordinates or both. If both place and coordinates are provided the place ref will be used if found, coordinates will only be used if place is not known. Alternatively, a serviceJourneyLocation can be used to start the search on-board a vehicle,or pinpoint a boarding on a specific dated service journey to start routing.

Fields

name·String

The name of the location. This is pass-through informationand is not used in routing.

place·String

The id of an element in the OTP model. Currently supports Quay, StopPlace, multimodal StopPlace, and GroupOfStopPlaces.

coordinates·InputCoordinates

Coordinates for the location. This can be used alone or as fallback if the place id is not found.

serviceJourneyLocation·ServiceJourneyLocationInput

Identifies a location on a specific transit trip. When set, the search starts from the specified vehicle,considered either to be starting on-board or boarding at the provided stop. In this case, the dateTime parameter of the request is ignored, as the time is resolved based on timetable data instead.

Did you find what you were looking for?