Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tristramg/60b71a7e73158210fe68b236d5577f3c to your computer and use it in GitHub Desktop.
Save Tristramg/60b71a7e73158210fe68b236d5577f3c to your computer and use it in GitHub Desktop.
# Identifier le réseau à extraire
* Dans le GTFS, choisir le réseau à isoler à partir du fichier agency.txt
* Notez le `agency_id`
* Par exemple pour Carabus, `CAR:Authority:1`
# Utilisez l’outil OneBusAway
* Téléchargez sur http://developer.onebusaway.org/modules/onebusaway-gtfs-modules/1.3.4-SNAPSHOT/onebusaway-gtfs-transformer-cli.html
* Executez:
`java -jar onebusaway-gtfs-transformer-cli-1.3.4-20150503.062227-12.jar --transform='{"op": "retain", "match": {"file": "agency.txt", "agency_id": "CAR:Authority:1"}}' naq-aggregated-gtfs.zip carabus.zip`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment