Open rcavaliere opened 5 months ago
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
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.
Current end-point: https://mobility.api.opendatahub.com/v2/flat,node/BikeParking/*/latest