public static interface GtfsRealtime.PositionOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.Position>
| Modifier and Type | Method and Description |
|---|---|
float |
getBearing()
Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East.
|
float |
getLatitude()
Degrees North, in the WGS-84 coordinate system.
|
float |
getLongitude()
Degrees East, in the WGS-84 coordinate system.
|
double |
getOdometer()
Odometer value, in meters.
|
float |
getSpeed()
Momentary speed measured by the vehicle, in meters per second.
|
boolean |
hasBearing()
Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East.
|
boolean |
hasLatitude()
Degrees North, in the WGS-84 coordinate system.
|
boolean |
hasLongitude()
Degrees East, in the WGS-84 coordinate system.
|
boolean |
hasOdometer()
Odometer value, in meters.
|
boolean |
hasSpeed()
Momentary speed measured by the vehicle, in meters per second.
|
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionboolean hasLatitude()
Degrees North, in the WGS-84 coordinate system.
required float latitude = 1;float getLatitude()
Degrees North, in the WGS-84 coordinate system.
required float latitude = 1;boolean hasLongitude()
Degrees East, in the WGS-84 coordinate system.
required float longitude = 2;float getLongitude()
Degrees East, in the WGS-84 coordinate system.
required float longitude = 2;boolean hasBearing()
Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. This can be the compass bearing, or the direction towards the next stop or intermediate location. This should not be direction deduced from the sequence of previous positions, which can be computed from previous data.
optional float bearing = 3;float getBearing()
Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East. This can be the compass bearing, or the direction towards the next stop or intermediate location. This should not be direction deduced from the sequence of previous positions, which can be computed from previous data.
optional float bearing = 3;boolean hasOdometer()
Odometer value, in meters.
optional double odometer = 4;double getOdometer()
Odometer value, in meters.
optional double odometer = 4;boolean hasSpeed()
Momentary speed measured by the vehicle, in meters per second.
optional float speed = 5;float getSpeed()
Momentary speed measured by the vehicle, in meters per second.
optional float speed = 5;Copyright © 2019. All rights reserved.