From 922903e1f1850ba29f5802a42f91104eef5aafb4 Mon Sep 17 00:00:00 2001 From: Rasmus Kaj Date: Thu, 16 Jul 2020 20:29:46 +0200 Subject: [PATCH] Use more OSM places. --- src/fetch_places.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fetch_places.rs b/src/fetch_places.rs index 0f6ffad..1fe2f7b 100644 --- a/src/fetch_places.rs +++ b/src/fetch_places.rs @@ -185,12 +185,15 @@ fn name_and_level(obj: &Value) -> Option<(&str, i16)> { Some("commercial") => Some(12), Some("grass") => Some(13), Some("industrial") => Some(11), + Some("meadow") => Some(16), + Some("railway") => Some(13), Some("residential") => Some(11), Some("retail") => Some(13), _ => None, }) .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), _ => None, })