germany: attempt from Hack4Rail 2026 (Vienna) - #401
Open
louisgreiner wants to merge 1 commit into
Open
Conversation
Signed-off-by: Louis Greiner <louis.greiner@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request is about an attempt of adding Germany data to Mobility, during the 2026 Hack4Rail (Vienna).
Participants: @celine-sncf @JulesPeignier @louisgreiner @Pivouane @ppitou
Disclaimers:
Special thanks to Dat and Mathieu for their help and kindness.
Some data sources
### Local admin units
source website: <https://gdz.bkg.bund.de/index.php/default/verwaltungsgebiete-1-250-000-stand-01-01-vg250-01-01.html>
source file: <[https://daten.gdz.bkg.bund.de/produkte/vg/vg250_ebenen_0101/aktuell/vg250_01-01.utm32s.gpkg.ebenen.…](https://daten.gdz.bkg.bund.de/produkte/vg/vg250_ebenen_0101/aktuell/vg250_01-01.utm32s.gpkg.ebenen.zip "https://daten.gdz.bkg.bund.de/produkte/vg/vg250_ebenen_0101/aktuell/vg250_01-01.utm32s.gpkg.ebenen.zip")>
layer: vg250_gem
geometry:
fields mapping:
admin_id : ARSAmtliche Regionalschlüssel (ARS)admin_name : GENGeografischer Namecountry : Germany (prefix: de-)geometry : in the gpkg file### Local admin unit categories
source website: <[Stadt- und Gemeindetypen in Deutschland](https://www.bbsr.bund.de/BBSR/DE/forschung/raumbeobachtung/Raumabgrenzungen/deutschland/gemeinden/StadtGemeindetyp/StadtGemeindetyp.html "https://www.bbsr.bund.de/bbsr/de/forschung/raumbeobachtung/raumabgrenzungen/deutschland/gemeinden/stadtgemeindetyp/stadtgemeindetyp.html")>
source file: <[https://www.bbsr.bund.de/BBSR/DE/forschung/raumbeobachtung/Raumabgrenzungen/downloads/raumgliederun…](https://www.bbsr.bund.de/BBSR/DE/forschung/raumbeobachtung/Raumabgrenzungen/downloads/raumgliederungen-referenzen-2024.xlsx?__blob=publicationFile&v=6 "https://www.bbsr.bund.de/bbsr/de/forschung/raumbeobachtung/raumabgrenzungen/downloads/raumgliederungen-referenzen-2024.xlsx?__blob=publicationfile&v=6")>
fields mapping: sheet : Gemeindereferenz (inkl.Kreise)
local_admin_unit_id :“de-”+ GEM2024_RSurban_unit_category : GTD2024From bigger to smaller cities:
- 11 : Größere Großstadt + 500,000 inhabitants C
- 12 : Kleine Großstadt - 500,000 inhabitants I
- 21 : Größere Mittelstadt at least 50,000 inhabitants B
- 22 : Kleine Mittelstadt less than 50,000 inhabitants B
- 30 : Größere Kleinstadt 10,000 inhabitants B
- 40 : Kleine Kleinstadt less than 10,000 inhabitants R
- 50 : Landgemeinde less than 5,000 inhabitants R
Legal population: <[Bevölkerung - GovData](https://www.govdata.de/suche/daten/bevolkerung "https://www.govdata.de/suche/daten/bevolkerung")> ? <[Zensusdatenbank: Ergebnisse des Zensus](https://ergebnisse.zensus2022.de/datenbank/online/ "https://ergebnisse.zensus2022.de/datenbank/online/")> ?
source file : <[Zensusdatenbank: Ergebnisse des Zensus](https://ergebnisse.zensus2022.de/datenbank/online/statistic/1000A/table/1000A-0000 "https://ergebnisse.zensus2022.de/datenbank/online/statistic/1000a/table/1000a-0000")>
local_admin_unit_id: “de” + id de la commune ARS → first columnlegal_population: 5th columnPopulation groups: <[Zensusdatenbank: Ergebnisse des Zensus](https://ergebnisse.zensus2022.de/datenbank/online/ "https://ergebnisse.zensus2022.de/datenbank/online/")> ?
<https://genesis.destatis.de/datenbank/online/statistic/12211/table/12211-1001>
transport_zone_id,local_admin_unit_id,age,socio_pro_category,ref_pers_socio_pro_category,n_pers_household,n_cars,weight,country.### Survey
Mobility survey: <[Mobilität in Deutschland](https://www.mobilitaet-in-deutschland.de/publikationen2023.html "https://www.mobilitaet-in-deutschland.de/publikationen2023.html")>
survey_name: MiD2023country: Germanydaily activity, time, mode, and immobility calculations
Work opportunities: <[Datenbank Beschäftigung - Statistik der Bundesagentur für Arbeit](https://statistik.arbeitsagentur.de/DE/Navigation/Statistiken/Interaktive-Statistiken/Datenbanken/Datenbanken-BST-Nav.html "https://statistik.arbeitsagentur.de/de/navigation/statistiken/interaktive-statistiken/datenbanken/datenbanken-bst-nav.html")>
Work flows : <[https://statistik.arbeitsagentur.de/DE/Navigation/Statistiken/Interaktive-Statistiken/Pendler/Pendl…](https://statistik.arbeitsagentur.de/DE/Navigation/Statistiken/Interaktive-Statistiken/Pendler/Pendler-Nav.html "https://statistik.arbeitsagentur.de/de/navigation/statistiken/interaktive-statistiken/pendler/pendler-nav.html")>
Study opportunities:
Study flows:
Shopping opportunities:
Public transport: <https://gtfs.de/en/>