Challenge Project

API mobilité - climat

Mobility data for climate policy assessment

1

⛶  Fullscreen ↓  Download 📂 Demo

Challenge statement

Slide presentation

(French below)

With the Climate Ticker project, Climate Alliance Switzerland and Digital Alliance want to evaluate the climate policies of Swiss cantons and municipalities. This will enable citizens concerned about the climate to put forward specific demands. For this we need data, and data on mobility is hard to find. Can you help us?

Goal: Develop an API to quantify the mobility situation of a municipality or canton, with the following data:

  1. Kilometers of roads with cycle tracks of acceptable quality, as a % of total road kilometrers, per municipality. Acceptable quality means a dedicated space for cyclists, not just a painted line in the middle of the road.
  2. Total subsidies to public transport companies, per year and per municipality + per canton
  3. Public transport trend per municipality + per canton: change in the total number of public transport passengers compared to the previous year
  4. Road traffic trend per municipality: change in average daily traffic compared to the previous year, on all cantonal roads passing through the municipality
  5. Motorway traffic trend by canton: change in average daily traffic compared with the previous year, on each motorway junction within the canton

Organisation: Klima-Allianz Schweiz


Avec le projet Climate Ticker, l'Alliance Climatique Suisse et l'Alliance digitale veulent évaluer les politiques climatiques des cantons et communes suisses. Cela permettra ensuite aux citoyen-ne-s concerné-e-s par le climat de mettre en avant des revendications précises. Pour cela nous avons besoin de données, et celles sur la mobilité sont difficiles à trouver. Pouvez-vous nous aider ?

But: "Disposer d'un API permettant de quantifier la situation de la mobilité d'une commune ou d'un canton, avec les données suivantes:

  1. Kilomètres de routes avec des pistes cyclables de qualité acceptable, en % du kilomètres de routes total, par commune. Par “qualité acceptable”, on entend un espace dédié pour les cyclistes, pas seulement un trait peint au milieu de la route."
  2. Total des subventions versées aux compagnies de transport public, par année et par commune + par canton
  3. Tendance des transports publics par commune + par canton : variation du nombre de passagers total en transport public par rapport à l’année précédente
  4. Tendance du trafic routier par commune : variation du trafic moyen journalier par rapport à l’année précédente, sur toutes les routes cantonales traversant la commune
  5. Tendance du trafic autoroutier par canton : variation du trafic moyen journalier par rapport à l’année précédente, sur chaque jonction d’autoroute sur le territoire du canton

Organisation: Alliance Climatique Suisse

govtech-cycling

Setup conda create -n govtech python=3.9 conda activate govtech conda install -c conda-forge pyrosm conda install -c conda-forge numpy=1.23.5 conda install -c conda-forge ipykernel conda install -c conda-forge shapely==1.8.5

notes

  • 2 minutes to get boundaries for Thurgau
  • 8 minutes for get nodes/edges for Thurgau
This content is a preview from an external site.
 

Event finished

Edited (version 78)

24.03.2023 13:54 ~ YvonneW

Project

Edited (version 75)

24.03.2023 13:54 ~ YvonneW

Edited (version 73)

24.03.2023 13:53 ~ YvonneW

Edited (version 71)

24.03.2023 13:46 ~ YvonneW

Edited (version 69)

24.03.2023 13:06 ~ YvonneW

Edited (version 66)

24.03.2023 12:27 ~ YvonneW

Edited (version 63)

24.03.2023 12:24 ~ YvonneW

Edited (version 61)

24.03.2023 12:23 ~ YvonneW

Add script to extract nodes and edges data. (@ebezzam)

The data is awesome and I'm downloading it now!

23.03.2023 16:28 ~ loleg

Project

23.03.2023 16:27 ~ Eric

Add notebook. (@ebezzam)

Project

Repository updated

23.03.2023 13:56 ~ YvonneW

Edited (version 43)

23.03.2023 13:55 ~ Eric

To understand some global issues around traffic data homogenization beyond the work of BFS Strassenverkehrszahlung, have a look at (this is not an endorsement) the GTFS community.

23.03.2023 13:49 ~ loleg

Here you can find all the roads in Switzerland in a convenient shapefile that you can open with GeoPandas: swissTLMregio

23.03.2023 13:44 ~ loleg

Initial commit (@ebezzam)

Joined the team

23.03.2023 13:13 ~ andikelr

article that has some mentions on subsidies: https://www.sciencedirect.com/science/article/pii/S0967070X16301469#s0020

"Canton-wide, fares cover 35 per cent of operating costs for..."

23.03.2023 11:07 ~ Eric

Joined the team

23.03.2023 10:59 ~ Eric

Event started

Edited (version 28)

23.03.2023 08:36 ~ YvonneW

Edited (version 26)

23.03.2023 08:27 ~ YvonneW

Info on cycle tracks is available for some cantons, for instance Geneva https://ge.ch/sitg/fiche/6613 and some municipalities, for instance Nyon https://map.cartolacote.ch/s/nTrn. Google maps gives info on bike lanes (choose the layer bottom left), but is not always uptodate.

04.03.2023 15:40 ~ YvonneW

Edited (version 13)

04.03.2023 10:30 ~ YvonneW

there- is as well Comptage de la circulation routière - réseau principal (Office fédéral des routes OFROU) https://s.geo.admin.ch/9dc2a60895

28.02.2023 09:12 ~ davidoesch

Hi, there are a lot data from ARE https://s.geo.admin.ch/9dc2a1f2ff just browse the ARE cataloge (https://help.geo.admin.ch/?ids=32&lang=fr) ra data link can be found using the (i) button https://help.geo.admin.ch/?ids=37&lang=fr i

28.02.2023 09:10 ~ davidoesch

Joined the team

28.02.2023 08:57 ~ davidoesch

Challenge

 
Alle Teilnehmer*innen, Sponsor, Partner, Freiwilligen und Mitarbeiter*innen unseres Hackathons sind verpflichtet, dem Hack Code of Conduct zuzustimmen. Die Organisatoren werden diesen Kodex während der gesamten Veranstaltung durchsetzen. Wir erwarten die Zusammenarbeit aller Teilnehmer*innen, um eine sichere Umgebung für alle zu gewährleisten. Mehr Details befinden sich in die GovTech Hackathon Guidelines.

Tous les participant-es, sponsors, partenaires, bénévoles et collaborateurs/collaboratrices de notre hackathon sont tenus d'accepter le Hack Code of Conduct. Les organisateurs feront appliquer ce code tout au long de l'événement. Nous attendons de tous les participants qu'ils coopèrent afin de garantir un environnement sûr pour tous. Pour plus de détails, veuillez consulter les Guidelines du GovTech Hackathon.

Creative Commons LicenceDie Inhalte dieser Website stehen, sofern nicht anders angegeben, unter einer Creative Commons Attribution 4.0 International License | Le contenu de ce site web est, sauf indication contraire, sous licence Creative Commons Attribution 4.0 International.