Skip to content

Commit

Permalink
Fix issues from the new footway import:
Browse files Browse the repository at this point in the history
- adjust the spurious diff test, which hardcodes IDs
- cutover to the osm2streets git repo again
- manually fix the Bristol consultation boundary
dabreegster committed Sep 16, 2022
1 parent 8ed6196 commit 35847ae
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -47,6 +47,6 @@ http-range-client = { git = "https://github.com/pka/http-range-client", rev = "e

# To temporarily work on dependencies locally, uncomment this
# TODO Do not commit. Update each repo
[patch."https://github.com/a-b-street/osm2streets"]
import_streets = { path = "/home/dabreegster/osm2streets/import_streets" }
street_network = { path = "/home/dabreegster/osm2streets/street_network" }
#[patch."https://github.com/a-b-street/osm2streets"]
#import_streets = { path = "/home/dabreegster/osm2streets/import_streets" }
#street_network = { path = "/home/dabreegster/osm2streets/street_network" }
Binary file modified data/system/ltn_proposals/bristol_beaufort_road.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/src/main.rs
Original file line number Diff line number Diff line change
@@ -273,7 +273,7 @@ fn ab_test_spurious_diff() -> Result<()> {
let mut edits = map.get_edits().clone();
// It doesn't matter much which road, but if the map changes over time, it could eventually be
// necessary to fiddle with this
edits.commands.push(map.edit_road_cmd(RoadID(190), |new| {
edits.commands.push(map.edit_road_cmd(RoadID(293), |new| {
assert_eq!(new.lanes_ltr[1].lt, LaneType::Parking);
new.lanes_ltr[1].lt = LaneType::Biking;
}));

0 comments on commit 35847ae

Please sign in to comment.