gis-tools-ts - v0.6.0
    Preparing search index...

    Class GTFSRealtimePosition

    A Position is a point on the Earth's surface.

    Index

    Constructors

    • Parameters

      • pbf: PbfReader

        The Protobuf object to read from

      • end: number

        The end position of the message in the buffer

      Returns GTFSRealtimePosition

    Properties

    bearing?: number

    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.

    latitude: number

    Degrees North, in the WGS-84 coordinate system.

    longitude: number

    Degrees East, in the WGS-84 coordinate system.

    odometer?: number

    Odometer value, in meters.

    speed?: number

    Momentary speed measured by the vehicle, in meters per second.