-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into newStreets
- Loading branch information
Showing
144 changed files
with
5,476 additions
and
1,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
language: java | ||
|
||
# OpenTripPlanner requires Java 8 and Travis doesn't (yet) support OpenJDK 8 | ||
jdk: | ||
- oraclejdk8 | ||
|
||
# Replace Travis's default Maven installation step with a no-op. | ||
# This avoids redundantly pre-running 'mvn install -DskipTests' every time. | ||
install: true | ||
|
||
# Replace Travis's default build step. | ||
# Run all Maven phases at once up through verify, install, and deploy. | ||
script: mvn clean deploy | ||
|
||
env: | ||
global: | ||
# encrypted AWS access/secret keys to allow automated deployment to the Conveyal Maven repo on S3 | ||
- secure: "d1GabNiRYJwCeu+Zqr/qKnyNf4CY2pH0dLkY708Dzpe1Vgi0k2WLTMeYe9yJ3CyQydpUfOFkvwV64r4KIj4tBRDuW5C72bZyk/0o6oo931IwT1uHKstPfiovf/GiZ8qbn0SDencwfjfDefZUtaZ6I1mF6S638PvUlz4lNgl6kfA=" | ||
- secure: "DNnCaMx4Cgcuj78m96IEDwZMMtY14HCWIi6voT80DJZB5Rtu50BayT8ljxjrSHATYIfkZ+aLgFaNSPqI8MlNlt22xk2lzjOkA4J3Bn0d3xuYlgS9WT5rh78llKgtGpjH47OeRwHhpFM5PnNTCgFdnXNoj9SlZeNlWHk8+PHi5do=" | ||
|
||
# If sudo is disabled, CI runs on container based infrastructure (allows caching &c.) | ||
sudo: false | ||
|
||
# Retain the local Maven repository to speed up builds. | ||
cache: | ||
directories: | ||
- "$HOME/.m2/repository" | ||
|
||
# Notify us of the build status on the Slack channel | ||
notifications: | ||
slack: conveyal:RQuTZBfE7FBjVtYkKwdnNRjY | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Troubleshooting Routing | ||
|
||
## Debug layers | ||
|
||
OpenTripplanner has option to ease debugging problems with graph. Older option is graph visualizer. | ||
Which you can enable with `--visualize` parameter instead of `--server` when starting OTP. | ||
There you can see whole graph. You can click on edges and vertices and see the metadata. It is | ||
useful to see if street has expected options. And if connections are where they are expected. | ||
|
||
It can be hard to use on large graphs since, whole graph is displayed at once. And it can be hard | ||
to search for specific streets since only street graph is shown without the rest of information. | ||
|
||
Another option is to use debug layers, which shows extra layers on top of normal map. | ||
To enable them you need to add `?debug_layers=true` to URL. For example | ||
[http://localhost:8080/?debug_layers=true](http://localhost:8080/?debug_layers=true). | ||
This adds debug layers to layer choosing dialog. Currently you can choose between: | ||
|
||
- Wheelchair access (which colors street edges red if they don't allow wheelchair or green otherwise) | ||
- Bike Safety (colors street edges based on how good are for cycling [smaller is better]) | ||
- Traversal permissions (colors street edges based on what types of transit modes are allowed to | ||
travel on them (Pedestrian, cycling, car are currently supported)) Traversal permissions layer also | ||
draws links from transit stops/bike rentals and P+R to graph. And also draws transit stops, bike rentals | ||
and P+R vertices with different color. | ||
|
||
### Interpretation Traversal permissions layer | ||
|
||
A sample traversal permissions layer looks like the following | ||
![screen shot 2015-06-26 at 11 45 22](https://cloud.githubusercontent.com/assets/4493762/8374829/df05c438-1bf8-11e5-8ead-c1dea41af122.png) | ||
* Yellow lines is the link between a stop and the street graph. | ||
* Grey lines are streets one can travel with the mode walk, bike, or car | ||
* Green lines are paths one can travel with the mode walk only | ||
* Red lines are streets one can travel with the mode car only | ||
* Grey dots vertices where edges are connected. If two edges are crossing w/o a vertice at the intersection point, users will not be able to go from one street to the other. But this can be valid in case of over/under pass for | ||
example. If it's an error, it's usually caused by improperly connected OSM data (a shared OSM node is required). | ||
|
||
## OpenStreetMap tagging | ||
|
||
### Basic Permissions | ||
|
||
Access tags (such as bicycle/foot = yes/no/designated) can be used to override default graph-building parameters. | ||
|
||
As a default, foot and bicycle traffic is ''not'' allowed on `highway=trunk`, `highway=trunk_link`, `highway=motorway`, `highway=motorway_link`, or `highway=construction`. | ||
|
||
Both *are* allowed on `highway=pedestrian`, `highway=cycleway`, and `highway=footway`. | ||
|
||
Finally, bicycles are *not*allowed on *highway=footway* when any of the following tags appear on a footway: `footway=sidewalk`, `public_transport=platform`, or `railway=platform`. | ||
|
||
Other access tags (such as `access=no` and `access=private` affect routing as well, and can be overridden similarly. While `access=no` prohibits all traffic, `access=private` disallows through traffic. | ||
|
||
### Further information | ||
* [General information](https://github.com/opentripplanner/OpenTripPlanner/wiki/GraphBuilder#graph-concepts) | ||
* [Bicycle routing](http://wiki.openstreetmap.org/wiki/OpenTripPlanner#Bicycle_routing) | ||
* [Indoor mapping](https://github.com/opentripplanner/OpenTripPlanner/wiki/Indoor-mapping) | ||
* [Elevators](http://wiki.openstreetmap.org/wiki/OpenTripPlanner#Elevators) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.