-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPIC: As Open Data Hub manager I would like to integrate car pooling services in the v2 OTP instance #174
Comments
Open Topics:
|
Replies to open topics, relevant for @hbruch:
|
@hbruch @leonardehrenfried the Swagger of the Open Data Hub Mobility API, including description of the available fields and filtering options in the API calls, is available here: https://swagger.opendatahub.com/?url=https://mobility.api.opendatahub.com/v2/apispec#/Mobility%20V2 In case of need of further clarifications, please let us know |
When requesting only active CarpoolingTrips, I get two trips with {
"_timestamp": "2024-01-11 04:30:00.086+0000",
"tdescription": "itinerary_details",
"tmetadata": {},
"tname": "itinerary_details",
"ttype": "Instantaneous",
"tunit": "json",
"mperiod": 3600,
"mtransactiontime": "2024-01-04 04:40:07.072+0000",
"mvalidtime": "2024-01-11 04:30:00.086+0000",
"mvalue": {"status": "PUBLISHED", "end_post_code": "39021", "seats_reserved": 0, "start_post_code": "39100", "ride_distance_km": 56.9, "start_lat_approx": 46.49, "start_lon_approx": 11.36, "ride_start_at_UTC": "2024-01-10T16:30Z", "ride_created_at_UTC": "2024-01-03T22:01:18Z", "ride_duration_minutes": 54.0},
"prlineage": "UMMADUM",
"prname": "odh-mobility-dc-carpooling",
"prversion": "c50134a38601c73fa33d95533e1329792eafd065",
"sactive": true,
"savailable": true,
"scode": "cd2beb0dd88ead7a0e16bb41a2221d1d",
"scoordinate": {
"x": 11.36,
"y": 46.49,
"srid": 4326
},
"smetadata": {"end_lat_approx": 46.62, "end_lon_approx": 10.85, "start_lat_approx": 46.49, "start_lon_approx": 11.36},
"sname": "UMMADUM_1",
"sorigin": "UMMADUM",
"stype": "CarpoolingTrip"
} It seems that value has no UMMADUM specific ID, right? |
@hbruch Thank you for the info! Now I discovered an issue with the datacollector: when no trips are available, the old active ones don't get set to active = false and I will fix this issue asap |
@hbruch The issue is fixed now and now no carpooling trips show up anymore with active=true as expected. |
@hbruch two updates on my side:
|
The carpooling integration is now complete and the routes are visible on the new frontend The carpooling still doesn't show up as options when searching for a trip, but that is related to the frontend, since after a quick check in the code it seems that it doesn't support carpooling yet. @rcavaliere Should @hbruch still participate in the sprint meeting in friday? |
@dulvui looks promising! |
@rcavaliere I was able now to see a carpooling from CityClinic to Caldaro. |
Currently car pooling trips shared by ummadum (currently limited to South Tyrol) are available through the testing environment of the Open Data Hub through this API: https://mobility.api.opendatahub.testingmachine.eu/v2/flat,node/CarpoolingTrip/*/latest
The text was updated successfully, but these errors were encountered: