Closed leonardehrenfried closed 3 years ago
Please a more detailed description here ;P
I've added a few mockups but we aren't sure what kind of data we will receive.
@the-infinity can you say anything about that?
You will get every information which is shown at your mockup - and even images from the chargestation, if you want.
Great. We're not sure if we need the photo but please add it to the API call (not the vector tiles) anyway.
For opening hours: can you output the OSM opening hours spec? https://wiki.openstreetmap.org/wiki/Key:opening_hours
This will be a bit complicated because we have exceptions. The source data model is like this: https://github.com/e-clearing-net/OCHP/blob/master/OCHP.md#hourstype-class (XML bug in example included :D )
Result is like this: https://github.com/ocpi/ocpi/blob/master/mod_locations.asciidoc#1414-hours-class .
I can try to create OSM based opening times, as far as I can see exceptions are not supported at OSM(?), and transforming is always a bit riscy.
Exceptions are supported. You can write something like this:
Mo-Su 08:00-18:00; Apr 10-15 off; Jun 08:00-14:00; Aug off; Dec 25 off
However our frontend parser would not understand that anyway so I would not spend too much time on it. An 80% solution is good enough.
Closed as it's superseded by #366.
We created a mockup a while ago, so we want to go into that direction but we are unsure which pieces of data we will receive from our data source.
Another source of inspiration is Chargemap: