GraphHopper.com | Forum | GitHub | Maps | Blog

Routing ignores pt, shows walking route instead


#1

I followed the instructions at https://github.com/graphhopper/graphhopper/blob/master/reader-gtfs/README.md#quick-start

When I request a route between two points, it doesn’t use GTFS data, and shows walking route instead.

This is the script I ran:

java -Xmx4g -Xms4g -Dgraphhopper.datareader.file=portland_oregon.osm.pbf -Dgraphhopper.gtfs.file=portland-gtfs.zip -Dgraphhopper.graph.flag_encoders=pt -Dgraphhopper.prepare.ch.weightings=no -Dgraphhopper.graph.location=./graph-cache - jar web/target/graphhopper-web-0.12-SNAPSHOT.jar server config.yml

Any idea of what could it be?

I used two sets of pbf and gtfs: a full one for Portland, and a stub for Havana (the example shown uses the first pair). In both cases I get the same error.

Portland
PBF: https://drive.google.com/open?id=1OdjaGvlDzp1NbIsL6hekYymHPXWza9Hy
GTFS: https://drive.google.com/open?id=16Z_i5INasXTiQ9N_UOiwfsy3erzUeeSF

Havana
PFB: https://drive.google.com/open?id=1iQBf_NkQDkQqsV9jHQtCO8v3bQ6CquSo
GTFS: https://drive.google.com/open?id=1Mo2ku7g3uG_S7uQUrVc-qU_9SfwHoGRt