Skip to content

Commit

Permalink
Treat bicycle=designated on footways the same as bicycle=yes. And upd…
Browse files Browse the repository at this point in the history
…ate Seattle OSM data again to pick up my fixes from yesterday. #330
  • Loading branch information
dabreegster committed Feb 27, 2021
1 parent c0fe742 commit 9984648
Show file tree
Hide file tree
Showing 3 changed files with 499 additions and 498 deletions.
2 changes: 1 addition & 1 deletion convert_osm/src/extract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ fn is_road(tags: &mut Tags, opts: &Options) -> bool {
if (highway == "footway" || highway == "path" || highway == "steps")
&& opts.map_config.inferred_sidewalks
{
if !tags.is("bicycle", "yes") {
if !tags.is_any("bicycle", vec!["designated", "yes"]) {
return false;
}
}
Expand Down
Loading

0 comments on commit 9984648

Please sign in to comment.