-
Notifications
You must be signed in to change notification settings - Fork 2
opendata swiss mapping #99
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
Conversation
docs/mapping/opendata_swiss.md
Outdated
| | Field | Type | Cardinality | Mapping | Comment | | ||
| |-----------------|---------|-------------|-------------------------|---------------------------------------------------| | ||
| | City | string | 1 | location.city | | | ||
| | Country | string | 1 | location.country | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to map only EVSEDataRecord with Country = CHE/DEU/AUT/LIE
docs/mapping/opendata_swiss.md
Outdated
| | ParkingSpot | string | ? | evse.physical_reference | | | ||
| | PostalCode | string | 1 | location.postal_code | | | ||
| | Region | string | ? | | | | ||
| | Street | string | 1 | location.address | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment: often includes house number
docs/mapping/opendata_swiss.md
Outdated
| | PostalCode | string | 1 | location.postal_code | | | ||
| | Region | string | ? | | | | ||
| | Street | string | 1 | location.address | | | ||
| | TimeZone | string | ? | location.time_zone | defaults to Europe/Zurich | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should depend on Country. E.g., Europe/Berlin for DEU.
docs/mapping/opendata_swiss.md
Outdated
| | Floor | string | ? | | evse.floor_level | | ||
| | HouseNum | string | 1 | location.address | Added to Street. Might be '0', then it's ignored. | | ||
| | ParkingFacility | boolean | ? | | | | ||
| | ParkingSpot | string | ? | evse.physical_reference | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is always null and can be ignored
docs/mapping/opendata_swiss.md
Outdated
| | Country | string | 1 | location.country | | | ||
| | Floor | string | ? | | evse.floor_level | | ||
| | HouseNum | string | 1 | location.address | Added to Street. Might be '0', then it's ignored. | | ||
| | ParkingFacility | boolean | ? | | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be null, true or false.
suggestion: map true to PARKING_LOT since Accessibility" is "Free publicly accessible" in this case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be null, true or false.
That's what the type boolean and the cardinality ? means: it's boolean (true, false), but optional, so it can be null, too.
map true to PARKING_LOT since Accessibility" is "Free publicly accessible" in this case
PARKING_LOT is a value which makes not much sense in OCPI in my opinion: I mean, what's the meaning of that? A charging station without a place to park at? The facility enum is rarely used in general, because adding this data is just a lot of work, and you can just make a radius search to get much better data.
| | PnC | | | ||
|
|
||
|
|
||
| ### DynamicInfoAvailable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For each EvseID the dynamic endpoint contains an EVSEStatus, so DynamicInfoAvailable can be ignored and EVSEStatus shall be evaluated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is, there is no mapping set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, in
ocpdb/docs/mapping/opendata_swiss.md
Line 221 in 9cec18d
docs/mapping/opendata_swiss.md
Outdated
| | EnvironmentalImpact | ? | ? | | Always null | | ||
| | EvseID | string | 1 | evse.evse_id | | | ||
| | GeoChargingPointEntrance | object | 1 | | Either {} or {"Google": "None None"}, both not useful | | ||
| | GeoCoordinates | [GeoCoordinates](#GeoCoordinates) | 1 | | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GeoCoordinates section is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes, one of these "why the hell did you do this" fields :D
docs/mapping/opendata_swiss.md
Outdated
| | HardwareManufacturer | string | ? | | | | ||
| | HotlinePhoneNumber | string | 1 | | | | ||
| | HubOperatorID | string | ? | | | | ||
| | IsHubjectCompatible | string or boolean | 1 | 1 | String is `false` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does Mapping 1 mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy paste fail from cardinality
| @@ -0,0 +1,215 @@ | |||
| # OpenData Swiss mapping | |||
|
|
|||
|
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mention that different charging points with same geo coordinates shall always be mapped to one charging station.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might sometimes lead to unexpected results, eg if when there are different opening times, but we have to choose one for the location. But I do see the point why this makes sense, so I would just warn about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -0,0 +1,215 @@ | |||
| # OpenData Swiss mapping | |||
|
|
|||
|
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs/mapping/opendata_swiss.md
Outdated
| | ChargingPoolID | ? | ? | | Always null | | ||
| | ChargingStationId | string | 1 | evse.uid | | | ||
| | ChargingStationLocationReference | ? | ? | | Always null | | ||
| | ChargingStationNames | [ChargingStationName](#ChargingStationName) | * | location.directions | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | PnC | | | ||
|
|
||
|
|
||
| ### DynamicInfoAvailable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, in
ocpdb/docs/mapping/opendata_swiss.md
Line 221 in 9cec18d
docs/mapping/opendata_swiss.md
Outdated
|
|
||
| | Field | Type | Cardinality | Mapping | Comment | | ||
| |------------------|------------------|-------------|---------|---------| | ||
| | EVSEStatusRecord | EVSEStatusRecord | * | | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ThorstenFroehlinghaus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one typo
docs/mapping/opendata_swiss.md
Outdated
| | Test Station | | | ||
| | Restricted access | | | ||
| | Paying publicly accessible | | | ||
| | Key | Mapping | Commend | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment


First OpenData Swiss mapping