Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2011-09-23 19:14:55 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:24:19 +0300
commit39d18547b95d7dc0bccef93400891e3b80fbf733 (patch)
tree41e8ac051a14a3140c99a5b130fcd3e616a2d115 /indexer/scale_index_builder.hpp
parent50130c101e07c531c6e1a0d6048b07b2808ec00b (diff)
Different cell coding depth for wmw when indexing.
Diffstat (limited to 'indexer/scale_index_builder.hpp')
-rw-r--r--indexer/scale_index_builder.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexer/scale_index_builder.hpp b/indexer/scale_index_builder.hpp
index bd8a0346ad..a28530d959 100644
--- a/indexer/scale_index_builder.hpp
+++ b/indexer/scale_index_builder.hpp
@@ -71,8 +71,8 @@ public:
{
if (FeatureShouldBeIndexed(f))
{
- /// @todo Use m_mwmScaleRange to make better covering.
- vector<int64_t> const cells = covering::CoverFeature(f, RectId::DEPTH_LEVELS, 250);
+ vector<int64_t> const cells = covering::CoverFeature(f,
+ covering::GetCodingDepth(m_mwmScaleRange), 250);
for (vector<int64_t>::const_iterator it = cells.begin(); it != cells.end(); ++it)
m_Sorter.Add(CellFeaturePair(*it, offset));