Use more OSM places.

This commit is contained in:
Rasmus Kaj 2020-07-16 20:29:46 +02:00
parent 85a4fa317f
commit 922903e1f1

View File

@ -185,12 +185,15 @@ fn name_and_level(obj: &Value) -> Option<(&str, i16)> {
Some("commercial") => Some(12), Some("commercial") => Some(12),
Some("grass") => Some(13), Some("grass") => Some(13),
Some("industrial") => Some(11), Some("industrial") => Some(11),
Some("meadow") => Some(16),
Some("railway") => Some(13),
Some("residential") => Some(11), Some("residential") => Some(11),
Some("retail") => Some(13), Some("retail") => Some(13),
_ => None, _ => None,
}) })
.or_else(|| match tag_str(tags, "highway") { .or_else(|| match tag_str(tags, "highway") {
Some("pedestrian") => Some(15), // torg Some("pedestrian") => Some(15), // torg
Some("residential") => Some(15), // torg?
Some("rest_area") => Some(16), Some("rest_area") => Some(16),
_ => None, _ => None,
}) })