Module: FeatureNameFlags

Defined in:
lib/thrift/geocoder_types.rb

Constant Summary collapse

PREFERRED =
1
ABBREVIATION =
2
DEACCENT =
4
ALIAS =
8
LOCAL_LANG =
16
ALT_NAME =
32
COLLOQUIAL =
64
SHORT_NAME =
128
NEVER_DISPLAY =
256
LOW_QUALITY =
512
HISTORIC =
1024
UNUSED1 =
2048
UNUSED2 =
4096
UNUSED3 =
8192
UNUSED4 =
16384
VALUE_MAP =
{1 => "PREFERRED", 2 => "ABBREVIATION", 4 => "DEACCENT", 8 => "ALIAS", 16 => "LOCAL_LANG", 32 => "ALT_NAME", 64 => "COLLOQUIAL", 128 => "SHORT_NAME", 256 => "NEVER_DISPLAY", 512 => "LOW_QUALITY", 1024 => "HISTORIC", 2048 => "UNUSED1", 4096 => "UNUSED2", 8192 => "UNUSED3", 16384 => "UNUSED4"}
VALID_VALUES =
Set.new([PREFERRED, ABBREVIATION, DEACCENT, ALIAS, LOCAL_LANG, ALT_NAME, COLLOQUIAL, SHORT_NAME, NEVER_DISPLAY, LOW_QUALITY, HISTORIC, UNUSED1, UNUSED2, UNUSED3, UNUSED4]).freeze