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:
Dustin Carlino 2021-03-22 21:30:10 -07:00
parent 1187c1ccf0
commit 4a704e3172
3 changed files with 322 additions and 314 deletions

View File

@ -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

View File

@ -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());
}
}