mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 15:02:59 +03:00
Filter out highway=pedestrian, bicycle=dismount unless separate footpaths are enabled. Removes Portugal Place from Cambridge. cyipt/actdev#151
Now regenerate everything
This commit is contained in:
parent
1187c1ccf0
commit
4a704e3172
@ -451,6 +451,13 @@ fn is_road(tags: &mut Tags, opts: &Options) -> bool {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if highway == "pedestrian"
|
||||
&& tags.is("bicycle", "dismount")
|
||||
&& opts.map_config.inferred_sidewalks
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// Import most service roads. Always ignore driveways, golf cart paths, and always reserve
|
||||
// parking_aisles for parking lots.
|
||||
if highway == "service" && tags.is_any("service", vec!["driveway", "parking_aisle"]) {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -339,10 +339,11 @@ fn movement_geom(
|
||||
let num_pts = polylines[0].points().len();
|
||||
for pl in &polylines {
|
||||
if num_pts != pl.points().len() {
|
||||
warn!(
|
||||
// Kiiiiinda spammy
|
||||
/*warn!(
|
||||
"Movement between {} and {} can't make nice geometry",
|
||||
from, to
|
||||
);
|
||||
);*/
|
||||
return Ok(polylines[0].clone());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user