Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reading cached elevation files #3455

Merged
merged 3 commits into from
May 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Remove request parameter `driveOnRight` and derive information from way property set [#3359](https://github.com/opentripplanner/OpenTripPlanner/pull/3405)
- Add basic support for routing using floating bikes [#3370](https://github.com/opentripplanner/OpenTripPlanner/pull/3370)
- Add no thru traffic debug layer [#3443](https://github.com/opentripplanner/OpenTripPlanner/issues/3443)
- Fix reading of cached elevation files [#3455](https://github.com/opentripplanner/OpenTripPlanner/pull/3455)

## 2.0.0 (2020-11-27)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public Graphwide(String message){

@Override
public String getMessage() {
return String.format("graph-wide: " + message);
return "graph-wide: " + message;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,8 @@ public void checkInputs() {
if (Files.exists(cachedElevationsFile.toPath())) {
log.info("Cached elevations file found!");
} else {
log.warn("No cached elevations file found or read access not allowed! Unable to load in cached elevations. This could take a while...");
log.warn("No cached elevations file found at {} or read access not allowed! Unable to load in cached elevations. This could take a while...", cachedElevationsFile.toPath()
.toAbsolutePath());
}
} else {
log.warn("Not using cached elevations! This could take a while...");
Expand Down