EPIC: As Open Data Hub manager I would like to integrate bike parking services in the v2 OTP instance
Opened this issue · 5 comments
Current end-point: https://mobility.api.opendatahub.com/v2/flat,node/BikeParking/*/latest
For this, I would need to refactor OTP a little bit to prepare for new importers being used. I suggest that I start with the refactoring soon, so when the time comes to actually implement, I don't have to wait for the code review of the refactoring.
@leonardehrenfried that's fine, but let us wait the meeting of Friday in order to discuss the development status and organize the next steps
@leonardehrenfried will estimate if we should convert the data in a standard format, i.e. https://docs.datex2.eu/downloads/parkinglight.html
The idea would be to get the data from the Open Data Hub API: general end-point: https://mobility.api.opendatahub.com/v2/flat,node
- Bike Parking: https://mobility.api.opendatahub.com/v2/flat,node/BikeParking/*/latest
- Bike Parking Bay: https://mobility.api.opendatahub.com/v2/flat,node/BikeParkingBay/*/latest
- Bike Parking Location: https://mobility.api.opendatahub.com/v2/flat,node/BikeParkingLocation/*/latest
- Off-street car Parking: https://mobility.api.opendatahub.com/v2/flat,node/ParkingStation/*/latest
- On-street car parking: https://mobility.api.opendatahub.com/v2/flat,node/ParkingSensor/*/latest
Swagger: https://swagger.opendatahub.com/?url=https://mobility.api.opendatahub.com/v2/apispec
I implemented the import of the parking data available at https://parking.otp.opendatahub.com/parking/all.json
If you want to see it in OTP, here is an example query: https://tinyurl.com/24vj5jvr
Lets talk on Wednesday about a standard way of getting other parking data into OTP.
Integration work completed, to be tested when we have a stable import of PT data and a new UI application