From de6f53f7368bdd538ee1792d72058ab9767ecae6 Mon Sep 17 00:00:00 2001 From: tatiana-yan Date: Fri, 7 Aug 2020 20:15:33 +0300 Subject: [PATCH] [editor] Add comments. --- editor/xml_feature.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editor/xml_feature.cpp b/editor/xml_feature.cpp index 50398b502b..cff5f7b778 100644 --- a/editor/xml_feature.cpp +++ b/editor/xml_feature.cpp @@ -565,9 +565,14 @@ bool FromXML(XMLFeature const & xml, osm::EditableMapObject & object) if (object.UpdateMetadataValue(k, v)) return; + // We support multiple semicolon separated cuisines. Cuisines are already processed before this + // loop. if (k == "cuisine") return; + // We process recycling_type tag together with "amenity"="recycling" later. + // We currently ignore recycling tag because it's our custom tag and we cannot + // import it to osm directly. if (k == "recycling" || k == "recycling_type") return;