Commit 74d64cc8 by Gil Sade

added OpentripPlanner docker

parent 78e37844
1) get san-diego files from the web.
- cd /var/otp/graphs/san-diego
- wget https://s3.amazonaws.com/metro-extracts.mapzen.com/san-diego_california.osm.pbf
- wget https://www.sdmts.com/google_transit_files/google_transit.zip
2) get chicago files from the web.
- cd /var/otp/graphs/chicago
- wget http://www.transitchicago.com/downloads/sch_data/google_transit.zip
- wget https://s3.amazonaws.com/metro-extracts.mapzen.com/chicago_illinois.osm.pbf
3) build Graph.obj for san-diego & chicago .
- cd /var/otp/graphs
- docker run -it -v $(pwd):/var/otp/graphs opentripplanner/opentripplanner --build /var/otp/graphs/san-diego --analyst
- docker run -it -v $(pwd):/var/otp/graphs opentripplanner/opentripplanner --build /var/otp/graphs/chicago --analyst
4) run server(allready in docker-compose):
- cd /var/otp/graphs
- docker run -p 8081:8080 -p 8082:8081 -it -v /var/otp/graphs:/var/otp/graphs opentripplanner/opentripplanner --autoScan --server
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment