Skip to content

Commit

Permalink
Fix tests after border_arrows and putting bus gates on bus roads
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Jan 5, 2025
1 parent a967857 commit 1ba3d76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions backend/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ fn get_gj(study_area_name: &str, savefile_name: &str, neighbourhood_name: &str)

// Remove OSM tags, for smaller files
fn prune_features(mut gj: FeatureCollection) -> FeatureCollection {
// Remove border_arrows
gj.features
.retain(|f| f.property("kind").unwrap().as_str().unwrap() != "border_arrow");

for f in &mut gj.features {
if matches!(
f.geometry.as_ref().unwrap().value,
Expand Down
2 changes: 1 addition & 1 deletion tests/output/strasbourg.geojson

Large diffs are not rendered by default.

0 comments on commit 1ba3d76

Please sign in to comment.