Maps#
Note
Viewing documentation for the current version v1beta1.
The required Protobuf definitions can be downloaded here:
MapService#
This service provides methods to query the MOIA map.
ListStoppableLocations#
rpc
ListStoppableLocations(ListStoppableLocationsRequest) returns (ListStoppableLocationsResponse)
List all stoppable locations at given coordinates.
Messages#
ListStoppableLocationsRequest#
Request to list stoppable locations at given coordinates.
Field |
Type |
Description |
|---|---|---|
|
The (customers) location where to pick up or drop off. |
|
|
double |
Radius in meters from the desired location. |
|
optional int32 |
The maximum number of locations to return (default 50). |
|
optional string |
A page token, received from a previous |
|
string |
Identifies the operating area and thus the region to be queried in the context of multi-tenancy. If left empty, the system will try to infer the region based on the desired location. |
ListStoppableLocationsResponse#
Response containing stoppable locations near given coordinates.
Field |
Type |
Description |
|---|---|---|
|
repeated StoppableLocation |
All suitable stoppable locations within the specified radius, sorted in ascending order by the distance to the desired location (as the crow flies). |
|
optional string |
A token, which can be sent as |
StaticLocation#
Static location characterized by geographic coordinates and heading.
Field |
Type |
Description |
|---|---|---|
|
double |
The latitude in degrees. [-90.0, +90.0]. Required |
|
double |
The longitude in degrees. [-180.0, +180.0]. Required |
|
optional double |
The horizontal direction of travel in degrees, measured clockwise from north. [0.0-360.0°, 0.0° = facing north, 180.0° = facing south] |
StoppableLocation#
Stoppable Location represents a location on the road where an AD vehicle can stop to pick up or drop off passengers.
Field |
Type |
Description |
|---|---|---|
|
Location of the vehicle on the street suitable for pickup/drop-off. |
|
|
double |
Distance from the desired location (as the crow flies). |
|
string |
Point-Of-Interest name or street address, e.g. Chase Center or 3 Warrior Way. |
|
The road category of the street segment where the stoppable location is located. |
|
|
bool |
Whether the street segment where the stoppable location is located is a one-way street. |
Enums#
RoadCategory#
RoadCategory divides road segments into four basic groups.
Name |
Number |
Description |
|---|---|---|
ROAD_CATEGORY_UNSPECIFIED |
0 |
a special value to indicate that a field is not set. |
ROAD_CATEGORY_HIGHWAY |
1 |
a major road with the maximum legal speed limit that runs between larger cities, states or countries. |
ROAD_CATEGORY_MAIN |
2 |
a major road with a faster speed limit that runs through urban areas or between cities. |
ROAD_CATEGORY_LOCAL_ACCESS |
3 |
a public road that runs through a city or neighborhood, or connects small towns with each other. |
ROAD_CATEGORY_RESIDENTIAL |
4 |
a public road that allows vehicular access to apartment buildings, businesses or public facilities alongside it. |
ROAD_CATEGORY_RESIDENTIAL_MINOR |
5 |
a public road that allows vehicular access to apartment buildings, businesses or public facilities alongside it (with lower volume and traffic movement). |