Skip to content

Instantly share code, notes, and snippets.

@scomma
Created August 4, 2020 07:14
Show Gist options
  • Save scomma/ae43989c6f40e46901226514c10cc6f1 to your computer and use it in GitHub Desktop.
Save scomma/ae43989c6f40e46901226514c10cc6f1 to your computer and use it in GitHub Desktop.
Postcodes
BANGKOK = [
10100, 10101, 10102, 10103, 10200, 10201, 10202,
10203, 10204, 10205, 10206, 10120, 10121, 10122,
10123, 10124, 10125, 10330, 10331, 10332, 10333,
10500, 10501, 10503, 10504, 10506, 10110, 10111,
10112, 10113, 10114, 10115, 10116, 10117, 10250,
10251, 10253, 10254, 10260, 10261, 10262, 10263,
10264, 10140, 10141, 10150, 10151, 10152, 10310,
10311, 10320, 10321, 10323, 10324, 10325, 10326,
10340, 10341, 10342, 10400, 10401, 10402, 10403,
10404, 10405, 10406, 10407, 10409, 10411, 10413,
10414, 10900, 10901, 10902, 10903, 10904, 10905,
10906, 10907, 10908, 10600, 10601, 10602, 10603,
10604, 10605, 10700, 10701, 10702, 10703, 10704,
10705, 10001, 10002, 10010, 10020, 10210, 10211,
10213, 10215, 10300, 10301, 10302, 10303, 10304,
10305, 10800, 10801, 10802, 10220, 10221, 10222,
10223, 10230, 10231, 10240, 10241, 10242, 10243,
10244, 10245, 10510, 10520, 10521, 10530, 10170,
10160, 10161, 10162, 10163, 10164
]
AMNAT_CHAROEN = [
37000, 37100, 37110, 37120, 37140, 37170, 37180,
37210, 37240, 37290
]
ANG_THONG = [
14000, 14110, 14120, 14130, 14140, 14150, 14160
]
AYUTTHAYA = [
13000, 13001, 13002, 13110, 13120, 13130, 13140,
13150, 13160, 13170, 13180, 13190, 13210, 13220,
13230, 13240, 13250, 13260, 13270, 13280, 13290
]
BURIRAM = [
31000, 31110, 31120, 31130, 31140, 31150, 31160,
31170, 31180, 31190, 31210, 31220, 31230, 31240,
31250, 31260
]
BUENG_KAN = [
38000, 38150, 38170, 38180, 38190, 38210, 38220,
43140, 43150, 43170, 43180, 43190, 43200, 43210,
43220
]
CHACHOENGSAO = [
24000, 24001, 24110, 24120, 24130, 24140, 24150,
24160, 24170, 24180, 24181, 24190
]
CHANTABURI = [
22000, 22001, 22110, 22120, 22130, 22140, 22150,
22160, 22170, 22180, 22190, 22210
]
CHAINAT = [
17000, 17100, 17110, 17120, 17130, 17140, 17150,
17160, 17170
]
CHAIYAPHUM = [
36000, 36100, 36110, 36120, 36130, 36140, 36150,
36160, 36170, 36180, 36190, 36200, 36210, 36220,
36230, 36240, 36250, 36260
]
CHONBURI = [
20110, 20111, 20120, 20210, 20230, 20231, 20232,
20280, 20000, 20001, 20002, 20130, 20131, 20140,
20160, 20170, 20190, 20220, 20240, 20270, 20150,
20180, 20181, 20182, 20250, 20251, 20260, 20261
]
CHIANGMAI = [
50120, 50160, 50230, 50240, 50260, 50270, 50310,
50340, 50360, 50000, 50007, 50100, 50101, 50130,
50131, 50140, 50200, 50201, 50202, 50203, 50204,
50205, 50110, 50150, 50170, 50190, 50280, 50320,
50330, 50350, 50180, 50210, 50220, 50250, 50290,
50300, 50301, 50302, 50303, 50304
]
CHIANGRAI = [
57000, 57001, 57002, 57100, 57110, 57120, 57130,
57150, 57170, 57180, 57220, 57240, 57250, 57260,
57270, 57280, 57140, 57160, 57190, 57210, 57230,
57290, 57310, 57340
]
CHUMPHON = [
86000, 86010, 86100, 86110, 86120, 86130, 86140,
86150, 86160, 86170, 86180, 86190, 86210, 86220,
86230
]
KALASIN = [
46000, 46100, 46110, 46120, 46130, 46140, 46150,
46160, 46170, 46180, 46190, 46200, 46210, 46220,
46230, 46240
]
KAMPHAENG_PHET = [
62000, 62110, 62120, 62130, 62140, 62150, 62160,
62170, 62180, 62190, 62210
]
KANCHANABURI = [
71000, 71110, 71120, 71121, 71130, 71140, 71150,
71160, 71170, 71180, 71190, 71210, 71220, 71240,
71250, 71260
]
KHONKAEN = [
40000, 40001, 40002, 40003, 40010, 40110, 40120,
40130, 40140, 40150, 40160, 40170, 40180, 40190,
40210, 40220, 40230, 40240, 40250, 40260, 40270,
40280, 40290, 40310, 40320, 40330, 40340, 40350
]
KRABI = [
81000, 81110, 81120, 81130, 81140, 81150, 81160,
81170, 81180, 81190, 81210
]
LAMPANG = [
52000, 52100, 52102, 52110, 52120, 52130, 52140,
52160, 52170, 52180, 52190, 52210, 52220, 52230,
52240, 52150
]
LAMPHUN = [
51000, 51010, 51110, 51120, 51130, 51140, 51150,
51160, 51170, 51180
]
LOEI = [
42000, 42001, 42100, 42110, 42120, 42130, 42140,
42150, 42160, 42170, 42180, 42190, 42200, 42210,
42220, 42230, 42240
]
LOPBURI = [
15000, 15001, 15002, 15110, 15120, 15130, 15140,
15150, 15160, 15170, 15180, 15190, 15210, 15220,
15230, 15240, 15250
]
MAEHONGSON = [
58000, 58110, 58120, 58130, 58140, 58150
]
MAHA_SARAKHAM = [
44000, 44001, 44110, 44120, 44130, 44140, 44150,
44160, 44170, 44180, 44190, 44210
]
MUKDAHAN = [
49000, 49110, 49120, 49130, 49140, 49150, 49160
]
NAKHON_NAYOK = [
26000, 26001, 26110, 26120, 26130
]
NAKHON_PATHOM = [
73000, 73001, 73110, 73120, 73130, 73140, 73150,
73160, 73170, 73180, 73190, 73210, 73220
]
NAKHON_PHANOM = [
48000, 48110, 48120, 48130, 48140, 48150, 48160,
48170, 48180, 48190
]
NAKHON_RATCHASIMA = [
30130, 30140, 30210, 30320, 30340, 30370, 30450,
30000, 30001, 30002, 30003, 30004, 30005, 30010,
30150, 30160, 30170, 30190, 30220, 30230, 30240,
30250, 30280, 30290, 30310, 30330, 30380, 30410,
30110, 30120, 30180, 30260, 30270, 30350, 30360,
30420, 30430, 30440
]
NAKHON_SAWAN = [
60000, 60001, 60002, 60010, 60110, 60120, 60130,
60140, 60150, 60160, 60170, 60180, 60190, 60210,
60220, 60230, 60240, 60250, 60260
]
NAKHON_SI_THAMMARAT = [
80000, 80001, 80002, 80003, 80110, 80120, 80130,
80140, 80141, 80150, 80160, 80161, 80170, 80180,
80190, 80210, 80220, 80230, 80240, 80250, 80260,
80270, 80280, 80290, 80310, 80320, 80330, 80340,
80350, 80360, 80370
]
NAN = [
55000, 55110, 55120, 55130, 55140, 55150, 55160,
55170, 55180, 55190, 55210, 55220
]
NARATHIWAS = [
96000, 96110, 96120, 96130, 96140, 96150, 96160,
96170, 96180, 96190, 96210, 96220
]
NONG_BUA_LAMPHU = [
39000, 39120, 39140, 39170, 39180, 39270, 39350
]
NONG_KHAI = [
43000, 43100, 43110, 43120, 43130, 43160
]
NONTHABURI = [
11140, 11141, 11150, 11110, 11130, 11000, 11002,
11003, 11004, 11005, 11120, 11121
]
PATTANI = [
94000, 94001, 94110, 94120, 94130, 94140, 94150,
94160, 94170, 94180, 94190, 94220, 94230
]
PATHUM_THANI = [
12110, 12150, 12170, 12130, 12131, 12132, 12000,
12001, 12120, 12121, 12140, 12160
]
PHANG_NGA = [
82160, 82000, 82110, 82111, 82120, 82130, 82140,
82150, 82170, 82180, 82190, 82210, 82220
]
PHATTHALUNG = [
93000, 93110, 93120, 93130, 93140, 93150, 93160,
93170, 93180, 93190, 93210
]
PHAYAO = [
56000, 56001, 56110, 56120, 56130, 56140, 56150,
56160
]
PHETCHABUN = [
67000, 67110, 67120, 67130, 67140, 67150, 67160,
67170, 67180, 67190, 67210, 67220, 67230, 67240,
67250, 67260, 67270, 67280
]
PHETCHABURI = [
76000, 76100, 76110, 76120, 76121, 76130, 76140,
76150, 76160, 76170
]
PHICHIT = [
66000, 66110, 66120, 66130, 66140, 66150, 66160,
66170, 66180, 66190, 66210, 66220, 66230
]
PHITSANULOK = [
65000, 65001, 65110, 65120, 65130, 65140, 65150,
65160, 65170, 65180, 65190, 65210, 65220, 65230,
65240
]
PHRAE = [
54000, 54001, 54110, 54120, 54130, 54140, 54150,
54160, 54170
]
PHUKET = [
83000, 83001, 83002, 83100, 83110, 83111, 83120,
83130, 83140, 83150, 83151, 83200
]
PRACHIN_BURI = [
25000, 25110, 25130, 25140, 25141, 25150,
25190, 25220, 25230, 25240
]
PRACHUAB_KHIRI_KHAN = [
77000, 77130, 77140, 77170, 77190, 77210, 77230,
77110, 77111, 77120, 77150, 77160, 77180, 77220
]
RATCHABURI = [
70000, 70001, 70110, 70120, 70130, 70140, 70150,
70160, 70170, 70180, 70190, 70210
]
RANONG = [
85000, 85001, 85110, 85120, 85130
]
RAYONG = [
21000, 21001, 21100, 21110, 21120, 21150, 21152,
21160, 21170, 21190, 21210, 21130, 21140, 21180
]
ROI_ET = [
45000, 45110, 45120, 45130, 45140, 45150, 45160,
45170, 45180, 45190, 45210, 45220, 45230, 45240,
45250, 45280
]
SA_KAEW = [
27000, 27120, 27121, 27160, 27180, 27210, 27250, 27260
]
SAKON_NAKHON = [
47000, 47001, 47110, 47120, 47130, 47140, 47150,
47160, 47170, 47180, 47190, 47210, 47220, 47230,
47240, 47250, 47260, 47270, 47280, 47290
]
SAMUT_PRAKAN = [
10290, 10280, 10130, 10131, 10132, 10270, 10271,
10272, 10273, 10540, 10541, 10542, 10543, 10550,
10560, 10570
]
SAMUT_SAKHON = [
74000, 74001, 74002, 74110, 74120, 74130
]
SAMUT_SONGKHRAM = [
75000, 75110, 75120
]
SARABURI = [
18000, 18001, 18110, 18120, 18130, 18140, 18150,
18160, 18170, 18180, 18190, 18210, 18220, 18230,
18240, 18250, 18260, 18270
]
SATUN = [
91000, 91110, 91120, 91130, 91140, 91150, 91160
]
SING_BURI = [
16000, 16110, 16111, 16120, 16130, 16140, 16150,
16160
]
SISAKET = [
33000, 33001, 33110, 33120, 33130, 33140, 33150,
33160, 33170, 33180, 33190, 33210, 33220, 33230,
33240, 33250, 33270
]
SONGKHLA = [
90000, 90001, 90100, 90110, 90111, 90112, 90113,
90114, 90115, 90120, 90130, 90140, 90150, 90160,
90170, 90180, 90190, 90210, 90220, 90230, 90240,
90250, 90260, 90270, 90280, 90310, 90320, 90330
]
SUKHOTHAI = [
64000, 64110, 64120, 64130, 64140, 64150, 64160,
64170, 64180, 64190, 64210, 64220, 64230
]
SUPHAN_BURI = [
72000, 72001, 72110, 72120, 72130, 72140, 72150,
72160, 72170, 72180, 72190, 72210, 72220, 72230,
72240, 72250
]
SURAT_THANI = [
84140, 84280, 84310, 84320, 84330, 84000, 84001,
84100, 84110, 84120, 84130, 84131, 84150, 84160,
84170, 84180, 84190, 84210, 84220, 84230, 84240,
84250, 84260, 84270, 84290, 84340, 84350, 84360
]
SURIN = [
32000, 32001, 32002, 32110, 32120, 32130, 32140,
32150, 32160, 32170, 32180, 32190, 32210, 32220,
32230
]
TAK = [
63000, 63120, 63130, 63110, 63140, 63150, 63160,
63170
]
TRANG = [
92000, 92001, 92110, 92120, 92130, 92140, 92150,
92160, 92170, 92180, 92190, 92210, 92220
]
TRAT = [
23000, 23110, 23120, 23130, 23140, 23150, 23160,
23170
]
UBON_RATCHATHANI = [
34000, 34001, 34002, 34003, 34110, 34130, 34140,
34150, 34160, 34170, 34190, 34220, 34230, 34250,
34260, 34270, 34280, 34310, 34320, 34330, 34340,
34350, 34360
]
UDON_THANI = [
41000, 41001, 41002, 41010, 41110, 41130, 41150,
41160, 41190, 41210, 41220, 41230, 41240, 41250,
41260, 41280, 41290, 41310, 41320, 41330, 41340,
41360, 41370, 41380
]
UTHAI_THANI = [
61000, 61110, 61120, 61130, 61140, 61150, 61160,
61170, 61180
]
UTTARADIT = [
53000, 53001, 53110, 53120, 53130, 53140, 53150,
53160, 53170, 53180, 53190, 53210, 53220, 53230
]
YALA = [
95000, 95001, 95110, 95120, 95130, 95140, 95150,
95160, 95170
]
YASOTHON = [
35000, 35110, 35120, 35130, 35140, 35150, 35160,
35170, 35180
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment