diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp index 9db296639b..bcac9155a1 100644 --- a/indexer/feature_impl.hpp +++ b/indexer/feature_impl.hpp @@ -149,7 +149,7 @@ namespace feature } - static int g_arrScales[] = { 5, 10, 14, 17 }; // 17 = scales::GetUpperScale() + static int g_arrScales[] = { 7, 10, 14, 17 }; // 17 = scales::GetUpperScale() inline string GetTagForIndex(char const * prefix, int ind) { diff --git a/indexer/indexer_tool/feature_sorter.cpp b/indexer/indexer_tool/feature_sorter.cpp index f186a4b41f..f8492b0be4 100644 --- a/indexer/indexer_tool/feature_sorter.cpp +++ b/indexer/indexer_tool/feature_sorter.cpp @@ -272,7 +272,7 @@ namespace feature for (int i = m_scales-1; i >= 0; --i) { - if (fb.IsDrawableInRange(i > 0 ? g_arrScales[i-1] : 0, g_arrScales[i])) + if (fb.IsDrawableInRange(i > 0 ? g_arrScales[i-1] + 1 : 0, g_arrScales[i])) { // simplify and serialize geometry points_t points;