From 4541194c84389f9f23fb6c246502b45fb651df0c Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Tue, 9 Apr 2024 19:20:36 +0300 Subject: [PATCH] [generator] Cleanup surrogate attraction=specified following #7716 Signed-off-by: Konstantin Pastbin --- generator/osm2type.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/generator/osm2type.cpp b/generator/osm2type.cpp index cee5142db1..6bbf3a5a71 100644 --- a/generator/osm2type.cpp +++ b/generator/osm2type.cpp @@ -762,14 +762,6 @@ void PreprocessElement(OsmElement * p, CalculateOriginFnT const & calcOrg) p->AddTag("psurface", DetermineSurface(p)); - p->UpdateTag("attraction", [](string & value) - { - // "specified" is a special value which means we have the "attraction" tag, - // but its value is not "animal". - if (!value.empty() && value != "animal") - value = "specified"; - }); - string const kCuisineKey = "cuisine"; auto cuisines = p->GetTag(kCuisineKey); if (!cuisines.empty())