update cppgtfs, support ZIP reading and writing for GTFS feeds
This commit is contained in:
parent
b4b08baeca
commit
9a8e5d4e31
10 changed files with 441 additions and 298 deletions
|
|
@ -42,7 +42,7 @@ make install
|
|||
## Generating shapes for a GTFS feed
|
||||
|
||||
```
|
||||
pfaedle -x <OSM FILE> <GTFS INPUT FOLDER>
|
||||
pfaedle -x <OSM FILE> <GTFS INPUT FEED>
|
||||
```
|
||||
|
||||
A shape'd version of the input GTFS feed will be written to `./gtfs-out`.
|
||||
|
|
@ -53,9 +53,9 @@ input feed. To drop all existing shapes, use the `-D` flag.
|
|||
For example, you may generate (and replace existing, see -D parameter) shapes for the GTFS dataset for Freiburg like this:
|
||||
|
||||
```
|
||||
$ wget https://fritz.freiburg.de/csv_Downloads/VAGFR.zip && unzip VAGFR.zip
|
||||
$ wget https://fritz.freiburg.de/csv_Downloads/VAGFR.zip
|
||||
$ wget http://download.geofabrik.de/europe/germany/baden-wuerttemberg/freiburg-regbez-latest.osm.bz2 && bunzip2 freiburg-regbez-latest.osm.bz2
|
||||
$ pfaedle -D -x freiburg-regbez-latest.osm .
|
||||
$ pfaedle -D -x freiburg-regbez-latest.osm VAGFR.zip
|
||||
```
|
||||
|
||||
## Generating shapes for a specific MOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue