Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
74d64cc8
authored
Jul 10, 2017
by
Gil Sade
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added OpentripPlanner docker
parent
78e37844
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
docker/opentripplanner/how to add cities to otp and run server with otp docker
docker/opentripplanner/how to add cities to otp and run server with otp docker
0 → 100644
View file @
74d64cc8
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment