Skip to content

Commit

Permalink
新增一个ID整型化版的中国地区数据库脚本以及对应的js。
Browse files Browse the repository at this point in the history
  • Loading branch information
chency147 committed Oct 10, 2016
1 parent aa51686 commit 4c0e471
Show file tree
Hide file tree
Showing 3 changed files with 7,334 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,18 @@
每一个国家、州(省)、城市、地区的编码(code)分别为3、6、9、12位。以地区编码为例,前3位表示国家编码,前6位表示州(省) 编码,前9位表示城市编码,上级区域编码表征信息以此类推。

2016年2月12日 22:03:58

---

SQL文件备注

| 文件名 | 备注 |
| ------------------------- | ---------------------------------------- |
| world_area.sql | 世界范围的地区信息; |
| chinese_area_1.sql | 从word_area.sql中提取出中国的地区信息; |
| chinese_area_2.sql | 将chinese_area_1.sql中的省份、城市、地区的行政规划ID去除,以自定义整型取代之; |
| chinese_area_2冗余版.sql | chinese_area_2.sql中城市、地区表格包含上一级的ID和名称; |
| chinese_area_2(ID整型化).sql | chinese_area_2.sql中将省份、城市、地区的行政规划的字符串ID转化为整型。 |
| chinese_area.js | chinese_area_2(ID整型化).sql对应的js版本,可以用来制作三级联动 |

2016年10月10日 10:21:07
Loading

0 comments on commit 4c0e471

Please sign in to comment.