[editor] Remove atm fields

This commit is contained in:
Ilya Zverev 2016-03-22 13:23:07 +03:00 committed by Sergey Yershov
parent 43b2dcf3b6
commit 36fc19a3d2
2 changed files with 5 additions and 3 deletions

View file

@ -135,14 +135,15 @@
<include field="ele" />
<include field="operator" />
</type>
<type id="amenity-atm" group="banking">
<type id="amenity-atm" group="banking" priority="low">
<include field="opening_hours" />
<include field="operator" />
</type>
<type id="amenity-bank" group="banking">
<include group="poi" />
<include field="operator" />
<include field="atm" />
<!-- Uncomment this and other atm fields when the code supports it. -->
<!--include field="atm" /-->
</type>
<type id="amenity-bar" group="food">
<include group="poi" />
@ -157,7 +158,7 @@
<type id="amenity-bureau_de_change" group="banking">
<include group="poi" />
<include field="operator" />
<include field="atm" />
<!--include field="atm" /-->
</type>
<type id="amenity-bus_station">
<include group="poi" />

View file

@ -61,6 +61,7 @@ bool TypeDescriptionFromXml(pugi::xml_node const & root, pugi::xml_node const &
return;
}
// TODO(mgsergio): Add support for non-metadata fields like atm, wheelchair, toilet etc.
auto const it = kNamesToFMD.find(fieldName);
ASSERT(it != end(kNamesToFMD), ("Wrong field:", fieldName));
outDesc.m_editableFields.push_back(it->second);