Created
April 25, 2019 16:14
-
-
Save Tristramg/60b71a7e73158210fe68b236d5577f3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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