Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.