diff --git a/generator/feature_sorter.cpp b/generator/feature_sorter.cpp index 7104febc78..09a75f3e90 100644 --- a/generator/feature_sorter.cpp +++ b/generator/feature_sorter.cpp @@ -411,6 +411,28 @@ namespace feature return scales::IsGoodForLevel(level, r); } + /* + class DoPrintTypes + { + Classificator const & m_c; + + public: + DoPrintTypes() : m_c(classif()) + { + LOG(LINFO, ("Start")); + } + ~DoPrintTypes() + { + LOG(LINFO, ("Finish")); + } + + void operator() (uint32_t t) + { + LOG(LINFO, (m_c.GetFullObjectName(t))); + } + }; + */ + public: void operator() (FeatureBuilder2 & fb) { @@ -419,6 +441,15 @@ namespace feature bool const isLine = fb.IsLine(); bool const isArea = fb.IsArea(); + // Dump features with linear and area types. + /* + if (isLine && isArea) + { + DoPrintTypes doPrint; + fb.GetFeatureBase().ForEachTypeRef(doPrint); + } + */ + for (int i = m_header.GetScalesCount()-1; i >= 0; --i) { int const level = m_header.GetScale(i);