Skip to content

Commit

Permalink
remove capital node
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrll committed Jan 24, 2024
1 parent 898e5bb commit c827b88
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ pub fn is_admin(obj: &OsmObj) -> bool {
&&
rel.tags.get("admin_level").is_some()
}
OsmObj::Node(ref node) => {
node.tags.get("capital").map_or(false, |v| v == "yes")
}
_ => false,
}
}
Expand Down

0 comments on commit c827b88

Please sign in to comment.