Commit 16723486 authored by Volker Krause's avatar Volker Krause
Browse files

Parse GBFS station address properties

parent 720c8e8c
......@@ -112,6 +112,8 @@ static void appendResults(const GBFSService &service, const LocationRequest &req
loc.setName(station.value(QLatin1String("name")).toString());
const auto stationId = stationIdToString(station.value(QLatin1String("station_id")));
loc.setIdentifier(service.systemId, stationId);
loc.setStreetAddress(station.value(QLatin1String("address")).toString());
loc.setPostalCode(station.value(QLatin1String("post_code")).toString());
// TODO cover more properties
RentalVehicleStation s;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment