Skip to content

Commit

Permalink
Support Cycleway Conflicting Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
droogmic committed Jun 12, 2022
1 parent b3ab25f commit 876c05f
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 176 deletions.
4 changes: 3 additions & 1 deletion osm2lanes/src/transform/tags_to_lanes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Default for Config {

mod oneway {
use osm_tag_schemes::keys::ONEWAY;
use osm_tags::Tags;
use osm_tags::{TagKey, Tags};

use super::TagsToLanesMsg;
use crate::locale::Locale;
Expand Down Expand Up @@ -121,6 +121,8 @@ mod oneway {
}

impl Oneway {
pub const KEY: TagKey = TagKey::from_static("oneway");

pub fn from_tags(
tags: &Tags,
_locale: &Locale,
Expand Down
Loading

0 comments on commit 876c05f

Please sign in to comment.