Skip to content

Commit

Permalink
Decrease the subdivision dataset size by removing redundant data.
Browse files Browse the repository at this point in the history
The subdivision name does not need to be specified when it matches the ID.
  • Loading branch information
bojanz committed Apr 18, 2023
1 parent d2305d9 commit 65fd20d
Show file tree
Hide file tree
Showing 441 changed files with 1 addition and 4,521 deletions.
40 changes: 0 additions & 40 deletions resources/subdivision/CN--0022a3071ef20b0e64b4ebf484142d6f.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,163 +8,123 @@
"locale": "zh-Hans",
"subdivisions": {
"Alian District": {
"name": "Alian District",
"local_name": "阿蓮區"
},
"Daliao District": {
"name": "Daliao District",
"local_name": "大寮區"
},
"Dashe District": {
"name": "Dashe District",
"local_name": "大社區"
},
"Dashu District": {
"name": "Dashu District",
"local_name": "大樹區"
},
"Dongsha Island": {
"name": "Dongsha Island",
"local_name": "東沙島"
},
"Fengshan District": {
"name": "Fengshan District",
"local_name": "鳳山區"
},
"Gangshan District": {
"name": "Gangshan District",
"local_name": "岡山區"
},
"Gushan District": {
"name": "Gushan District",
"local_name": "鼓山區"
},
"Hunei District": {
"name": "Hunei District",
"local_name": "湖內區"
},
"Jiading District": {
"name": "Jiading District",
"local_name": "茄萣區"
},
"Jiaxian District": {
"name": "Jiaxian District",
"local_name": "甲仙區"
},
"Linyuan District": {
"name": "Linyuan District",
"local_name": "林園區"
},
"Lingya District": {
"name": "Lingya District",
"local_name": "苓雅區"
},
"Liugui District": {
"name": "Liugui District",
"local_name": "六龜區"
},
"Luzhu District": {
"name": "Luzhu District",
"local_name": "路竹區"
},
"Maolin District": {
"name": "Maolin District",
"local_name": "茂林區"
},
"Meinong District": {
"name": "Meinong District",
"local_name": "美濃區"
},
"Mituo District": {
"name": "Mituo District",
"local_name": "彌陀區"
},
"Namaxia District": {
"name": "Namaxia District",
"local_name": "那瑪夏區"
},
"Nansha Island": {
"name": "Nansha Island",
"local_name": "南沙島"
},
"Nanzi District": {
"name": "Nanzi District",
"local_name": "楠梓區"
},
"Neimen District": {
"name": "Neimen District",
"local_name": "內門區"
},
"Niaosong District": {
"name": "Niaosong District",
"local_name": "鳥松區"
},
"Qijin District": {
"name": "Qijin District",
"local_name": "旗津區"
},
"Qishan District": {
"name": "Qishan District",
"local_name": "旗山區"
},
"Qianjin District": {
"name": "Qianjin District",
"local_name": "前金區"
},
"Qianzhen District": {
"name": "Qianzhen District",
"local_name": "前鎮區"
},
"Qiaotou District": {
"name": "Qiaotou District",
"local_name": "橋頭區"
},
"Renwu District": {
"name": "Renwu District",
"local_name": "仁武區"
},
"Sanmin District": {
"name": "Sanmin District",
"local_name": "三民區"
},
"Shanlin District": {
"name": "Shanlin District",
"local_name": "杉林區"
},
"Taoyuan District": {
"name": "Taoyuan District",
"local_name": "桃源區"
},
"Tianliao District": {
"name": "Tianliao District",
"local_name": "田寮區"
},
"Xiaogang District": {
"name": "Xiaogang District",
"local_name": "小港區"
},
"Xinxing District": {
"name": "Xinxing District",
"local_name": "新興區"
},
"Yancheng District": {
"name": "Yancheng District",
"local_name": "鹽埕區"
},
"Yanchao District": {
"name": "Yanchao District",
"local_name": "燕巢區"
},
"Yong'an District": {
"name": "Yong'an District",
"local_name": "永安區"
},
"Ziguan District": {
"name": "Ziguan District",
"local_name": "梓官區"
},
"Zuoying District": {
"name": "Zuoying District",
"local_name": "左營區"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,27 @@
"locale": "zh-Hans",
"subdivisions": {
"Dongshan Qu": {
"name": "Dongshan Qu",
"local_name": "东山区"
},
"Gongnong Qu": {
"name": "Gongnong Qu",
"local_name": "工农区"
},
"Luobei Xian": {
"name": "Luobei Xian",
"local_name": "萝北县"
},
"Nanshan Qu": {
"name": "Nanshan Qu",
"local_name": "南山区"
},
"Suibin Xian": {
"name": "Suibin Xian",
"local_name": "绥滨县"
},
"Xiangyang Qu": {
"name": "Xiangyang Qu",
"local_name": "向阳区"
},
"Xing'an Qu": {
"name": "Xing'an Qu",
"local_name": "兴安区"
},
"Xingshan Qu": {
"name": "Xingshan Qu",
"local_name": "兴山区"
}
}
Expand Down
12 changes: 0 additions & 12 deletions resources/subdivision/CN--00deec34d287e1fdabe3270e51ae7e4d.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,39 @@
"locale": "zh-Hans",
"subdivisions": {
"Ar Horqin Qi": {
"name": "Ar Horqin Qi",
"local_name": "阿鲁科尔沁旗"
},
"Aohan Qi": {
"name": "Aohan Qi",
"local_name": "敖汉旗"
},
"Bairin Youqi": {
"name": "Bairin Youqi",
"local_name": "巴林右旗"
},
"Bairin Zuoqi": {
"name": "Bairin Zuoqi",
"local_name": "巴林左旗"
},
"Hongshan Qu": {
"name": "Hongshan Qu",
"local_name": "红山区"
},
"Harqin Qi": {
"name": "Harqin Qi",
"local_name": "喀喇沁旗"
},
"Hexigten Qi": {
"name": "Hexigten Qi",
"local_name": "克什克腾旗"
},
"Linxi Xian": {
"name": "Linxi Xian",
"local_name": "林西县"
},
"Ningcheng Xian": {
"name": "Ningcheng Xian",
"local_name": "宁城县"
},
"Songshan Qu": {
"name": "Songshan Qu",
"local_name": "松山区"
},
"Ongniud Qi": {
"name": "Ongniud Qi",
"local_name": "翁牛特旗"
},
"Yuanbaoshan Qu": {
"name": "Yuanbaoshan Qu",
"local_name": "元宝山区"
}
}
Expand Down
20 changes: 0 additions & 20 deletions resources/subdivision/CN--00ece3cf59ea415dbbc4a9b9d2f8ebfa.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,83 +8,63 @@
"locale": "zh-Hans",
"subdivisions": {
"Baozhong Township": {
"name": "Baozhong Township",
"local_name": "褒忠鄉"
},
"Beigang Township": {
"name": "Beigang Township",
"local_name": "北港鎮"
},
"Citong Township": {
"name": "Citong Township",
"local_name": "莿桐鄉"
},
"Dapi Township": {
"name": "Dapi Township",
"local_name": "大埤鄉"
},
"Dongshi Township": {
"name": "Dongshi Township",
"local_name": "東勢鄉"
},
"Douliu City": {
"name": "Douliu City",
"local_name": "斗六市"
},
"Dounan Township": {
"name": "Dounan Township",
"local_name": "斗南鎮"
},
"Erlun Township": {
"name": "Erlun Township",
"local_name": "二崙鄉"
},
"Gukeng Township": {
"name": "Gukeng Township",
"local_name": "古坑鄉"
},
"Huwei Township": {
"name": "Huwei Township",
"local_name": "虎尾鎮"
},
"Kouhu Township": {
"name": "Kouhu Township",
"local_name": "口湖鄉"
},
"Linnei Township": {
"name": "Linnei Township",
"local_name": "林內鄉"
},
"Lunbei Township": {
"name": "Lunbei Township",
"local_name": "崙背鄉"
},
"Mailiao Township": {
"name": "Mailiao Township",
"local_name": "麥寮鄉"
},
"Shuilin Township": {
"name": "Shuilin Township",
"local_name": "水林鄉"
},
"Sihu Township": {
"name": "Sihu Township",
"local_name": "四湖鄉"
},
"Taixi Township": {
"name": "Taixi Township",
"local_name": "台西鄉"
},
"Tuku Township": {
"name": "Tuku Township",
"local_name": "土庫鎮"
},
"Xiluo Township": {
"name": "Xiluo Township",
"local_name": "西螺鎮"
},
"Yuanchang Township": {
"name": "Yuanchang Township",
"local_name": "元長鄉"
}
}
Expand Down
Loading

0 comments on commit 65fd20d

Please sign in to comment.