中国全国行政代码、邮政编码、区号、名称、简称、经纬度 数据库

您所在的位置:网站首页 县级邮政编码怎么查 中国全国行政代码、邮政编码、区号、名称、简称、经纬度 数据库

中国全国行政代码、邮政编码、区号、名称、简称、经纬度 数据库

2024-07-11 06:23| 来源: 网络整理| 查看: 265

找个邮政编码数据库,下载了一堆,挑出最好的一个,来自github,包含:

行政代码、邮政编码、区号、名称、简称、经纬度

----------------------------------------------------------------------

爬取国家统计局2019年的行政区域数据(截止2019年10月31日),共78万多记录. 项目地址:https://github.com/kakuilan/china_area_mysql

CREATE TABLE `cnarea_2019` (   `id` mediumint(7) unsigned NOT NULL AUTO_INCREMENT,   `level` tinyint(1) unsigned NOT NULL COMMENT '层级',   `parent_code` bigint(14) unsigned NOT NULL DEFAULT '0' COMMENT '父级行政代码',   `area_code` bigint(14) unsigned NOT NULL DEFAULT '0' COMMENT '行政代码',   `zip_code` mediumint(6) unsigned zerofill NOT NULL DEFAULT '000000' COMMENT '邮政编码',   `city_code` char(6) NOT NULL DEFAULT '' COMMENT '区号',   `name` varchar(50) NOT NULL DEFAULT '' COMMENT '名称',   `short_name` varchar(50) NOT NULL DEFAULT '' COMMENT '简称',   `merger_name` varchar(50) NOT NULL DEFAULT '' COMMENT '组合名',   `pinyin` varchar(30) NOT NULL DEFAULT '' COMMENT '拼音',   `lng` decimal(10,6) NOT NULL DEFAULT '0.000000' COMMENT '经度',   `lat` decimal(10,6) NOT NULL DEFAULT '0.000000' COMMENT '纬度',   PRIMARY KEY (`id`),   UNIQUE KEY `uk_code` (`area_code`) USING BTREE,   KEY `idx_parent_code` (`parent_code`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=783563 DEFAULT CHARSET=utf8 COMMENT='中国行政地区表';



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3