From a842369146216810538999a51a217caeb1cee861 Mon Sep 17 00:00:00 2001 From: Olga Khlopkova Date: Wed, 16 Oct 2019 11:54:53 +0300 Subject: [PATCH] [generator] Add 4wd_only to replaced_tags. --- generator/osm2type.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/osm2type.cpp b/generator/osm2type.cpp index fde3a51da0..c83f69fb2c 100644 --- a/generator/osm2type.cpp +++ b/generator/osm2type.cpp @@ -479,6 +479,8 @@ string DetermineSurface(OsmElement * p) surface_grade = tag.m_value; else if (tag.m_key == "highway") isHighway = true; + else if (tag.m_key == "4wd_only" && (tag.m_value == "yes" || tag.m_value == "recommended")) + return "unpaved_bad"; } if (!isHighway || (surface.empty() && smoothness.empty()))