Skip to content

Commit

Permalink
add sete agglopole
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Jan 25, 2025
1 parent 360c678 commit 4e26fbd
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 11 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions feeds/data.gouv.fr.dmfr.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,34 @@
"url": "https://transport.data.gouv.fr/datasets/parcours-arrets-et-horaires-theoriques-du-reseau-de-transport-citura-de-la-communaute-urbaine-du-grand-reims-gtfs/"
}
},
{
"id": "f-sete~agglopole~mobilite~fr",
"spec": "gtfs",
"urls": {
"static_current": "https://drive.google.com/uc?export=download&id=1JPmGimO4tfQpzL8A0ixYnYrPDehYILWn"
},
"operators": [
{
"name": "Sète Agglopôle Mobilité",
"onestop_id": "o-sete~agglopole~mobilite~fr",
"website": "https://www.mobilite.agglopole.fr/",
"associated_feeds": [
{
"feed_onestop_id": "f-sete~agglopole~mobilite~fr~rt"
}
]
}
]
},
{
"id": "f-sete~agglopole~mobilite~fr~rt",
"spec": "gtfs-rt",
"urls": {
"realtime_trip_updates": "https://sete.ceccli.com/gtfs/TripUpdates.pb",
"realtime_vehicle_positions": "https://sete.ceccli.com/gtfs/VehiclePositions.pb",
"realtime_alerts": "https://sete.ceccli.com/gtfs/Alerts.pb"
}
},
{
"id": "f-dunkerque~fr",
"spec": "gtfs",
Expand Down
4 changes: 2 additions & 2 deletions src/check/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}

match is_err {
true => Ok(()),
false => Err(Box::new(std::io::Error::from(std::io::ErrorKind::InvalidData)))
true => Err(Box::new(std::io::Error::from(std::io::ErrorKind::InvalidData))),
false => Ok(())
}
}

0 comments on commit 4e26fbd

Please sign in to comment.