Skip to content

Commit

Permalink
fr: Skip one more feed
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed May 12, 2024
1 parent 45bb10c commit 4d901cc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
24 changes: 14 additions & 10 deletions feeds/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
{
"name": "arrets-horaires-et-parcours-theoriques-gtfs-du-reseau-routier-regional-de-transport-35",
"type": "http",
"url": "https://opendata.hautsdefrance.fr/sites/default/files/data/transport/RHDF_GTFS_COM_SCO_59_P3B.zip",
"url": "https://opendata.hautsdefrance.fr/sites/default/files/data/transport/RHDF_GTFS_COM_SCO_59_P3A.zip",
"fix": true,
"license": "odc-odbl"
},
Expand Down Expand Up @@ -483,7 +483,7 @@
{
"name": "breizhgo-car",
"type": "http",
"url": "https://www.korrigo.bzh/ftp/OPENDATA/BREIZHGO_CAR_NS.gtfs.zip",
"url": "https://www.korrigo.bzh/ftp/OPENDATA/BREIZHGO_CAR_56.gtfs.zip",
"fix": true,
"license": "odc-odbl"
},
Expand Down Expand Up @@ -589,7 +589,7 @@
{
"name": "horaires-theoriques-du-reseau-transports-en-commun-lyonnais",
"type": "http",
"url": "https://gtech-transit-prod.apigee.net/v1/google/gtfs/odbl/lyon_tcl.zip?apikey=BasyG6OFZXgXnzWdQLTwJFGcGmeOs204&secret=gNo6F5PhQpsGRBCK",
"url": "https://download.data.grandlyon.com/files/rdata/tcl_sytral.tcltheorique/GTFS_TCL.ZIP",
"fix": true,
"skip": true,
"license": "mobility-licence"
Expand Down Expand Up @@ -962,7 +962,7 @@
{
"name": "horaires-theoriques-du-reseau-izilo-format-gtfs-de-lorient-agglomeration",
"type": "http",
"url": "https://ratpdev-mosaic-prod-bucket-raw.s3-eu-west-1.amazonaws.com/99/exports/1/gtfs.zip",
"url": "https://s3.eu-west-1.amazonaws.com/files.orchestra.ratpdev.com/networks/rdla-lorient/exports/medias.zip",
"fix": true,
"license": "lov2"
},
Expand Down Expand Up @@ -1011,7 +1011,7 @@
{
"name": "horaires-theoriques-et-en-temps-reel-des-bus-et-autocars-circulant-sur-le-reseau-cap-cotentin",
"type": "http",
"url": "https://static.data.gouv.fr/resources/horaires-theoriques-et-en-temps-reel-des-bus-et-autocars-circulant-sur-le-reseau-cap-cotentin/20240229-084742/gtfs-capcotentin-29022024-au-30062024.zip",
"url": "https://static.data.gouv.fr/resources/horaires-theoriques-et-en-temps-reel-des-bus-et-autocars-circulant-sur-le-reseau-cap-cotentin/20240223-075645/lr-cap-cotentin-cherbourg-rennes.zip",
"fix": true,
"license": "fr-lo"
},
Expand Down Expand Up @@ -1040,7 +1040,7 @@
{
"name": "ametis",
"type": "http",
"url": "https://static.data.gouv.fr/resources/ametis/20240403-123438/gtfs-opendata-du-11-03-2025-au-05-07-2024.zip",
"url": "https://static.data.gouv.fr/resources/ametis/20240320-120300/gtfs-sae-du-20-03-2024-au-05-07-2024.zip",
"fix": true,
"license": "odc-odbl"
},
Expand Down Expand Up @@ -1378,6 +1378,7 @@
"type": "http",
"url": "https://api.oisemob.cityway.fr/dataflow/tad/download?provider=COROLIS_INT&dataFormat=gtfs",
"fix": true,
"skip": true,
"license": "lov2"
},
{
Expand Down Expand Up @@ -1523,7 +1524,7 @@
{
"name": "agen-gtfs-urbain",
"type": "http",
"url": "https://static.data.gouv.fr/resources/agen-gtfs-urbain/20240108-130157/agen-gtfs-urbain-rentree-janvier-2024.zip",
"url": "https://static.data.gouv.fr/resources/agen-gtfs-urbain/20230602-074204/agen-gtfs-urbain-navette-gravier-avril-2023-v2.zip",
"fix": true,
"license": "lov2"
},
Expand Down Expand Up @@ -1588,6 +1589,7 @@
"type": "http",
"url": "https://api.oisemob.cityway.fr/dataflow/tad/download?provider=AXO&dataFormat=gtfs",
"fix": true,
"skip": true,
"license": "lov2"
},
{
Expand Down Expand Up @@ -1852,7 +1854,7 @@
{
"name": "reseau-de-bus-urbain-horizon",
"type": "http",
"url": "https://static.data.gouv.fr/resources/reseau-de-bus-urbain-horizon/20231109-153356/gtfs-20231109-115706.zip",
"url": "https://data.chateauroux-metropole.fr/api/v2/catalog/datasets/reseau-de-bus-urbain_horizon/alternative_exports/gtfs_20231109_115706_zip",
"fix": true,
"skip": true
},
Expand Down Expand Up @@ -2247,7 +2249,7 @@
{
"name": "reseau-de-transport-urbains-dignois",
"type": "http",
"url": "https://static.data.gouv.fr/resources/reseau-de-transport-urbains-dignois/20240115-095308/rtud-v6-gtfs-2024-01-15-10-50-02.zip",
"url": "https://static.data.gouv.fr/resources/reseau-de-transport-urbains-dignois/20240115-102017/rtud-v6-gtfs-2024-01-15-10-50-02.zip",
"fix": true,
"license": "lov2"
},
Expand Down Expand Up @@ -2298,6 +2300,7 @@
"type": "http",
"url": "https://api.oisemob.cityway.fr/dataflow/offre-tc/download?provider=SABLONS&dataFormat=GTFS&dataProfil=OPENDATA",
"fix": true,
"skip": true,
"license": "lov2"
},
{
Expand Down Expand Up @@ -2668,7 +2671,7 @@
{
"name": "horaires-theoriques-du-reseau-neobus-communaute-de-communes-de-louest-vosgien-gtfs",
"type": "http",
"url": "https://static.data.gouv.fr/resources/horaires-theoriques-du-reseau-neobus-communaute-de-communes-de-louest-vosgien-gtfs/20240108-100432/gtfs-sadapnfc-neobus.zip",
"url": "https://static.data.gouv.fr/resources/horaires-theoriques-du-reseau-neobus-communaute-de-communes-de-louest-vosgien-gtfs/20240108-100313/gtfs-sadapnfc-neobus.zip",
"fix": true,
"license": "fr-lo"
},
Expand Down Expand Up @@ -2761,6 +2764,7 @@
"type": "http",
"url": "https://api.oisemob.cityway.fr/dataflow/offre-tc/download?provider=HOPLA&dataFormat=GTFS&dataProfil=OPENDATA",
"fix": true,
"skip": true,
"license": "lov2"
},
{
Expand Down
17 changes: 9 additions & 8 deletions src/generate-france.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@
"arrets-horaires-et-parcours-theoriques-des-bus-du-reseau-des-transports-publics-envibus", # timeout
"horaires-theoriques-du-service-rhonexpress-de-la-metropole-de-lyon-et-du-departement-du-rhone", # 401 not authorized
"breizhgo-bateaux", # Confuses MOTIS and doesn't contain any trips
"donnees-theoriques-et-temps-reel-du-reseau-pass-thelle-bus-communaute-de-communes-thelloise", # Confuses MOTIS and doesn't contain any trips
"3cm-horaires-theoriques-du-reseau-de-transport-urbain-solutions-transport-3cm" # Confuses MOTIS and doesn't contain any trips
"donnees-theoriques-et-temps-reel-du-reseau-pass-thelle-bus-communaute-de-communes-thelloise", # Confuses MOTIS and doesn't contain any trips
"3cm-horaires-theoriques-du-reseau-de-transport-urbain-solutions-transport-3cm", # Confuses MOTIS and doesn't contain any trips
"donnees-theoriques-et-temps-reel-du-reseau-corolis-interurbain-communaute-dagglomeration-du-beauvaisis", # Confuses MOTIS
"donnees-theoriques-et-temps-reel-du-reseau-axo-communaute-dagglomeration-creil-sud-oise", # Confuses MOTIS
"donnees-theoriques-et-temps-reel-du-reseau-sablons-bus-communaute-de-communes-des-sablons", # Confuses MOTIS
"donnees-theoriques-du-reseau-hopla-communaute-de-communes-de-la-plaine-destrees", # Confuses MOTIS
]

out: list[dict] = []
Expand All @@ -58,12 +62,9 @@
out.append(source)

# This is an aggregated and improved feed that we want to keep
out.append({
"name": "Brittany",
"type": "transitland-atlas",
"transitland-atlas-id": "f-gbwc-mobibreizh",
"fix": True
})
out.append(
{"name": "Brittany", "type": "transitland-atlas", "transitland-atlas-id": "f-gbwc-mobibreizh", "fix": True}
)

with open("feeds/fr.json", "r") as f:
region = json.load(f)
Expand Down

0 comments on commit 4d901cc

Please sign in to comment.