diff options
author | vng <viktor.govako@gmail.com> | 2011-09-09 18:26:08 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:23:31 +0300 |
commit | 7e2bcc9a00a8825ba7f0cac5900ba4a215041d7b (patch) | |
tree | 295d7dd8fc1e267836b6f94c56b496b0491811bb /indexer/feature_visibility.hpp | |
parent | 52ffc760f1f86ce5e31a2964e3366f1b6fcee84a (diff) |
Fix coastline feature processing: skip other types and additional checks after types manipulating.
Diffstat (limited to 'indexer/feature_visibility.hpp')
-rw-r--r-- | indexer/feature_visibility.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indexer/feature_visibility.hpp b/indexer/feature_visibility.hpp index 208f5430ea..9a1f5a34fd 100644 --- a/indexer/feature_visibility.hpp +++ b/indexer/feature_visibility.hpp @@ -13,7 +13,12 @@ class FeatureBase; namespace feature { - enum FeatureGeoType { FEATURE_TYPE_POINT = 0, FEATURE_TYPE_LINE, FEATURE_TYPE_AREA }; + // Note! do not change this values. Should be equal with EGeomType. + enum FeatureGeoType { + FEATURE_TYPE_POINT = 0, + FEATURE_TYPE_LINE = 1, + FEATURE_TYPE_AREA = 2 + }; bool IsDrawableAny(uint32_t type); bool IsDrawableLike(vector<uint32_t> const & type, FeatureGeoType ft); |