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

Consider Indian Railways station data base as well during post-processing

parent 808f4331
......@@ -231,6 +231,9 @@ TrainStation ExtractorPostprocessorPrivate::processTrainStation(TrainStation sta
applyStationData(record, station);
const auto country = KnowledgeDb::countryIdForUicCode(id.midRef(4, 2).toUShort()).toString();
applyStationCountry(country, station);
} else if (id.startsWith(QLatin1String("ir:")) && id.size() > 4) {
const auto record = KnowledgeDb::stationForIndianRailwaysStationCode(id.mid(3));
applyStationData(record, station);
}
return processPlace(station);
......
Supports Markdown
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