Module: YahooWoeType

Defined in:
lib/thrift/geocoder_types.rb

Overview

Autogenerated by Thrift Compiler (0.9.2)

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING

Constant Summary collapse

UNKNOWN =
0
TOWN =
7
ADMIN1 =
8
ADMIN2 =
9
ADMIN3 =
10
POSTAL_CODE =
11
COUNTRY =
12
ISLAND =
13
AIRPORT =
14
DRAINAGE =
15
PARK =
16
POI =
20
SUBURB =
22
SPORT =
23
COLLOQUIAL =
24
ZONE =
25
HISTORICAL_STATE =
26
HISTORICAL_COUNTY =
27
CONTINENT =
29
TIMEZONE =
31
HISTORICAL_TOWN =
35
STREET =
100
VALUE_MAP =
{0 => "UNKNOWN", 7 => "TOWN", 8 => "ADMIN1", 9 => "ADMIN2", 10 => "ADMIN3", 11 => "POSTAL_CODE", 12 => "COUNTRY", 13 => "ISLAND", 14 => "AIRPORT", 15 => "DRAINAGE", 16 => "PARK", 20 => "POI", 22 => "SUBURB", 23 => "SPORT", 24 => "COLLOQUIAL", 25 => "ZONE", 26 => "HISTORICAL_STATE", 27 => "HISTORICAL_COUNTY", 29 => "CONTINENT", 31 => "TIMEZONE", 35 => "HISTORICAL_TOWN", 100 => "STREET"}
VALID_VALUES =
Set.new([UNKNOWN, TOWN, ADMIN1, ADMIN2, ADMIN3, POSTAL_CODE, COUNTRY, ISLAND, AIRPORT, DRAINAGE, PARK, POI, SUBURB, SPORT, COLLOQUIAL, ZONE, HISTORICAL_STATE, HISTORICAL_COUNTY, CONTINENT, TIMEZONE, HISTORICAL_TOWN, STREET]).freeze