Skip to content

Commit ea1d185

Browse files
authored
Merge pull request #762 from populus-ai/trips-definition
Define a "trip" for the purposes of analyses
2 parents 570245d + f4f2adb commit ea1d185

2 files changed

Lines changed: 24 additions & 4 deletions

File tree

general-information.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This document contains specifications that are shared between the various MDS [A
2222
- [GBFS Compatibility](#gbfs-compatibility)
2323
- [Timestamps](#timestamps)
2424
- [UUIDs](#uuids)
25+
- [Trips](#trips)
2526
- [Vehicle Characteristics](#vehicle-characteristics)
2627
- [Accessibility Options](#accessibility-options)
2728
- [Propulsion Types](#propulsion-types)
@@ -144,9 +145,9 @@ For the purposes of this specification, the intersection of two geographic datat
144145

145146
## Geography-Driven Events
146147

147-
**[Beta feature](/general-information.md#beta-features):** *Yes (as of 1.1.0)*. [Leave feedback](https://github.com/openmobilityfoundation/mobility-data-specification/issues/670)
148+
**[Beta feature](/general-information.md#beta-features):** *Yes (as of 1.1.0)*. [Leave feedback](https://github.com/openmobilityfoundation/mobility-data-specification/issues/670)
148149

149-
Geography-Driven Events (GDE) is a new MDS feature for Agencies to perform complete Policy compliance monitoring without precise location data. Geography-Driven Events describe individual vehicles in realtime – not just aggregate data. However, rather than receiving the exact location of a vehicle, Agencies receive information about the vehicle's current geographic region. The regions used for Geography-Driven Events correspond to the Geographies in an Agency's current Policy. In this way, the data-shared using Geography-Driven Events is matched to an Agency's particular regulatory needs.
150+
Geography-Driven Events (GDE) is a new MDS feature for Agencies to perform complete Policy compliance monitoring without precise location data. Geography-Driven Events describe individual vehicles in realtime – not just aggregate data. However, rather than receiving the exact location of a vehicle, Agencies receive information about the vehicle's current geographic region. The regions used for Geography-Driven Events correspond to the Geographies in an Agency's current Policy. In this way, the data-shared using Geography-Driven Events is matched to an Agency's particular regulatory needs.
150151

151152
See [this example](/policy/examples/requirements.md#geography-driven-events) for how to implement GDE using [Policy Requirements](/policy#requirement).
152153

@@ -164,7 +165,7 @@ Here's how it works in practice:
164165

165166
*Agency adds rule disallowing parking on waterfront path, begins receiving data on events within area.*
166167

167-
Agencies that wish to use Geography-Driven Events do so by requiring a new `event_geographies` field in status events. When an Agency is using Geography-Driven Events, Providers must emit a new `changed_geographies` status event whenever a vehicle in a trip enters or leaves a Geography managed by a Policy.
168+
Agencies that wish to use Geography-Driven Events do so by requiring a new `event_geographies` field in status events. When an Agency is using Geography-Driven Events, Providers must emit a new `changed_geographies` status event whenever a vehicle in a trip enters or leaves a Geography managed by a Policy.
168169

169170
During the Beta period for this feature, location and telemetry data remain required fields. This allows Agencies to test Geography-Driven Events, measuring its accuracy and efficacy against regulatory systems based on precise location data. After the beta period, if Geography-Driven Events is deemed by the OMF to be accurate and effective, the specification will evolve to allow cities to use Geography-Driven Events in lieu of location or telemetry data.
170171

@@ -283,6 +284,23 @@ MDS uses Version 1 UUIDs by default. Version 4 UUIDs may be used where noted.
283284

284285
[Top][toc]
285286

287+
## Trips
288+
289+
Counting trips is a common analysis with MDS data, but in some instances when
290+
a user rents a vehicle the rental may end up being very short because the
291+
vehicle is unusable or because the customer changes their mind.
292+
To facilitate a common definition of trips for analysis, MDS defines a trip
293+
as a user taking control of a vehicle for 60 seconds or more.
294+
If a user reserves a vehicle and cancels before taking control of the vehicle
295+
that reservation does not count as a trip, nor does a user taking control of
296+
the vehicle and canceling or ending the trip in under 60 seconds.
297+
298+
Providers are still expected to report all trips and trip related events in
299+
all MDS endpoints, but parties may use this definition as a shared reference
300+
at the recommendation of the MDS community when analysing trips.
301+
302+
[Top][toc]
303+
286304
## Vehicle States
287305

288306
See new location within [vehicle states](/modes/vehicle_states.md) in [modes](/modes#vehicle-states).

provider/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ For Timestamps, Vehicle Types, Propulsion Types, UUIDs, Costs, and Currencies, r
147147

148148
## Trips
149149

150-
A trip represents a journey taken by a *mobility as a service* customer with a geo-tagged start and stop point.
150+
A [trip][trips-general-info] represents a journey taken by a *mobility as a service* customer with
151+
a geo-tagged start and stop point.
151152

152153
The trips endpoint allows a user to query historical trip data.
153154

@@ -635,6 +636,7 @@ In addition to the standard [Provider payload wrapper](#response-format), respon
635636
[stops-schema]: stops.json
636637
[toc]: #table-of-contents
637638
[trips]: #trips
639+
[trips-general-info]: /general-information.md#stop-based-geographic-data
638640
[trips-schema]: trips.json
639641
[ts]: /general-information.md#timestamps
640642
[vehicles]: #vehicles

0 commit comments

Comments
 (0)