- 28 May, 2022 1 commit
-
-
Volker Krause authored
Fails to build with Qt6 otherwise.
-
- 21 Apr, 2022 1 commit
-
-
Volker Krause authored
-
- 06 Mar, 2022 1 commit
-
-
Volker Krause authored
-
- 18 Nov, 2021 1 commit
-
-
Volker Krause authored
This removes a lot of now obsolete timezone and country lookup code and data tables.
-
- 19 Oct, 2021 1 commit
-
-
Volker Krause authored
This duplicates a bit of code we can remove again once we depend unconditionally on KF 5.88. Doing this now already however allows for an easy side-by-side comparison of the results. There are minor changes in places with ambiguous timezones, and since country lookup is no longer tied to timezones, we now also get proper results for Thailand and northern Vietnam.
-
- 18 Oct, 2021 1 commit
-
-
Volker Krause authored
This should now allow switching out the implementation without having to touch the consumers, and there's no remaining use of implementation details on the outside.
-
- 17 Oct, 2021 6 commits
-
-
Volker Krause authored
Allows us to drop yet another function we wont need with KI18nLocalData from the interface.
-
Volker Krause authored
-
Volker Krause authored
Another step towards porting to KI18nLocaleData.
-
Volker Krause authored
timezoneForLocation() handles that just fine.
-
Volker Krause authored
This reduces leaking the internal timezone enum out of the knowledge db code, which helps with the port to KI18nLocaleData.
-
Volker Krause authored
This is meanwhile done more generically in the post-processing code.
-
- 09 Nov, 2020 1 commit
-
-
Volker Krause authored
-
- 25 Jul, 2020 1 commit
-
-
Volker Krause authored
-
- 24 Jul, 2020 1 commit
-
-
Volker Krause authored
This is now possible that Wikidata got that information, and enables for example Thalys barcodes to be matched to the correct stations. This also includes a bit of refactoring of the station identifier db generation to get rid of some of the code duplication there.
-
- 30 Jun, 2020 1 commit
-
-
Christophe Marin authored
-
- 20 May, 2020 1 commit
-
-
Volker Krause authored
This is now provided by the generic geo coordinate based timezone lookup. This also contains an update to the SNCF station code index to cover international destinations as well.
-
- 19 May, 2020 3 commits
-
-
Volker Krause authored
Should fix the build.
-
Volker Krause authored
-
Volker Krause authored
SNCF station codes a strict superset, and also cover e.g. foreign stations not managed by Gares & Connexions, and thus is what we actually want here to make international tickets work as well. This only recently became available in Wikidata though. This does not contain the actual db update yet, that will happen as part of the removal of the explicit timezone information.
-
- 15 May, 2020 3 commits
-
-
Volker Krause authored
That enables the coordinate-based lookup functions for timezones and countries. This will also allow the removal of the timezone columns in the airport and train station tables down the road, saving some space there.
-
Volker Krause authored
-
Volker Krause authored
That's Asia/Bangkok which is also used in northern Vietnam since the 2019 timezone shapefile release, and Europe/Simferopol which is a disputed area.
-
- 11 May, 2020 1 commit
-
-
Volker Krause authored
This is largely unique, and should allow us to improve the result for the coordinate-based timezone lookup when having a country context. That was at least the initial motivation, however it looks like this might eventually allow us to build a coordinate -> country mapping as well, without needing an extra spatial index.
-
- 10 May, 2020 1 commit
-
-
Volker Krause authored
So far this were offsets into the the IANA string table, now it's a flat enum. The old way needed 13 bits per record, the new only needs 9 bit, at the cost of an extra ~800 bytes for an offset table to get back to IANA names. This however quickly pays of when storing large quantities, which we do (~37k in the current database, more in the upcoming experiments for an efficient geo coordinate to timezone mapping).
-
- 01 Apr, 2020 1 commit
-
-
Volker Krause authored
This doesn't cover codes containing 'Ä' or 'Ö' yet, which appear in the official list, but for which we have no idea how they are encoded in the corresponding barcode yet. As that's only a dozen or so in total, that's not a big problem though.
-
- 28 Sep, 2019 1 commit
-
-
Volker Krause authored
-
- 18 Sep, 2019 1 commit
-
-
Volker Krause authored
-
- 17 Sep, 2019 1 commit
-
-
Volker Krause authored
This will replace the implementations of IataCode and CountryId, and avoid the code duplication in the now also needed 3-letter country code table.
-
- 07 Aug, 2019 1 commit
-
-
Volker Krause authored
-
- 12 May, 2019 2 commits
-
-
Volker Krause authored
-
Volker Krause authored
This reduces the size of the station id tables by 25%.
-
- 16 Mar, 2019 1 commit
-
-
Volker Krause authored
-
- 14 Dec, 2018 1 commit
-
-
Volker Krause authored
-
- 08 Sep, 2018 1 commit
-
-
Volker Krause authored
Our previous naive approach introduced an error of about 10km, which is significantly larger than the resolution of the timezone image (1.5km), and is actually relevant for densely populated areas close to timezone borders, as well as small islands (as our search radius for those is just 5km).
-
- 05 Sep, 2018 2 commits
-
-
Volker Krause authored
Worth it, as it increases coverage for countries with 1.4+B inhabitants.
-
Volker Krause authored
Not perfect, but it's a very cheap solution for all but about two dozen countries where this is a bit more complicated.
-
- 25 May, 2018 1 commit
-
-
Volker Krause authored
-
- 20 May, 2018 2 commits
-
-
Volker Krause authored
-
Volker Krause authored
-