Hi everyone,
I followed this https://github.com/graphhopper/graphhopper/tree/1.0/reader-gtfs
but doesn’t work.
the steps are:
-
cd graphhopper
-
git checkout 1.0
4)wget gtfs-vbb.zip
5)wget brandenburg-latest.osm.pbf
6)./graphhopper.sh build
- java -Xmx8g -Xms8g
-Ddw.graphhopper.datareader.file=brandenburg-latest.osm.pbf
-Ddw.graphhopper.gtfs.file=gtfs-vbb.zip
-Ddw.graphhopper.graph.flag_encoders=foot
-Ddw.graphhopper.graph.location=./graph-cache
-jar web/target/graphhopper-web-*.jar server config.yml
the exception is java.lang.IllegalArgumentException: Unknown vehicle ‘car’ in profile: name=car|vehicle=car|weighting=fastest|turnCosts=false|hints={}. Make sure all vehicles used in ‘profiles’ exist in ‘graph.flag_encoders’
I understand this mistake. why doesn’t this example work?
I need just a simple example that show how i can use the public transit .