update readme
This commit is contained in:
parent
57efddbcf3
commit
d7a83eadbd
1 changed files with 9 additions and 11 deletions
20
README.md
20
README.md
|
@ -42,18 +42,20 @@ make install
|
||||||
|
|
||||||
# General Usage
|
# General Usage
|
||||||
|
|
||||||
## Generating shapes for an entire GTFS feed
|
## Generating shapes for a GTFS feed
|
||||||
|
|
||||||
```
|
```
|
||||||
./build/pfaedle -c pfaedle.cfg -x <OSM FILE> <GTFS INPUT FOLDER>
|
pfaedle -c <CFG FILE> -x <OSM FILE> <GTFS INPUT FOLDER>
|
||||||
```
|
```
|
||||||
|
|
||||||
A shape'd version of the input GTFS feed will be written to `./gtfs-out`.
|
A shape'd version of the input GTFS feed will be written to `./gtfs-out`.
|
||||||
|
|
||||||
|
A default configuration file `pfaedle.cfg` can be found in this repo.
|
||||||
|
|
||||||
By default, shapes are only calculated for trips that don't have a shape in the
|
By default, shapes are only calculated for trips that don't have a shape in the
|
||||||
input feed. To drop all existing shapes, use the `-D` flag.
|
input feed. To drop all existing shapes, use the `-D` flag.
|
||||||
|
|
||||||
## Generating shapes for an entire GTFS feed, but only for a specific MOT
|
## Generating shapes for a specific MOT
|
||||||
|
|
||||||
To generate shapes only for a specific mot, use the `-m` option. Possible
|
To generate shapes only for a specific mot, use the `-m` option. Possible
|
||||||
values are either `tram`, `bus`, `rail`, `subway`, `ferry`, `funicular`,
|
values are either `tram`, `bus`, `rail`, `subway`, `ferry`, `funicular`,
|
||||||
|
@ -64,7 +66,7 @@ Multiple values can be specified (comma separated).
|
||||||
## OSM filtering
|
## OSM filtering
|
||||||
|
|
||||||
`pfaedle` comes with the ability to filter OpenStreetMap data. If you specify
|
`pfaedle` comes with the ability to filter OpenStreetMap data. If you specify
|
||||||
the `-X` flag, `pfaedle` will filter the input OSM file and output a now OSM
|
the `-X` flag, `pfaedle` will filter the input OSM file and output a new OSM
|
||||||
file which contains *exactly* the data needed to calculate the shapes for the
|
file which contains *exactly* the data needed to calculate the shapes for the
|
||||||
input GTFS feed and the input configuration.
|
input GTFS feed and the input configuration.
|
||||||
|
|
||||||
|
@ -75,7 +77,7 @@ run.
|
||||||
|
|
||||||
The following flags may be useful for debugging:
|
The following flags may be useful for debugging:
|
||||||
|
|
||||||
* `-T` only calculate shape for a single trip and output it as GeoJSON to
|
* `-T <GTFS TRIP ID>` only calculate shape for a single trip (specified via its GTFS trip id) and output it as GeoJSON to
|
||||||
`<dbg-path>/path.json`
|
`<dbg-path>/path.json`
|
||||||
* `--write-graph` write the graph used for routing as GeoJSON to
|
* `--write-graph` write the graph used for routing as GeoJSON to
|
||||||
`<dbg-path>/graph.json`
|
`<dbg-path>/graph.json`
|
||||||
|
@ -90,7 +92,7 @@ parameters
|
||||||
|
|
||||||
# Evaluation
|
# Evaluation
|
||||||
|
|
||||||
You may run an entire evaluation of our testing datasets Vitoria-Gasteiz and
|
You may run an entire evaluation of our testing datasets Vitoria-Gasteiz, Paris, Switzerland and
|
||||||
Stuttgart with
|
Stuttgart with
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -113,8 +115,4 @@ On Debianesque systems, type
|
||||||
sudo apt-get install zlib1g-dev
|
sudo apt-get install zlib1g-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
to install the dependencies.
|
to install the dependencies.
|
||||||
|
|
||||||
# Known Bugs
|
|
||||||
|
|
||||||
None so far \o/
|
|
Loading…
Reference in a new issue