diff options
author | tatiana-kondakova <tatiana.kondakova@gmail.com> | 2018-04-20 12:14:52 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-04-21 12:23:12 +0300 |
commit | 5db1892d9b00868d705cc413ecc1e359eea3b81e (patch) | |
tree | 96eedd1cacefbcb265239645e73b6c6d7978b2ad /indexer/cell_id.hpp | |
parent | e84f61066f9a90116f8d3a064f84e90ac7ceee95 (diff) |
[geocoder] Convert LocalityIndex depth to template parameter. Use different depth for objects and regions index in geocoder
Diffstat (limited to 'indexer/cell_id.hpp')
-rw-r--r-- | indexer/cell_id.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indexer/cell_id.hpp b/indexer/cell_id.hpp index 8d25e23edc..81c64c0349 100644 --- a/indexer/cell_id.hpp +++ b/indexer/cell_id.hpp @@ -12,7 +12,10 @@ using RectId = m2::CellId<19>; // 24 is enough to have cell size < 2.5m * 2.5m for world. -using LocalityCellId = m2::CellId<24>; +constexpr int kGeoObjectsDepthLevels = 24; + +// Cell size < 40m * 40m for world is good for regions. +constexpr int kRegionsDepthLevels = 20; template <typename Bounds, typename CellId> class CellIdConverter |