首页 > 其他分享 >地理位置相关基础数据

地理位置相关基础数据

时间:2024-07-26 16:52:10浏览次数:17  
标签:code name 地理位置 adcode longitude latitude 相关 数据 children

基础数据

LONGITUDE_LATITUDE = {
    "110000": {"name": "北京市", "latitude": 39.904989, "longitude": 116.405285},
    "110101": {"name": "东城区", "latitude": 39.917544, "longitude": 116.418757},
    "110102": {"name": "西城区", "latitude": 39.915309, "longitude": 116.366794},
    "110105": {"name": "朝阳区", "latitude": 39.921489, "longitude": 116.486409},
    "110106": {"name": "丰台区", "latitude": 39.863642, "longitude": 116.286968},
    "110107": {"name": "石景山区", "latitude": 39.914601, "longitude": 116.195445},
    "110108": {"name": "海淀区", "latitude": 39.956074, "longitude": 116.310316},
    "110109": {"name": "门头沟区", "latitude": 39.937183, "longitude": 116.105381},
    "110111": {"name": "房山区", "latitude": 39.735535, "longitude": 116.139157},
    "110112": {"name": "通州区", "latitude": 39.902486, "longitude": 116.658603},
    "110113": {"name": "顺义区", "latitude": 40.128936, "longitude": 116.653525},
    "110114": {"name": "昌平区", "latitude": 40.218085, "longitude": 116.235906},
    "110115": {"name": "大兴区", "latitude": 39.728908, "longitude": 116.338033},
    "110116": {"name": "怀柔区", "latitude": 40.324272, "longitude": 116.637122},
    "110117": {"name": "平谷区", "latitude": 40.144783, "longitude": 117.112335},
    "110118": {"name": "密云区", "latitude": 40.377362, "longitude": 116.843352},
    "110119": {"name": "延庆区", "latitude": 40.465325, "longitude": 115.985006},
    "120000": {"name": "天津市", "latitude": 39.125596, "longitude": 117.190182},
    "120101": {"name": "和平区", "latitude": 39.118327, "longitude": 117.195907},
    "120102": {"name": "河东区", "latitude": 39.122125, "longitude": 117.226568},
    "120103": {"name": "河西区", "latitude": 39.101897, "longitude": 117.217536},
    "120104": {"name": "南开区", "latitude": 39.120474, "longitude": 117.164143},
    "120105": {"name": "河北区", "latitude": 39.156632, "longitude": 117.201569},
    "120106": {"name": "红桥区", "latitude": 39.175066, "longitude": 117.163301},
    "120110": {"name": "东丽区", "latitude": 39.087764, "longitude": 117.313967},
    "120111": {"name": "西青区", "latitude": 39.139446, "longitude": 117.012247},
    "120112": {"name": "津南区", "latitude": 38.989577, "longitude": 117.382549},
    "120113": {"name": "北辰区", "latitude": 39.225555, "longitude": 117.13482},
    "120114": {"name": "武清区", "latitude": 39.376925, "longitude": 117.057959},
    "120115": {"name": "宝坻区", "latitude": 39.716965, "longitude": 117.308094},
    "120116": {"name": "滨海新区", "latitude": 39.032846, "longitude": 117.654173},
    "120117": {"name": "宁河区", "latitude": 39.328886, "longitude": 117.82828},
    "120118": {"name": "静海区", "latitude": 38.935671, "longitude": 116.925304},
    "120119": {"name": "蓟州区", "latitude": 40.045342, "longitude": 117.407449},
    "130000": {"name": "河北省", "latitude": 38.045474, "longitude": 114.502461},
    "130100": {"name": "石家庄市", "latitude": 38.045474, "longitude": 114.502461},
    "130200": {"name": "唐山市", "latitude": 39.635113, "longitude": 118.175393},
    "130300": {"name": "秦皇岛市", "latitude": 39.942531, "longitude": 119.586579},
    "130400": {"name": "邯郸市", "latitude": 36.612273, "longitude": 114.490686},
    "130500": {"name": "邢台市", "latitude": 37.0682, "longitude": 114.508851},
    "130600": {"name": "保定市", "latitude": 38.867657, "longitude": 115.482331},
    "130700": {"name": "张家口市", "latitude": 40.811901, "longitude": 114.884091},
    "130800": {"name": "承德市", "latitude": 40.976204, "longitude": 117.939152},
    "130900": {"name": "沧州市", "latitude": 38.310582, "longitude": 116.857461},
    "131000": {"name": "廊坊市", "latitude": 39.523927, "longitude": 116.704441},
    "131100": {"name": "衡水市", "latitude": 37.735097, "longitude": 115.665993},
    "140000": {"name": "山西省", "latitude": 37.857014, "longitude": 112.549248},
    "140100": {"name": "太原市", "latitude": 37.857014, "longitude": 112.549248},
    "140200": {"name": "大同市", "latitude": 40.09031, "longitude": 113.295259},
    "140300": {"name": "阳泉市", "latitude": 37.861188, "longitude": 113.583285},
    "140400": {"name": "长治市", "latitude": 36.191112, "longitude": 113.113556},
    "140500": {"name": "晋城市", "latitude": 35.497553, "longitude": 112.851274},
    "140600": {"name": "朔州市", "latitude": 39.331261, "longitude": 112.433387},
    "140700": {"name": "晋中市", "latitude": 37.696495, "longitude": 112.736465},
    "140800": {"name": "运城市", "latitude": 35.022778, "longitude": 111.003957},
    "140900": {"name": "忻州市", "latitude": 38.41769, "longitude": 112.733538},
    "141000": {"name": "临汾市", "latitude": 36.08415, "longitude": 111.517973},
    "141100": {"name": "吕梁市", "latitude": 37.524366, "longitude": 111.134335},
    "150000": {"name": "内蒙古自治区", "latitude": 40.818311, "longitude": 111.670801},
    "150100": {"name": "呼和浩特市", "latitude": 40.818311, "longitude": 111.670801},
    "150200": {"name": "包头市", "latitude": 40.658168, "longitude": 109.840405},
    "150300": {"name": "乌海市", "latitude": 39.673734, "longitude": 106.825563},
    "150400": {"name": "赤峰市", "latitude": 42.275317, "longitude": 118.956806},
    "150500": {"name": "通辽市", "latitude": 43.617429, "longitude": 122.263119},
    "150600": {"name": "鄂尔多斯市", "latitude": 39.817179, "longitude": 109.99029},
    "150700": {"name": "呼伦贝尔市", "latitude": 49.215333, "longitude": 119.758168},
    "150800": {"name": "巴彦淖尔市", "latitude": 40.757402, "longitude": 107.416959},
    "150900": {"name": "乌兰察布市", "latitude": 41.034126, "longitude": 113.114543},
    "152200": {"name": "兴安盟", "latitude": 46.076268, "longitude": 122.070317},
    "152500": {"name": "锡林郭勒盟", "latitude": 43.944018, "longitude": 116.090996},
    "152900": {"name": "阿拉善盟", "latitude": 38.844814, "longitude": 105.706422},
    "210000": {"name": "辽宁省", "latitude": 41.796767, "longitude": 123.429096},
    "210100": {"name": "沈阳市", "latitude": 41.796767, "longitude": 123.429096},
    "210200": {"name": "大连市", "latitude": 38.91459, "longitude": 121.618622},
    "210300": {"name": "鞍山市", "latitude": 41.110626, "longitude": 122.995632},
    "210400": {"name": "抚顺市", "latitude": 41.875956, "longitude": 123.921109},
    "210500": {"name": "本溪市", "latitude": 41.297909, "longitude": 123.770519},
    "210600": {"name": "丹东市", "latitude": 40.124296, "longitude": 124.383044},
    "210700": {"name": "锦州市", "latitude": 41.119269, "longitude": 121.135742},
    "210800": {"name": "营口市", "latitude": 40.667432, "longitude": 122.235151},
    "210900": {"name": "阜新市", "latitude": 42.011796, "longitude": 121.648962},
    "211000": {"name": "辽阳市", "latitude": 41.269402, "longitude": 123.18152},
    "211100": {"name": "盘锦市", "latitude": 41.124484, "longitude": 122.06957},
    "211200": {"name": "铁岭市", "latitude": 42.290585, "longitude": 123.844279},
    "211300": {"name": "朝阳市", "latitude": 41.576758, "longitude": 120.451176},
    "211400": {"name": "葫芦岛市", "latitude": 40.755572, "longitude": 120.856394},
    "220000": {"name": "吉林省", "latitude": 43.886841, "longitude": 125.3245},
    "220100": {"name": "长春市", "latitude": 43.886841, "longitude": 125.3245},
    "220200": {"name": "吉林市", "latitude": 43.843577, "longitude": 126.55302},
    "220300": {"name": "四平市", "latitude": 43.170344, "longitude": 124.370785},
    "220400": {"name": "辽源市", "latitude": 42.902692, "longitude": 125.145349},
    "220500": {"name": "通化市", "latitude": 41.721177, "longitude": 125.936501},
    "220600": {"name": "白山市", "latitude": 41.942505, "longitude": 126.427839},
    "220700": {"name": "松原市", "latitude": 45.118243, "longitude": 124.823608},
    "220800": {"name": "白城市", "latitude": 45.619026, "longitude": 122.841114},
    "222400": {"name": "延边朝鲜族自治州", "latitude": 42.904823, "longitude": 129.513228},
    "230000": {"name": "黑龙江省", "latitude": 45.756967, "longitude": 126.642464},
    "230100": {"name": "哈尔滨市", "latitude": 45.756967, "longitude": 126.642464},
    "230200": {"name": "齐齐哈尔市", "latitude": 47.342081, "longitude": 123.95792},
    "230300": {"name": "鸡西市", "latitude": 45.300046, "longitude": 130.975966},
    "230400": {"name": "鹤岗市", "latitude": 47.332085, "longitude": 130.277487},
    "230500": {"name": "双鸭山市", "latitude": 46.643442, "longitude": 131.157304},
    "230600": {"name": "大庆市", "latitude": 46.590734, "longitude": 125.11272},
    "230700": {"name": "伊春市", "latitude": 47.724775, "longitude": 128.899396},
    "230800": {"name": "佳木斯市", "latitude": 46.809606, "longitude": 130.361634},
    "230900": {"name": "七台河市", "latitude": 45.771266, "longitude": 131.015584},
    "231000": {"name": "牡丹江市", "latitude": 44.582962, "longitude": 129.618602},
    "231100": {"name": "黑河市", "latitude": 50.249585, "longitude": 127.499023},
    "231200": {"name": "绥化市", "latitude": 46.637393, "longitude": 126.99293},
    "232700": {"name": "大兴安岭地区", "latitude": 52.335262, "longitude": 124.711526},
    "310000": {"name": "上海市", "latitude": 31.231706, "longitude": 121.472644},
    "310101": {"name": "黄浦区", "latitude": 31.222771, "longitude": 121.490317},
    "310104": {"name": "徐汇区", "latitude": 31.179973, "longitude": 121.43752},
    "310105": {"name": "长宁区", "latitude": 31.218123, "longitude": 121.4222},
    "310106": {"name": "静安区", "latitude": 31.229003, "longitude": 121.448224},
    "310107": {"name": "普陀区", "latitude": 31.241701, "longitude": 121.392499},
    "310109": {"name": "虹口区", "latitude": 31.26097, "longitude": 121.491832},
    "310110": {"name": "杨浦区", "latitude": 31.270755, "longitude": 121.522797},
    "310112": {"name": "闵行区", "latitude": 31.111658, "longitude": 121.375972},
    "310113": {"name": "宝山区", "latitude": 31.398896, "longitude": 121.489934},
    "310114": {"name": "嘉定区", "latitude": 31.383524, "longitude": 121.250333},
    "310115": {"name": "浦东新区", "latitude": 31.245944, "longitude": 121.567706},
    "310116": {"name": "金山区", "latitude": 30.724697, "longitude": 121.330736},
    "310117": {"name": "松江区", "latitude": 31.03047, "longitude": 121.223543},
    "310118": {"name": "青浦区", "latitude": 31.151209, "longitude": 121.113021},
    "310120": {"name": "奉贤区", "latitude": 30.912345, "longitude": 121.458472},
    "310151": {"name": "崇明区", "latitude": 31.626946, "longitude": 121.397516},
    "320000": {"name": "江苏省", "latitude": 32.041544, "longitude": 118.767413},
    "320100": {"name": "南京市", "latitude": 32.041544, "longitude": 118.767413},
    "320200": {"name": "无锡市", "latitude": 31.574729, "longitude": 120.301663},
    "320300": {"name": "徐州市", "latitude": 34.261792, "longitude": 117.184811},
    "320400": {"name": "常州市", "latitude": 31.772752, "longitude": 119.946973},
    "320500": {"name": "苏州市", "latitude": 31.299379, "longitude": 120.619585},
    "320600": {"name": "南通市", "latitude": 32.016212, "longitude": 120.864608},
    "320700": {"name": "连云港市", "latitude": 34.600018, "longitude": 119.178821},
    "320800": {"name": "淮安市", "latitude": 33.597506, "longitude": 119.021265},
    "320900": {"name": "盐城市", "latitude": 33.377631, "longitude": 120.139998},
    "321000": {"name": "扬州市", "latitude": 32.393159, "longitude": 119.421003},
    "321100": {"name": "镇江市", "latitude": 32.204402, "longitude": 119.452753},
    "321200": {"name": "泰州市", "latitude": 32.484882, "longitude": 119.915176},
    "321300": {"name": "宿迁市", "latitude": 33.963008, "longitude": 118.275162},
    "330000": {"name": "浙江省", "latitude": 30.287459, "longitude": 120.153576},
    "330100": {"name": "杭州市", "latitude": 30.287459, "longitude": 120.153576},
    "330200": {"name": "宁波市", "latitude": 29.868388, "longitude": 121.549792},
    "330300": {"name": "温州市", "latitude": 28.000575, "longitude": 120.672111},
    "330400": {"name": "嘉兴市", "latitude": 30.762653, "longitude": 120.750865},
    "330500": {"name": "湖州市", "latitude": 30.867198, "longitude": 120.102398},
    "330600": {"name": "绍兴市", "latitude": 29.997117, "longitude": 120.582112},
    "330700": {"name": "金华市", "latitude": 29.089524, "longitude": 119.649506},
    "330800": {"name": "衢州市", "latitude": 28.941708, "longitude": 118.87263},
    "330900": {"name": "舟山市", "latitude": 30.016028, "longitude": 122.106863},
    "331000": {"name": "台州市", "latitude": 28.661378, "longitude": 121.428599},
    "331100": {"name": "丽水市", "latitude": 28.451993, "longitude": 119.921786},
    "340000": {"name": "安徽省", "latitude": 31.86119, "longitude": 117.283042},
    "340100": {"name": "合肥市", "latitude": 31.86119, "longitude": 117.283042},
    "340200": {"name": "芜湖市", "latitude": 31.326319, "longitude": 118.376451},
    "340300": {"name": "蚌埠市", "latitude": 32.939667, "longitude": 117.363228},
    "340400": {"name": "淮南市", "latitude": 32.647574, "longitude": 117.018329},
    "340500": {"name": "马鞍山市", "latitude": 31.689362, "longitude": 118.507906},
    "340600": {"name": "淮北市", "latitude": 33.971707, "longitude": 116.794664},
    "340700": {"name": "铜陵市", "latitude": 30.929935, "longitude": 117.816576},
    "340800": {"name": "安庆市", "latitude": 30.50883, "longitude": 117.043551},
    "341000": {"name": "黄山市", "latitude": 29.709239, "longitude": 118.317325},
    "341100": {"name": "滁州市", "latitude": 32.303627, "longitude": 118.316264},
    "341200": {"name": "阜阳市", "latitude": 32.896969, "longitude": 115.819729},
    "341300": {"name": "宿州市", "latitude": 33.633891, "longitude": 116.984084},
    "341500": {"name": "六安市", "latitude": 31.752889, "longitude": 116.507676},
    "341600": {"name": "亳州市", "latitude": 33.869338, "longitude": 115.782939},
    "341700": {"name": "池州市", "latitude": 30.656037, "longitude": 117.489157},
    "341800": {"name": "宣城市", "latitude": 30.945667, "longitude": 118.757995},
    "350000": {"name": "福建省", "latitude": 26.075302, "longitude": 119.306239},
    "350100": {"name": "福州市", "latitude": 26.075302, "longitude": 119.306239},
    "350200": {"name": "厦门市", "latitude": 24.490474, "longitude": 118.11022},
    "350300": {"name": "莆田市", "latitude": 25.431011, "longitude": 119.007558},
    "350400": {"name": "三明市", "latitude": 26.265444, "longitude": 117.635001},
    "350500": {"name": "泉州市", "latitude": 24.908853, "longitude": 118.589421},
    "350600": {"name": "漳州市", "latitude": 24.510897, "longitude": 117.661801},
    "350700": {"name": "南平市", "latitude": 26.635627, "longitude": 118.178459},
    "350800": {"name": "龙岩市", "latitude": 25.091603, "longitude": 117.02978},
    "350900": {"name": "宁德市", "latitude": 26.65924, "longitude": 119.527082},
    "360000": {"name": "江西省", "latitude": 28.676493, "longitude": 115.892151},
    "360100": {"name": "南昌市", "latitude": 28.676493, "longitude": 115.892151},
    "360200": {"name": "景德镇市", "latitude": 29.29256, "longitude": 117.214664},
    "360300": {"name": "萍乡市", "latitude": 27.622946, "longitude": 113.852186},
    "360400": {"name": "九江市", "latitude": 29.712034, "longitude": 115.992811},
    "360500": {"name": "新余市", "latitude": 27.810834, "longitude": 114.930835},
    "360600": {"name": "鹰潭市", "latitude": 28.238638, "longitude": 117.033838},
    "360700": {"name": "赣州市", "latitude": 25.85097, "longitude": 114.940278},
    "360800": {"name": "吉安市", "latitude": 27.111699, "longitude": 114.986373},
    "360900": {"name": "宜春市", "latitude": 27.8043, "longitude": 114.391136},
    "361000": {"name": "抚州市", "latitude": 27.98385, "longitude": 116.358351},
    "361100": {"name": "上饶市", "latitude": 28.44442, "longitude": 117.971185},
    "370000": {"name": "山东省", "latitude": 36.675807, "longitude": 117.000923},
    "370100": {"name": "济南市", "latitude": 36.675807, "longitude": 117.000923},
    "370200": {"name": "青岛市", "latitude": 36.082982, "longitude": 120.355173},
    "370300": {"name": "淄博市", "latitude": 36.814939, "longitude": 118.047648},
    "370400": {"name": "枣庄市", "latitude": 34.856424, "longitude": 117.557964},
    "370500": {"name": "东营市", "latitude": 37.434564, "longitude": 118.66471},
    "370600": {"name": "烟台市", "latitude": 37.539297, "longitude": 121.391382},
    "370700": {"name": "潍坊市", "latitude": 36.70925, "longitude": 119.107078},
    "370800": {"name": "济宁市", "latitude": 35.415393, "longitude": 116.587245},
    "370900": {"name": "泰安市", "latitude": 36.194968, "longitude": 117.129063},
    "371000": {"name": "威海市", "latitude": 37.509691, "longitude": 122.116394},
    "371100": {"name": "日照市", "latitude": 35.428588, "longitude": 119.461208},
    "371200": {"name": "莱芜市", "latitude": 36.214397, "longitude": 117.677736},
    "371300": {"name": "临沂市", "latitude": 35.065282, "longitude": 118.326443},
    "371400": {"name": "德州市", "latitude": 37.453968, "longitude": 116.307428},
    "371500": {"name": "聊城市", "latitude": 36.456013, "longitude": 115.980367},
    "371600": {"name": "滨州市", "latitude": 37.383542, "longitude": 118.016974},
    "371700": {"name": "菏泽市", "latitude": 35.246531, "longitude": 115.469381},
    "410000": {"name": "河南省", "latitude": 34.757975, "longitude": 113.665412},
    "410100": {"name": "郑州市", "latitude": 34.757975, "longitude": 113.665412},
    "410200": {"name": "开封市", "latitude": 34.797049, "longitude": 114.341447},
    "410300": {"name": "洛阳市", "latitude": 34.663041, "longitude": 112.434468},
    "410400": {"name": "平顶山市", "latitude": 33.735241, "longitude": 113.307718},
    "410500": {"name": "安阳市", "latitude": 36.103442, "longitude": 114.352482},
    "410600": {"name": "鹤壁市", "latitude": 35.748236, "longitude": 114.295444},
    "410700": {"name": "新乡市", "latitude": 35.302616, "longitude": 113.883991},
    "410800": {"name": "焦作市", "latitude": 35.23904, "longitude": 113.238266},
    "410900": {"name": "濮阳市", "latitude": 35.768234, "longitude": 115.041299},
    "411000": {"name": "许昌市", "latitude": 34.022956, "longitude": 113.826063},
    "411100": {"name": "漯河市", "latitude": 33.575855, "longitude": 114.026405},
    "411200": {"name": "三门峡市", "latitude": 34.777338, "longitude": 111.194099},
    "411300": {"name": "南阳市", "latitude": 32.999082, "longitude": 112.540918},
    "411400": {"name": "商丘市", "latitude": 34.437054, "longitude": 115.650497},
    "411500": {"name": "信阳市", "latitude": 32.123274, "longitude": 114.075031},
    "411600": {"name": "周口市", "latitude": 33.620357, "longitude": 114.649653},
    "411700": {"name": "驻马店市", "latitude": 32.980169, "longitude": 114.024736},
    "419001": {"name": "济源市", "latitude": 35.090378, "longitude": 112.590047},
    "420000": {"name": "湖北省", "latitude": 30.584355, "longitude": 114.298572},
    "420100": {"name": "武汉市", "latitude": 30.584355, "longitude": 114.298572},
    "420200": {"name": "黄石市", "latitude": 30.220074, "longitude": 115.077048},
    "420300": {"name": "十堰市", "latitude": 32.646907, "longitude": 110.787916},
    "420500": {"name": "宜昌市", "latitude": 30.702636, "longitude": 111.290843},
    "420600": {"name": "襄阳市", "latitude": 32.042426, "longitude": 112.144146},
    "420700": {"name": "鄂州市", "latitude": 30.396536, "longitude": 114.890593},
    "420800": {"name": "荆门市", "latitude": 31.03542, "longitude": 112.204251},
    "420900": {"name": "孝感市", "latitude": 30.926423, "longitude": 113.926655},
    "421000": {"name": "荆州市", "latitude": 30.326857, "longitude": 112.23813},
    "421100": {"name": "黄冈市", "latitude": 30.447711, "longitude": 114.879365},
    "421200": {"name": "咸宁市", "latitude": 29.832798, "longitude": 114.328963},
    "421300": {"name": "随州市", "latitude": 31.717497, "longitude": 113.37377},
    "422800": {"name": "恩施土家族苗族自治州", "latitude": 30.283114, "longitude": 109.48699},
    "429004": {"name": "仙桃市", "latitude": 30.364953, "longitude": 113.453974},
    "429005": {"name": "潜江市", "latitude": 30.421215, "longitude": 112.896866},
    "429006": {"name": "天门市", "latitude": 30.653061, "longitude": 113.165862},
    "429021": {"name": "神农架林区", "latitude": 31.744449, "longitude": 110.671525},
    "430000": {"name": "湖南省", "latitude": 28.19409, "longitude": 112.982279},
    "430100": {"name": "长沙市", "latitude": 28.19409, "longitude": 112.982279},
    "430200": {"name": "株洲市", "latitude": 27.835806, "longitude": 113.151737},
    "430300": {"name": "湘潭市", "latitude": 27.82973, "longitude": 112.944052},
    "430400": {"name": "衡阳市", "latitude": 26.900358, "longitude": 112.607693},
    "430500": {"name": "邵阳市", "latitude": 27.237842, "longitude": 111.46923},
    "430600": {"name": "岳阳市", "latitude": 29.37029, "longitude": 113.132855},
    "430700": {"name": "常德市", "latitude": 29.040225, "longitude": 111.691347},
    "430800": {"name": "张家界市", "latitude": 29.127401, "longitude": 110.479921},
    "430900": {"name": "益阳市", "latitude": 28.570066, "longitude": 112.355042},
    "431000": {"name": "郴州市", "latitude": 25.793589, "longitude": 113.032067},
    "431100": {"name": "永州市", "latitude": 26.434516, "longitude": 111.608019},
    "431200": {"name": "怀化市", "latitude": 27.550082, "longitude": 109.97824},
    "431300": {"name": "娄底市", "latitude": 27.728136, "longitude": 112.008497},
    "433100": {"name": "湘西土家族苗族自治州", "latitude": 28.314296, "longitude": 109.739735},
    "440000": {"name": "广东省", "latitude": 23.125178, "longitude": 113.280637},
    "440100": {"name": "广州市", "latitude": 23.125178, "longitude": 113.280637},
    "440200": {"name": "韶关市", "latitude": 24.801322, "longitude": 113.591544},
    "440300": {"name": "深圳市", "latitude": 22.547, "longitude": 114.085947},
    "440400": {"name": "珠海市", "latitude": 22.224979, "longitude": 113.553986},
    "440500": {"name": "汕头市", "latitude": 23.37102, "longitude": 116.708463},
    "440600": {"name": "佛山市", "latitude": 23.028762, "longitude": 113.122717},
    "440700": {"name": "江门市", "latitude": 22.590431, "longitude": 113.094942},
    "440800": {"name": "湛江市", "latitude": 21.274898, "longitude": 110.364977},
    "440900": {"name": "茂名市", "latitude": 21.659751, "longitude": 110.919229},
    "441200": {"name": "肇庆市", "latitude": 23.051546, "longitude": 112.472529},
    "441300": {"name": "惠州市", "latitude": 23.079404, "longitude": 114.412599},
    "441400": {"name": "梅州市", "latitude": 24.299112, "longitude": 116.117582},
    "441500": {"name": "汕尾市", "latitude": 22.774485, "longitude": 115.364238},
    "441600": {"name": "河源市", "latitude": 23.746266, "longitude": 114.697802},
    "441700": {"name": "阳江市", "latitude": 21.859222, "longitude": 111.975107},
    "441800": {"name": "清远市", "latitude": 23.685022, "longitude": 113.051227},
    "441900": {"name": "东莞市", "latitude": 23.046237, "longitude": 113.746262},
    "442000": {"name": "中山市", "latitude": 22.521113, "longitude": 113.382391},
    "445100": {"name": "潮州市", "latitude": 23.661701, "longitude": 116.632301},
    "445200": {"name": "揭阳市", "latitude": 23.543778, "longitude": 116.355733},
    "445300": {"name": "云浮市", "latitude": 22.929801, "longitude": 112.044439},
    "450000": {"name": "广西壮族自治区", "latitude": 22.82402, "longitude": 108.320004},
    "450100": {"name": "南宁市", "latitude": 22.82402, "longitude": 108.320004},
    "450200": {"name": "柳州市", "latitude": 24.314617, "longitude": 109.411703},
    "450300": {"name": "桂林市", "latitude": 25.274215, "longitude": 110.299121},
    "450400": {"name": "梧州市", "latitude": 23.474803, "longitude": 111.297604},
    "450500": {"name": "北海市", "latitude": 21.473343, "longitude": 109.119254},
    "450600": {"name": "防城港市", "latitude": 21.614631, "longitude": 108.345478},
    "450700": {"name": "钦州市", "latitude": 21.967127, "longitude": 108.624175},
    "450800": {"name": "贵港市", "latitude": 23.0936, "longitude": 109.602146},
    "450900": {"name": "玉林市", "latitude": 22.63136, "longitude": 110.154393},
    "451000": {"name": "百色市", "latitude": 23.897742, "longitude": 106.616285},
    "451100": {"name": "贺州市", "latitude": 24.414141, "longitude": 111.552056},
    "451200": {"name": "河池市", "latitude": 24.695899, "longitude": 108.062105},
    "451300": {"name": "来宾市", "latitude": 23.733766, "longitude": 109.229772},
    "451400": {"name": "崇左市", "latitude": 22.404108, "longitude": 107.353926},
    "460000": {"name": "海南省", "latitude": 20.031971, "longitude": 110.33119},
    "460100": {"name": "海口市", "latitude": 20.031971, "longitude": 110.33119},
    "460200": {"name": "三亚市", "latitude": 18.247872, "longitude": 109.508268},
    "460300": {"name": "三沙市", "latitude": 16.831039, "longitude": 112.34882},
    "460400": {"name": "儋州市", "latitude": 19.517486, "longitude": 109.576782},
    "469001": {"name": "五指山市", "latitude": 18.776921, "longitude": 109.516662},
    "469002": {"name": "琼海市", "latitude": 19.246011, "longitude": 110.466785},
    "469005": {"name": "文昌市", "latitude": 19.612986, "longitude": 110.753975},
    "469006": {"name": "万宁市", "latitude": 18.796216, "longitude": 110.388793},
    "469007": {"name": "东方市", "latitude": 19.10198, "longitude": 108.653789},
    "469021": {"name": "定安县", "latitude": 19.684966, "longitude": 110.349235},
    "469022": {"name": "屯昌县", "latitude": 19.362916, "longitude": 110.102773},
    "469023": {"name": "澄迈县", "latitude": 19.737095, "longitude": 110.007147},
    "469024": {"name": "临高县", "latitude": 19.908293, "longitude": 109.687697},
    "469025": {"name": "白沙黎族自治县", "latitude": 19.224584, "longitude": 109.452606},
    "469026": {"name": "昌江黎族自治县", "latitude": 19.260968, "longitude": 109.053351},
    "469027": {"name": "乐东黎族自治县", "latitude": 18.74758, "longitude": 109.175444},
    "469028": {"name": "陵水黎族自治县", "latitude": 18.505006, "longitude": 110.037218},
    "469029": {"name": "保亭黎族苗族自治县", "latitude": 18.636371, "longitude": 109.70245},
    "469030": {"name": "琼中黎族苗族自治县", "latitude": 19.03557, "longitude": 109.839996},
    "500000": {"name": "重庆市", "latitude": 29.533155, "longitude": 106.504962},
    "500101": {"name": "万州区", "latitude": 30.807807, "longitude": 108.380246},
    "500102": {"name": "涪陵区", "latitude": 29.703652, "longitude": 107.394905},
    "500103": {"name": "渝中区", "latitude": 29.556742, "longitude": 106.56288},
    "500104": {"name": "大渡口区", "latitude": 29.481002, "longitude": 106.48613},
    "500105": {"name": "江北区", "latitude": 29.575352, "longitude": 106.532844},
    "500106": {"name": "沙坪坝区", "latitude": 29.541224, "longitude": 106.4542},
    "500107": {"name": "九龙坡区", "latitude": 29.523492, "longitude": 106.480989},
    "500108": {"name": "南岸区", "latitude": 29.523992, "longitude": 106.560813},
    "500109": {"name": "北碚区", "latitude": 29.82543, "longitude": 106.437868},
    "500110": {"name": "綦江区", "latitude": 29.028091, "longitude": 106.651417},
    "500111": {"name": "大足区", "latitude": 29.700498, "longitude": 105.715319},
    "500112": {"name": "渝北区", "latitude": 29.601451, "longitude": 106.512851},
    "500113": {"name": "巴南区", "latitude": 29.381919, "longitude": 106.519423},
    "500114": {"name": "黔江区", "latitude": 29.527548, "longitude": 108.782577},
    "500115": {"name": "长寿区", "latitude": 29.833671, "longitude": 107.074854},
    "500116": {"name": "江津区", "latitude": 29.283387, "longitude": 106.253156},
    "500117": {"name": "合川区", "latitude": 29.990993, "longitude": 106.265554},
    "500118": {"name": "永川区", "latitude": 29.348748, "longitude": 105.894714},
    "500119": {"name": "南川区", "latitude": 29.156646, "longitude": 107.098153},
    "500120": {"name": "璧山区", "latitude": 29.593581, "longitude": 106.231126},
    "500151": {"name": "铜梁区", "latitude": 29.839944, "longitude": 106.054948},
    "500152": {"name": "潼南区", "latitude": 30.189554, "longitude": 105.841818},
    "500153": {"name": "荣昌区", "latitude": 29.403627, "longitude": 105.594061},
    "500154": {"name": "开州区", "latitude": 31.167735, "longitude": 108.413317},
    "500155": {"name": "梁平区", "latitude": 30.672168, "longitude": 107.800034},
    "500156": {"name": "武隆区", "latitude": 29.32376, "longitude": 107.75655},
    "500229": {"name": "城口县", "latitude": 31.946293, "longitude": 108.6649},
    "500230": {"name": "丰都县", "latitude": 29.866424, "longitude": 107.73248},
    "500231": {"name": "垫江县", "latitude": 30.330012, "longitude": 107.348692},
    "500233": {"name": "忠县", "latitude": 30.291537, "longitude": 108.037518},
    "500235": {"name": "云阳县", "latitude": 30.930529, "longitude": 108.697698},
    "500236": {"name": "奉节县", "latitude": 31.019967, "longitude": 109.465774},
    "500237": {"name": "巫山县", "latitude": 31.074843, "longitude": 109.878928},
    "500238": {"name": "巫溪县", "latitude": 31.3966, "longitude": 109.628912},
    "500240": {"name": "石柱土家族自治县", "latitude": 29.99853, "longitude": 108.112448},
    "500241": {"name": "秀山土家族苗族自治县", "latitude": 28.444772, "longitude": 108.996043},
    "500242": {"name": "酉阳土家族苗族自治县", "latitude": 28.839828, "longitude": 108.767201},
    "500243": {"name": "彭水苗族土家族自治县", "latitude": 29.293856, "longitude": 108.166551},
    "510000": {"name": "四川省", "latitude": 30.659462, "longitude": 104.065735},
    "510100": {"name": "成都市", "latitude": 30.659462, "longitude": 104.065735},
    "510300": {"name": "自贡市", "latitude": 29.352765, "longitude": 104.773447},
    "510400": {"name": "攀枝花市", "latitude": 26.580446, "longitude": 101.716007},
    "510500": {"name": "泸州市", "latitude": 28.889138, "longitude": 105.443348},
    "510600": {"name": "德阳市", "latitude": 31.127991, "longitude": 104.398651},
    "510700": {"name": "绵阳市", "latitude": 31.46402, "longitude": 104.741722},
    "510800": {"name": "广元市", "latitude": 32.433668, "longitude": 105.829757},
    "510900": {"name": "遂宁市", "latitude": 30.513311, "longitude": 105.571331},
    "511000": {"name": "内江市", "latitude": 29.58708, "longitude": 105.066138},
    "511100": {"name": "乐山市", "latitude": 29.582024, "longitude": 103.761263},
    "511300": {"name": "南充市", "latitude": 30.795281, "longitude": 106.082974},
    "511400": {"name": "眉山市", "latitude": 30.048318, "longitude": 103.831788},
    "511500": {"name": "宜宾市", "latitude": 28.760189, "longitude": 104.630825},
    "511600": {"name": "广安市", "latitude": 30.456398, "longitude": 106.633369},
    "511700": {"name": "达州市", "latitude": 31.209484, "longitude": 107.502262},
    "511800": {"name": "雅安市", "latitude": 29.987722, "longitude": 103.001033},
    "511900": {"name": "巴中市", "latitude": 31.858809, "longitude": 106.753669},
    "512000": {"name": "资阳市", "latitude": 30.122211, "longitude": 104.641917},
    "513200": {"name": "阿坝藏族羌族自治州", "latitude": 31.899792, "longitude": 102.221374},
    "513300": {"name": "甘孜藏族自治州", "latitude": 30.050663, "longitude": 101.963815},
    "513400": {"name": "凉山彝族自治州", "latitude": 27.886762, "longitude": 102.258746},
    "520000": {"name": "贵州省", "latitude": 26.578343, "longitude": 106.713478},
    "520100": {"name": "贵阳市", "latitude": 26.578343, "longitude": 106.713478},
    "520200": {"name": "六盘水市", "latitude": 26.584643, "longitude": 104.846743},
    "520300": {"name": "遵义市", "latitude": 27.706626, "longitude": 106.937265},
    "520400": {"name": "安顺市", "latitude": 26.245544, "longitude": 105.932188},
    "520500": {"name": "毕节市", "latitude": 27.301693, "longitude": 105.28501},
    "520600": {"name": "铜仁市", "latitude": 27.718346, "longitude": 109.191555},
    "522300": {"name": "黔西南布依族苗族自治州", "latitude": 25.08812, "longitude": 104.897971},
    "522600": {"name": "黔东南苗族侗族自治州", "latitude": 26.583352, "longitude": 107.977488},
    "522700": {"name": "黔南布依族苗族自治州", "latitude": 26.258219, "longitude": 107.517156},
    "530000": {"name": "云南省", "latitude": 25.040609, "longitude": 102.712251},
    "530100": {"name": "昆明市", "latitude": 25.040609, "longitude": 102.712251},
    "530300": {"name": "曲靖市", "latitude": 25.501557, "longitude": 103.797851},
    "530400": {"name": "玉溪市", "latitude": 24.350461, "longitude": 102.543907},
    "530500": {"name": "保山市", "latitude": 25.111802, "longitude": 99.167133},
    "530600": {"name": "昭通市", "latitude": 27.336999, "longitude": 103.717216},
    "530700": {"name": "丽江市", "latitude": 26.872108, "longitude": 100.233026},
    "530800": {"name": "普洱市", "latitude": 22.777321, "longitude": 100.972344},
    "530900": {"name": "临沧市", "latitude": 23.886567, "longitude": 100.08697},
    "532300": {"name": "楚雄彝族自治州", "latitude": 25.041988, "longitude": 101.546046},
    "532500": {"name": "红河哈尼族彝族自治州", "latitude": 23.366775, "longitude": 103.384182},
    "532600": {"name": "文山壮族苗族自治州", "latitude": 23.36951, "longitude": 104.24401},
    "532800": {"name": "西双版纳傣族自治州", "latitude": 22.001724, "longitude": 100.797941},
    "532900": {"name": "大理白族自治州", "latitude": 25.589449, "longitude": 100.225668},
    "533100": {"name": "德宏傣族景颇族自治州", "latitude": 24.436694, "longitude": 98.578363},
    "533300": {"name": "怒江傈僳族自治州", "latitude": 25.850949, "longitude": 98.854304},
    "533400": {"name": "迪庆藏族自治州", "latitude": 27.826853, "longitude": 99.706463},
    "540000": {"name": "西藏自治区", "latitude": 29.660361, "longitude": 91.132212},
    "540100": {"name": "拉萨市", "latitude": 29.660361, "longitude": 91.132212},
    "540200": {"name": "日喀则市", "latitude": 29.267519, "longitude": 88.885148},
    "540300": {"name": "昌都市", "latitude": 31.136875, "longitude": 97.178452},
    "540400": {"name": "林芝市", "latitude": 29.654693, "longitude": 94.362348},
    "540500": {"name": "山南市", "latitude": 29.236023, "longitude": 91.766529},
    "540600": {"name": "那曲市", "latitude": 31.476004, "longitude": 92.060214},
    "542500": {"name": "阿里地区", "latitude": 32.503187, "longitude": 80.105498},
    "610000": {"name": "陕西省", "latitude": 34.263161, "longitude": 108.948024},
    "610100": {"name": "西安市", "latitude": 34.263161, "longitude": 108.948024},
    "610200": {"name": "铜川市", "latitude": 34.916582, "longitude": 108.979608},
    "610300": {"name": "宝鸡市", "latitude": 34.369315, "longitude": 107.14487},
    "610400": {"name": "咸阳市", "latitude": 34.333439, "longitude": 108.705117},
    "610500": {"name": "渭南市", "latitude": 34.499381, "longitude": 109.502882},
    "610600": {"name": "延安市", "latitude": 36.596537, "longitude": 109.49081},
    "610700": {"name": "汉中市", "latitude": 33.077668, "longitude": 107.028621},
    "610800": {"name": "榆林市", "latitude": 38.290162, "longitude": 109.741193},
    "610900": {"name": "安康市", "latitude": 32.6903, "longitude": 109.029273},
    "611000": {"name": "商洛市", "latitude": 33.868319, "longitude": 109.939776},
    "620000": {"name": "甘肃省", "latitude": 36.058039, "longitude": 103.823557},
    "620100": {"name": "兰州市", "latitude": 36.058039, "longitude": 103.823557},
    "620200": {"name": "嘉峪关市", "latitude": 39.786529, "longitude": 98.277304},
    "620300": {"name": "金昌市", "latitude": 38.514238, "longitude": 102.187888},
    "620400": {"name": "白银市", "latitude": 36.54568, "longitude": 104.173606},
    "620500": {"name": "天水市", "latitude": 34.578529, "longitude": 105.724998},
    "620600": {"name": "武威市", "latitude": 37.929996, "longitude": 102.634697},
    "620700": {"name": "张掖市", "latitude": 38.932897, "longitude": 100.455472},
    "620800": {"name": "平凉市", "latitude": 35.54279, "longitude": 106.684691},
    "620900": {"name": "酒泉市", "latitude": 39.744023, "longitude": 98.510795},
    "621000": {"name": "庆阳市", "latitude": 35.734218, "longitude": 107.638372},
    "621100": {"name": "定西市", "latitude": 35.579578, "longitude": 104.626294},
    "621200": {"name": "陇南市", "latitude": 33.388598, "longitude": 104.929379},
    "622900": {"name": "临夏回族自治州", "latitude": 35.599446, "longitude": 103.212006},
    "623000": {"name": "甘南藏族自治州", "latitude": 34.986354, "longitude": 102.911008},
    "630000": {"name": "青海省", "latitude": 36.623178, "longitude": 101.778916},
    "630100": {"name": "西宁市", "latitude": 36.623178, "longitude": 101.778916},
    "630200": {"name": "海东市", "latitude": 36.502916, "longitude": 102.10327},
    "632200": {"name": "海北藏族自治州", "latitude": 36.959435, "longitude": 100.901059},
    "632300": {"name": "黄南藏族自治州", "latitude": 35.517744, "longitude": 102.019988},
    "632500": {"name": "海南藏族自治州", "latitude": 36.280353, "longitude": 100.619542},
    "632600": {"name": "果洛藏族自治州", "latitude": 34.4736, "longitude": 100.242143},
    "632700": {"name": "玉树藏族自治州", "latitude": 33.004049, "longitude": 97.008522},
    "632800": {"name": "海西蒙古族藏族自治州", "latitude": 37.374663, "longitude": 97.370785},
    "640000": {"name": "宁夏回族自治区", "latitude": 38.46637, "longitude": 106.278179},
    "640100": {"name": "银川市", "latitude": 38.46637, "longitude": 106.278179},
    "640200": {"name": "石嘴山市", "latitude": 39.01333, "longitude": 106.376173},
    "640300": {"name": "吴忠市", "latitude": 37.986165, "longitude": 106.199409},
    "640400": {"name": "固原市", "latitude": 36.004561, "longitude": 106.285241},
    "640500": {"name": "中卫市", "latitude": 37.514951, "longitude": 105.189568},
    "650000": {"name": "新疆维吾尔自治区", "latitude": 43.792818, "longitude": 87.617733},
    "650100": {"name": "乌鲁木齐市", "latitude": 43.792818, "longitude": 87.617733},
    "650200": {"name": "克拉玛依市", "latitude": 45.595886, "longitude": 84.873946},
    "650400": {"name": "吐鲁番市", "latitude": 42.947613, "longitude": 89.184078},
    "650500": {"name": "哈密市", "latitude": 42.833248, "longitude": 93.51316},
    "652300": {"name": "昌吉回族自治州", "latitude": 44.014577, "longitude": 87.304012},
    "652700": {"name": "博尔塔拉蒙古自治州", "latitude": 44.903258, "longitude": 82.074778},
    "652800": {"name": "巴音郭楞蒙古自治州", "latitude": 41.768552, "longitude": 86.150969},
    "652900": {"name": "阿克苏地区", "latitude": 41.170712, "longitude": 80.265068},
    "653000": {"name": "克孜勒苏柯尔克孜自治州", "latitude": 39.713431, "longitude": 76.172825},
    "653100": {"name": "喀什地区", "latitude": 39.467664, "longitude": 75.989138},
    "653200": {"name": "和田地区", "latitude": 37.110687, "longitude": 79.92533},
    "654000": {"name": "伊犁哈萨克自治州", "latitude": 43.92186, "longitude": 81.317946},
    "654200": {"name": "塔城地区", "latitude": 46.746301, "longitude": 82.985732},
    "654300": {"name": "阿勒泰地区", "latitude": 47.848393, "longitude": 88.13963},
    "659001": {"name": "石河子市", "latitude": 44.305886, "longitude": 86.041075},
    "659002": {"name": "阿拉尔市", "latitude": 40.541914, "longitude": 81.285884},
    "659003": {"name": "图木舒克市", "latitude": 39.867316, "longitude": 79.077978},
    "659004": {"name": "五家渠市", "latitude": 44.167401, "longitude": 87.526884},
    "659005": {"name": "北屯市", "latitude": 47.353177, "longitude": 87.824932},
    "659006": {"name": "铁门关市", "latitude": 41.827251, "longitude": 85.501218},
    "659007": {"name": "双河市", "latitude": 44.840524, "longitude": 82.353656},
    "659008": {"name": "可克达拉市", "latitude": 43.6832, "longitude": 80.63579},
    "659009": {"name": "昆玉市", "latitude": 37.207994, "longitude": 79.287372},
    "710000": {"name": "台湾省", "latitude": 25.044332, "longitude": 121.509062},
    "710100": {"name": "台北市", "latitude": 25.030724, "longitude": 121.520076},
    "710200": {"name": "高雄市", "latitude": 22.630576, "longitude": 120.306839},
    "710300": {"name": "台南市", "latitude": 22.998601, "longitude": 120.187817},
    "710400": {"name": "台中市", "latitude": 24.143171, "longitude": 120.679882},
    "710600": {"name": "南投县", "latitude": 23.919619, "longitude": 120.670008},
    "710700": {"name": "基隆市", "latitude": 25.122105, "longitude": 121.741526},
    "710800": {"name": "新竹市", "latitude": 24.784924, "longitude": 120.990745},
    "710900": {"name": "嘉义市", "latitude": 23.485079, "longitude": 120.472462},
    "711100": {"name": "新北市", "latitude": 25.1853, "longitude": 121.663675},
    "711200": {"name": "宜兰县", "latitude": 24.759707, "longitude": 121.754442},
    "711300": {"name": "新竹县", "latitude": 24.839233, "longitude": 121.002012},
    "711400": {"name": "桃园市", "latitude": 24.982757, "longitude": 121.213608},
    "711500": {"name": "苗栗县", "latitude": 24.696762, "longitude": 120.884337},
    "711700": {"name": "彰化县", "latitude": 24.068523, "longitude": 120.557479},
    "711900": {"name": "嘉义县", "latitude": 23.434473, "longitude": 120.624255},
    "712100": {"name": "云林县", "latitude": 23.664943, "longitude": 120.480738},
    "712400": {"name": "屏东县", "latitude": 22.666716, "longitude": 120.492005},
    "712500": {"name": "台东县", "latitude": 22.764364, "longitude": 121.113207},
    "712600": {"name": "花莲县", "latitude": 24.000674, "longitude": 121.59729},
    "712700": {"name": "澎湖县", "latitude": 23.552351, "longitude": 119.58457},
    "810000": {"name": "香港特别行政区", "latitude": 22.320048, "longitude": 114.173355},
    "810001": {"name": "中西区", "latitude": 22.281931, "longitude": 114.154334},
    "810002": {"name": "湾仔区", "latitude": 22.276345, "longitude": 114.18299},
    "810003": {"name": "东区", "latitude": 22.279779, "longitude": 114.225965},
    "810004": {"name": "南区", "latitude": 22.245811, "longitude": 114.160023},
    "810005": {"name": "油尖旺区", "latitude": 22.311632, "longitude": 114.173347},
    "810006": {"name": "深水埗区", "latitude": 22.333775, "longitude": 114.163349},
    "810007": {"name": "九龙城区", "latitude": 22.312373, "longitude": 114.193047},
    "810008": {"name": "黄大仙区", "latitude": 22.336112, "longitude": 114.203985},
    "810009": {"name": "观塘区", "latitude": 22.320679, "longitude": 114.214083},
    "810010": {"name": "荃湾区", "latitude": 22.368458, "longitude": 114.121234},
    "810011": {"name": "屯门区", "latitude": 22.393896, "longitude": 113.976308},
    "810012": {"name": "元朗区", "latitude": 22.44132, "longitude": 114.032528},
    "810013": {"name": "北区", "latitude": 22.496143, "longitude": 114.147404},
    "810014": {"name": "大埔区", "latitude": 22.44573, "longitude": 114.171713},
    "810015": {"name": "西贡区", "latitude": 22.314203, "longitude": 114.264813},
    "810016": {"name": "沙田区", "latitude": 22.379715, "longitude": 114.195126},
    "810017": {"name": "葵青区", "latitude": 22.363908, "longitude": 114.13918},
    "810018": {"name": "离岛区", "latitude": 22.286371, "longitude": 113.946059},
    "820000": {"name": "澳门特别行政区", "latitude": 22.198951, "longitude": 113.54909},
    "820001": {"name": "花地玛堂区", "latitude": 22.207882, "longitude": 113.552965},
    "820002": {"name": "花王堂区", "latitude": 22.199175, "longitude": 113.549052},
    "820003": {"name": "望德堂区", "latitude": 22.193791, "longitude": 113.550252},
    "820004": {"name": "大堂区", "latitude": 22.188119, "longitude": 113.55374},
    "820005": {"name": "风顺堂区", "latitude": 22.187778, "longitude": 113.54167},
    "820006": {"name": "嘉模堂区", "latitude": 22.154124, "longitude": 113.558783},
    "820007": {"name": "路凼填海区", "latitude": 22.136546, "longitude": 113.56925},
    "820008": {"name": "圣方济各堂区", "latitude": 22.124049, "longitude": 113.559954},
}

from typing import List, TypedDict


class Address(TypedDict):
    adcode: str
    name: str
    children: List[dict]


ADDRESS: List[Address] = [
    {
        "adcode": "110000",
        "name": "北京市",
        "children": [
            {"adcode": "110101", "name": "东城区"},
            {"adcode": "110102", "name": "西城区"},
            {"adcode": "110105", "name": "朝阳区"},
            {"adcode": "110106", "name": "丰台区"},
            {"adcode": "110107", "name": "石景山区"},
            {"adcode": "110108", "name": "海淀区"},
            {"adcode": "110109", "name": "门头沟区"},
            {"adcode": "110111", "name": "房山区"},
            {"adcode": "110112", "name": "通州区"},
            {"adcode": "110113", "name": "顺义区"},
            {"adcode": "110114", "name": "昌平区"},
            {"adcode": "110115", "name": "大兴区"},
            {"adcode": "110116", "name": "怀柔区"},
            {"adcode": "110117", "name": "平谷区"},
            {"adcode": "110118", "name": "密云区"},
            {"adcode": "110119", "name": "延庆区"},
        ],
    },
    {
        "adcode": "120000",
        "name": "天津市",
        "children": [
            {"adcode": "120101", "name": "和平区"},
            {"adcode": "120102", "name": "河东区"},
            {"adcode": "120103", "name": "河西区"},
            {"adcode": "120104", "name": "南开区"},
            {"adcode": "120105", "name": "河北区"},
            {"adcode": "120106", "name": "红桥区"},
            {"adcode": "120110", "name": "东丽区"},
            {"adcode": "120111", "name": "西青区"},
            {"adcode": "120112", "name": "津南区"},
            {"adcode": "120113", "name": "北辰区"},
            {"adcode": "120114", "name": "武清区"},
            {"adcode": "120115", "name": "宝坻区"},
            {"adcode": "120116", "name": "滨海新区"},
            {"adcode": "120117", "name": "宁河区"},
            {"adcode": "120118", "name": "静海区"},
            {"adcode": "120119", "name": "蓟州区"},
        ],
    },
    {
        "adcode": "130000",
        "name": "河北省",
        "children": [
            {"adcode": "130100", "name": "石家庄市"},
            {"adcode": "130200", "name": "唐山市"},
            {"adcode": "130300", "name": "秦皇岛市"},
            {"adcode": "130400", "name": "邯郸市"},
            {"adcode": "130500", "name": "邢台市"},
            {"adcode": "130600", "name": "保定市"},
            {"adcode": "130700", "name": "张家口市"},
            {"adcode": "130800", "name": "承德市"},
            {"adcode": "130900", "name": "沧州市"},
            {"adcode": "131000", "name": "廊坊市"},
            {"adcode": "131100", "name": "衡水市"},
        ],
    },
    {
        "adcode": "140000",
        "name": "山西省",
        "children": [
            {"adcode": "140100", "name": "太原市"},
            {"adcode": "140200", "name": "大同市"},
            {"adcode": "140300", "name": "阳泉市"},
            {"adcode": "140400", "name": "长治市"},
            {"adcode": "140500", "name": "晋城市"},
            {"adcode": "140600", "name": "朔州市"},
            {"adcode": "140700", "name": "晋中市"},
            {"adcode": "140800", "name": "运城市"},
            {"adcode": "140900", "name": "忻州市"},
            {"adcode": "141000", "name": "临汾市"},
            {"adcode": "141100", "name": "吕梁市"},
        ],
    },
    {
        "adcode": "150000",
        "name": "内蒙古自治区",
        "children": [
            {"adcode": "150100", "name": "呼和浩特市"},
            {"adcode": "150200", "name": "包头市"},
            {"adcode": "150300", "name": "乌海市"},
            {"adcode": "150400", "name": "赤峰市"},
            {"adcode": "150500", "name": "通辽市"},
            {"adcode": "150600", "name": "鄂尔多斯市"},
            {"adcode": "150700", "name": "呼伦贝尔市"},
            {"adcode": "150800", "name": "巴彦淖尔市"},
            {"adcode": "150900", "name": "乌兰察布市"},
            {"adcode": "152200", "name": "兴安盟"},
            {"adcode": "152500", "name": "锡林郭勒盟"},
            {"adcode": "152900", "name": "阿拉善盟"},
        ],
    },
    {
        "adcode": "210000",
        "name": "辽宁省",
        "children": [
            {"adcode": "210100", "name": "沈阳市"},
            {"adcode": "210200", "name": "大连市"},
            {"adcode": "210300", "name": "鞍山市"},
            {"adcode": "210400", "name": "抚顺市"},
            {"adcode": "210500", "name": "本溪市"},
            {"adcode": "210600", "name": "丹东市"},
            {"adcode": "210700", "name": "锦州市"},
            {"adcode": "210800", "name": "营口市"},
            {"adcode": "210900", "name": "阜新市"},
            {"adcode": "211000", "name": "辽阳市"},
            {"adcode": "211100", "name": "盘锦市"},
            {"adcode": "211200", "name": "铁岭市"},
            {"adcode": "211300", "name": "朝阳市"},
            {"adcode": "211400", "name": "葫芦岛市"},
        ],
    },
    {
        "adcode": "220000",
        "name": "吉林省",
        "children": [
            {"adcode": "220100", "name": "长春市"},
            {"adcode": "220200", "name": "吉林市"},
            {"adcode": "220300", "name": "四平市"},
            {"adcode": "220400", "name": "辽源市"},
            {"adcode": "220500", "name": "通化市"},
            {"adcode": "220600", "name": "白山市"},
            {"adcode": "220700", "name": "松原市"},
            {"adcode": "220800", "name": "白城市"},
            {"adcode": "222400", "name": "延边朝鲜族自治州"},
        ],
    },
    {
        "adcode": "230000",
        "name": "黑龙江省",
        "children": [
            {"adcode": "230100", "name": "哈尔滨市"},
            {"adcode": "230200", "name": "齐齐哈尔市"},
            {"adcode": "230300", "name": "鸡西市"},
            {"adcode": "230400", "name": "鹤岗市"},
            {"adcode": "230500", "name": "双鸭山市"},
            {"adcode": "230600", "name": "大庆市"},
            {"adcode": "230700", "name": "伊春市"},
            {"adcode": "230800", "name": "佳木斯市"},
            {"adcode": "230900", "name": "七台河市"},
            {"adcode": "231000", "name": "牡丹江市"},
            {"adcode": "231100", "name": "黑河市"},
            {"adcode": "231200", "name": "绥化市"},
            {"adcode": "232700", "name": "大兴安岭地区"},
        ],
    },
    {
        "adcode": "310000",
        "name": "上海市",
        "children": [
            {"adcode": "310101", "name": "黄浦区"},
            {"adcode": "310104", "name": "徐汇区"},
            {"adcode": "310105", "name": "长宁区"},
            {"adcode": "310106", "name": "静安区"},
            {"adcode": "310107", "name": "普陀区"},
            {"adcode": "310109", "name": "虹口区"},
            {"adcode": "310110", "name": "杨浦区"},
            {"adcode": "310112", "name": "闵行区"},
            {"adcode": "310113", "name": "宝山区"},
            {"adcode": "310114", "name": "嘉定区"},
            {"adcode": "310115", "name": "浦东新区"},
            {"adcode": "310116", "name": "金山区"},
            {"adcode": "310117", "name": "松江区"},
            {"adcode": "310118", "name": "青浦区"},
            {"adcode": "310120", "name": "奉贤区"},
            {"adcode": "310151", "name": "崇明区"},
        ],
    },
    {
        "adcode": "320000",
        "name": "江苏省",
        "children": [
            {"adcode": "320100", "name": "南京市"},
            {"adcode": "320200", "name": "无锡市"},
            {"adcode": "320300", "name": "徐州市"},
            {"adcode": "320400", "name": "常州市"},
            {"adcode": "320500", "name": "苏州市"},
            {"adcode": "320600", "name": "南通市"},
            {"adcode": "320700", "name": "连云港市"},
            {"adcode": "320800", "name": "淮安市"},
            {"adcode": "320900", "name": "盐城市"},
            {"adcode": "321000", "name": "扬州市"},
            {"adcode": "321100", "name": "镇江市"},
            {"adcode": "321200", "name": "泰州市"},
            {"adcode": "321300", "name": "宿迁市"},
        ],
    },
    {
        "adcode": "330000",
        "name": "浙江省",
        "children": [
            {"adcode": "330100", "name": "杭州市"},
            {"adcode": "330200", "name": "宁波市"},
            {"adcode": "330300", "name": "温州市"},
            {"adcode": "330400", "name": "嘉兴市"},
            {"adcode": "330500", "name": "湖州市"},
            {"adcode": "330600", "name": "绍兴市"},
            {"adcode": "330700", "name": "金华市"},
            {"adcode": "330800", "name": "衢州市"},
            {"adcode": "330900", "name": "舟山市"},
            {"adcode": "331000", "name": "台州市"},
            {"adcode": "331100", "name": "丽水市"},
        ],
    },
    {
        "adcode": "340000",
        "name": "安徽省",
        "children": [
            {"adcode": "340100", "name": "合肥市"},
            {"adcode": "340200", "name": "芜湖市"},
            {"adcode": "340300", "name": "蚌埠市"},
            {"adcode": "340400", "name": "淮南市"},
            {"adcode": "340500", "name": "马鞍山市"},
            {"adcode": "340600", "name": "淮北市"},
            {"adcode": "340700", "name": "铜陵市"},
            {"adcode": "340800", "name": "安庆市"},
            {"adcode": "341000", "name": "黄山市"},
            {"adcode": "341100", "name": "滁州市"},
            {"adcode": "341200", "name": "阜阳市"},
            {"adcode": "341300", "name": "宿州市"},
            {"adcode": "341500", "name": "六安市"},
            {"adcode": "341600", "name": "亳州市"},
            {"adcode": "341700", "name": "池州市"},
            {"adcode": "341800", "name": "宣城市"},
        ],
    },
    {
        "adcode": "350000",
        "name": "福建省",
        "children": [
            {"adcode": "350100", "name": "福州市"},
            {"adcode": "350200", "name": "厦门市"},
            {"adcode": "350300", "name": "莆田市"},
            {"adcode": "350400", "name": "三明市"},
            {"adcode": "350500", "name": "泉州市"},
            {"adcode": "350600", "name": "漳州市"},
            {"adcode": "350700", "name": "南平市"},
            {"adcode": "350800", "name": "龙岩市"},
            {"adcode": "350900", "name": "宁德市"},
        ],
    },
    {
        "adcode": "360000",
        "name": "江西省",
        "children": [
            {"adcode": "360100", "name": "南昌市"},
            {"adcode": "360200", "name": "景德镇市"},
            {"adcode": "360300", "name": "萍乡市"},
            {"adcode": "360400", "name": "九江市"},
            {"adcode": "360500", "name": "新余市"},
            {"adcode": "360600", "name": "鹰潭市"},
            {"adcode": "360700", "name": "赣州市"},
            {"adcode": "360800", "name": "吉安市"},
            {"adcode": "360900", "name": "宜春市"},
            {"adcode": "361000", "name": "抚州市"},
            {"adcode": "361100", "name": "上饶市"},
        ],
    },
    {
        "adcode": "370000",
        "name": "山东省",
        "children": [
            {"adcode": "370100", "name": "济南市"},
            {"adcode": "370200", "name": "青岛市"},
            {"adcode": "370300", "name": "淄博市"},
            {"adcode": "370400", "name": "枣庄市"},
            {"adcode": "370500", "name": "东营市"},
            {"adcode": "370600", "name": "烟台市"},
            {"adcode": "370700", "name": "潍坊市"},
            {"adcode": "370800", "name": "济宁市"},
            {"adcode": "370900", "name": "泰安市"},
            {"adcode": "371000", "name": "威海市"},
            {"adcode": "371100", "name": "日照市"},
            {"adcode": "371200", "name": "莱芜市"},
            {"adcode": "371300", "name": "临沂市"},
            {"adcode": "371400", "name": "德州市"},
            {"adcode": "371500", "name": "聊城市"},
            {"adcode": "371600", "name": "滨州市"},
            {"adcode": "371700", "name": "菏泽市"},
        ],
    },
    {
        "adcode": "410000",
        "name": "河南省",
        "children": [
            {"adcode": "410100", "name": "郑州市"},
            {"adcode": "410200", "name": "开封市"},
            {"adcode": "410300", "name": "洛阳市"},
            {"adcode": "410400", "name": "平顶山市"},
            {"adcode": "410500", "name": "安阳市"},
            {"adcode": "410600", "name": "鹤壁市"},
            {"adcode": "410700", "name": "新乡市"},
            {"adcode": "410800", "name": "焦作市"},
            {"adcode": "410900", "name": "濮阳市"},
            {"adcode": "411000", "name": "许昌市"},
            {"adcode": "411100", "name": "漯河市"},
            {"adcode": "411200", "name": "三门峡市"},
            {"adcode": "411300", "name": "南阳市"},
            {"adcode": "411400", "name": "商丘市"},
            {"adcode": "411500", "name": "信阳市"},
            {"adcode": "411600", "name": "周口市"},
            {"adcode": "411700", "name": "驻马店市"},
            {"adcode": "419001", "name": "济源市"},
        ],
    },
    {
        "adcode": "420000",
        "name": "湖北省",
        "children": [
            {"adcode": "420100", "name": "武汉市"},
            {"adcode": "420200", "name": "黄石市"},
            {"adcode": "420300", "name": "十堰市"},
            {"adcode": "420500", "name": "宜昌市"},
            {"adcode": "420600", "name": "襄阳市"},
            {"adcode": "420700", "name": "鄂州市"},
            {"adcode": "420800", "name": "荆门市"},
            {"adcode": "420900", "name": "孝感市"},
            {"adcode": "421000", "name": "荆州市"},
            {"adcode": "421100", "name": "黄冈市"},
            {"adcode": "421200", "name": "咸宁市"},
            {"adcode": "421300", "name": "随州市"},
            {"adcode": "422800", "name": "恩施土家族苗族自治州"},
            {"adcode": "429004", "name": "仙桃市"},
            {"adcode": "429005", "name": "潜江市"},
            {"adcode": "429006", "name": "天门市"},
            {"adcode": "429021", "name": "神农架林区"},
        ],
    },
    {
        "adcode": "430000",
        "name": "湖南省",
        "children": [
            {"adcode": "430100", "name": "长沙市"},
            {"adcode": "430200", "name": "株洲市"},
            {"adcode": "430300", "name": "湘潭市"},
            {"adcode": "430400", "name": "衡阳市"},
            {"adcode": "430500", "name": "邵阳市"},
            {"adcode": "430600", "name": "岳阳市"},
            {"adcode": "430700", "name": "常德市"},
            {"adcode": "430800", "name": "张家界市"},
            {"adcode": "430900", "name": "益阳市"},
            {"adcode": "431000", "name": "郴州市"},
            {"adcode": "431100", "name": "永州市"},
            {"adcode": "431200", "name": "怀化市"},
            {"adcode": "431300", "name": "娄底市"},
            {"adcode": "433100", "name": "湘西土家族苗族自治州"},
        ],
    },
    {
        "adcode": "440000",
        "name": "广东省",
        "children": [
            {"adcode": "440100", "name": "广州市"},
            {"adcode": "440200", "name": "韶关市"},
            {"adcode": "440300", "name": "深圳市"},
            {"adcode": "440400", "name": "珠海市"},
            {"adcode": "440500", "name": "汕头市"},
            {"adcode": "440600", "name": "佛山市"},
            {"adcode": "440700", "name": "江门市"},
            {"adcode": "440800", "name": "湛江市"},
            {"adcode": "440900", "name": "茂名市"},
            {"adcode": "441200", "name": "肇庆市"},
            {"adcode": "441300", "name": "惠州市"},
            {"adcode": "441400", "name": "梅州市"},
            {"adcode": "441500", "name": "汕尾市"},
            {"adcode": "441600", "name": "河源市"},
            {"adcode": "441700", "name": "阳江市"},
            {"adcode": "441800", "name": "清远市"},
            {"adcode": "441900", "name": "东莞市"},
            {"adcode": "442000", "name": "中山市"},
            {"adcode": "445100", "name": "潮州市"},
            {"adcode": "445200", "name": "揭阳市"},
            {"adcode": "445300", "name": "云浮市"},
        ],
    },
    {
        "adcode": "450000",
        "name": "广西壮族自治区",
        "children": [
            {"adcode": "450100", "name": "南宁市"},
            {"adcode": "450200", "name": "柳州市"},
            {"adcode": "450300", "name": "桂林市"},
            {"adcode": "450400", "name": "梧州市"},
            {"adcode": "450500", "name": "北海市"},
            {"adcode": "450600", "name": "防城港市"},
            {"adcode": "450700", "name": "钦州市"},
            {"adcode": "450800", "name": "贵港市"},
            {"adcode": "450900", "name": "玉林市"},
            {"adcode": "451000", "name": "百色市"},
            {"adcode": "451100", "name": "贺州市"},
            {"adcode": "451200", "name": "河池市"},
            {"adcode": "451300", "name": "来宾市"},
            {"adcode": "451400", "name": "崇左市"},
        ],
    },
    {
        "adcode": "460000",
        "name": "海南省",
        "children": [
            {"adcode": "460100", "name": "海口市"},
            {"adcode": "460200", "name": "三亚市"},
            {"adcode": "460300", "name": "三沙市"},
            {"adcode": "460400", "name": "儋州市"},
            {"adcode": "469001", "name": "五指山市"},
            {"adcode": "469002", "name": "琼海市"},
            {"adcode": "469005", "name": "文昌市"},
            {"adcode": "469006", "name": "万宁市"},
            {"adcode": "469007", "name": "东方市"},
            {"adcode": "469021", "name": "定安县"},
            {"adcode": "469022", "name": "屯昌县"},
            {"adcode": "469023", "name": "澄迈县"},
            {"adcode": "469024", "name": "临高县"},
            {"adcode": "469025", "name": "白沙黎族自治县"},
            {"adcode": "469026", "name": "昌江黎族自治县"},
            {"adcode": "469027", "name": "乐东黎族自治县"},
            {"adcode": "469028", "name": "陵水黎族自治县"},
            {"adcode": "469029", "name": "保亭黎族苗族自治县"},
            {"adcode": "469030", "name": "琼中黎族苗族自治县"},
        ],
    },
    {
        "adcode": "500000",
        "name": "重庆市",
        "children": [
            {"adcode": "500101", "name": "万州区"},
            {"adcode": "500102", "name": "涪陵区"},
            {"adcode": "500103", "name": "渝中区"},
            {"adcode": "500104", "name": "大渡口区"},
            {"adcode": "500105", "name": "江北区"},
            {"adcode": "500106", "name": "沙坪坝区"},
            {"adcode": "500107", "name": "九龙坡区"},
            {"adcode": "500108", "name": "南岸区"},
            {"adcode": "500109", "name": "北碚区"},
            {"adcode": "500110", "name": "綦江区"},
            {"adcode": "500111", "name": "大足区"},
            {"adcode": "500112", "name": "渝北区"},
            {"adcode": "500113", "name": "巴南区"},
            {"adcode": "500114", "name": "黔江区"},
            {"adcode": "500115", "name": "长寿区"},
            {"adcode": "500116", "name": "江津区"},
            {"adcode": "500117", "name": "合川区"},
            {"adcode": "500118", "name": "永川区"},
            {"adcode": "500119", "name": "南川区"},
            {"adcode": "500120", "name": "璧山区"},
            {"adcode": "500151", "name": "铜梁区"},
            {"adcode": "500152", "name": "潼南区"},
            {"adcode": "500153", "name": "荣昌区"},
            {"adcode": "500154", "name": "开州区"},
            {"adcode": "500155", "name": "梁平区"},
            {"adcode": "500156", "name": "武隆区"},
            {"adcode": "500229", "name": "城口县"},
            {"adcode": "500230", "name": "丰都县"},
            {"adcode": "500231", "name": "垫江县"},
            {"adcode": "500233", "name": "忠县"},
            {"adcode": "500235", "name": "云阳县"},
            {"adcode": "500236", "name": "奉节县"},
            {"adcode": "500237", "name": "巫山县"},
            {"adcode": "500238", "name": "巫溪县"},
            {"adcode": "500240", "name": "石柱土家族自治县"},
            {"adcode": "500241", "name": "秀山土家族苗族自治县"},
            {"adcode": "500242", "name": "酉阳土家族苗族自治县"},
            {"adcode": "500243", "name": "彭水苗族土家族自治县"},
        ],
    },
    {
        "adcode": "510000",
        "name": "四川省",
        "children": [
            {"adcode": "510100", "name": "成都市"},
            {"adcode": "510300", "name": "自贡市"},
            {"adcode": "510400", "name": "攀枝花市"},
            {"adcode": "510500", "name": "泸州市"},
            {"adcode": "510600", "name": "德阳市"},
            {"adcode": "510700", "name": "绵阳市"},
            {"adcode": "510800", "name": "广元市"},
            {"adcode": "510900", "name": "遂宁市"},
            {"adcode": "511000", "name": "内江市"},
            {"adcode": "511100", "name": "乐山市"},
            {"adcode": "511300", "name": "南充市"},
            {"adcode": "511400", "name": "眉山市"},
            {"adcode": "511500", "name": "宜宾市"},
            {"adcode": "511600", "name": "广安市"},
            {"adcode": "511700", "name": "达州市"},
            {"adcode": "511800", "name": "雅安市"},
            {"adcode": "511900", "name": "巴中市"},
            {"adcode": "512000", "name": "资阳市"},
            {"adcode": "513200", "name": "阿坝藏族羌族自治州"},
            {"adcode": "513300", "name": "甘孜藏族自治州"},
            {"adcode": "513400", "name": "凉山彝族自治州"},
        ],
    },
    {
        "adcode": "520000",
        "name": "贵州省",
        "children": [
            {"adcode": "520100", "name": "贵阳市"},
            {"adcode": "520200", "name": "六盘水市"},
            {"adcode": "520300", "name": "遵义市"},
            {"adcode": "520400", "name": "安顺市"},
            {"adcode": "520500", "name": "毕节市"},
            {"adcode": "520600", "name": "铜仁市"},
            {"adcode": "522300", "name": "黔西南布依族苗族自治州"},
            {"adcode": "522600", "name": "黔东南苗族侗族自治州"},
            {"adcode": "522700", "name": "黔南布依族苗族自治州"},
        ],
    },
    {
        "adcode": "530000",
        "name": "云南省",
        "children": [
            {"adcode": "530100", "name": "昆明市"},
            {"adcode": "530300", "name": "曲靖市"},
            {"adcode": "530400", "name": "玉溪市"},
            {"adcode": "530500", "name": "保山市"},
            {"adcode": "530600", "name": "昭通市"},
            {"adcode": "530700", "name": "丽江市"},
            {"adcode": "530800", "name": "普洱市"},
            {"adcode": "530900", "name": "临沧市"},
            {"adcode": "532300", "name": "楚雄彝族自治州"},
            {"adcode": "532500", "name": "红河哈尼族彝族自治州"},
            {"adcode": "532600", "name": "文山壮族苗族自治州"},
            {"adcode": "532800", "name": "西双版纳傣族自治州"},
            {"adcode": "532900", "name": "大理白族自治州"},
            {"adcode": "533100", "name": "德宏傣族景颇族自治州"},
            {"adcode": "533300", "name": "怒江傈僳族自治州"},
            {"adcode": "533400", "name": "迪庆藏族自治州"},
        ],
    },
    {
        "adcode": "540000",
        "name": "西藏自治区",
        "children": [
            {"adcode": "540100", "name": "拉萨市"},
            {"adcode": "540200", "name": "日喀则市"},
            {"adcode": "540300", "name": "昌都市"},
            {"adcode": "540400", "name": "林芝市"},
            {"adcode": "540500", "name": "山南市"},
            {"adcode": "540600", "name": "那曲市"},
            {"adcode": "542500", "name": "阿里地区"},
        ],
    },
    {
        "adcode": "610000",
        "name": "陕西省",
        "children": [
            {"adcode": "610100", "name": "西安市"},
            {"adcode": "610200", "name": "铜川市"},
            {"adcode": "610300", "name": "宝鸡市"},
            {"adcode": "610400", "name": "咸阳市"},
            {"adcode": "610500", "name": "渭南市"},
            {"adcode": "610600", "name": "延安市"},
            {"adcode": "610700", "name": "汉中市"},
            {"adcode": "610800", "name": "榆林市"},
            {"adcode": "610900", "name": "安康市"},
            {"adcode": "611000", "name": "商洛市"},
        ],
    },
    {
        "adcode": "620000",
        "name": "甘肃省",
        "children": [
            {"adcode": "620100", "name": "兰州市"},
            {"adcode": "620200", "name": "嘉峪关市"},
            {"adcode": "620300", "name": "金昌市"},
            {"adcode": "620400", "name": "白银市"},
            {"adcode": "620500", "name": "天水市"},
            {"adcode": "620600", "name": "武威市"},
            {"adcode": "620700", "name": "张掖市"},
            {"adcode": "620800", "name": "平凉市"},
            {"adcode": "620900", "name": "酒泉市"},
            {"adcode": "621000", "name": "庆阳市"},
            {"adcode": "621100", "name": "定西市"},
            {"adcode": "621200", "name": "陇南市"},
            {"adcode": "622900", "name": "临夏回族自治州"},
            {"adcode": "623000", "name": "甘南藏族自治州"},
        ],
    },
    {
        "adcode": "630000",
        "name": "青海省",
        "children": [
            {"adcode": "630100", "name": "西宁市"},
            {"adcode": "630200", "name": "海东市"},
            {"adcode": "632200", "name": "海北藏族自治州"},
            {"adcode": "632300", "name": "黄南藏族自治州"},
            {"adcode": "632500", "name": "海南藏族自治州"},
            {"adcode": "632600", "name": "果洛藏族自治州"},
            {"adcode": "632700", "name": "玉树藏族自治州"},
            {"adcode": "632800", "name": "海西蒙古族藏族自治州"},
        ],
    },
    {
        "adcode": "640000",
        "name": "宁夏回族自治区",
        "children": [
            {"adcode": "640100", "name": "银川市"},
            {"adcode": "640200", "name": "石嘴山市"},
            {"adcode": "640300", "name": "吴忠市"},
            {"adcode": "640400", "name": "固原市"},
            {"adcode": "640500", "name": "中卫市"},
        ],
    },
    {
        "adcode": "650000",
        "name": "新疆维吾尔自治区",
        "children": [
            {"adcode": "650100", "name": "乌鲁木齐市"},
            {"adcode": "650200", "name": "克拉玛依市"},
            {"adcode": "650400", "name": "吐鲁番市"},
            {"adcode": "650500", "name": "哈密市"},
            {"adcode": "652300", "name": "昌吉回族自治州"},
            {"adcode": "652700", "name": "博尔塔拉蒙古自治州"},
            {"adcode": "652800", "name": "巴音郭楞蒙古自治州"},
            {"adcode": "652900", "name": "阿克苏地区"},
            {"adcode": "653000", "name": "克孜勒苏柯尔克孜自治州"},
            {"adcode": "653100", "name": "喀什地区"},
            {"adcode": "653200", "name": "和田地区"},
            {"adcode": "654000", "name": "伊犁哈萨克自治州"},
            {"adcode": "654200", "name": "塔城地区"},
            {"adcode": "654300", "name": "阿勒泰地区"},
            {"adcode": "659001", "name": "石河子市"},
            {"adcode": "659002", "name": "阿拉尔市"},
            {"adcode": "659003", "name": "图木舒克市"},
            {"adcode": "659004", "name": "五家渠市"},
            {"adcode": "659005", "name": "北屯市"},
            {"adcode": "659006", "name": "铁门关市"},
            {"adcode": "659007", "name": "双河市"},
            {"adcode": "659008", "name": "可克达拉市"},
            {"adcode": "659009", "name": "昆玉市"},
        ],
    },
    {
        "adcode": "710000",
        "name": "台湾省",
        "children": [
            {"adcode": "710100", "name": "台北市"},
            {"adcode": "710200", "name": "高雄市"},
            {"adcode": "710300", "name": "台南市"},
            {"adcode": "710400", "name": "台中市"},
            {"adcode": "710600", "name": "南投县"},
            {"adcode": "710700", "name": "基隆市"},
            {"adcode": "710800", "name": "新竹市"},
            {"adcode": "710900", "name": "嘉义市"},
            {"adcode": "711100", "name": "新北市"},
            {"adcode": "711200", "name": "宜兰县"},
            {"adcode": "711300", "name": "新竹县"},
            {"adcode": "711400", "name": "桃园市"},
            {"adcode": "711500", "name": "苗栗县"},
            {"adcode": "711700", "name": "彰化县"},
            {"adcode": "711900", "name": "嘉义县"},
            {"adcode": "712100", "name": "云林县"},
            {"adcode": "712400", "name": "屏东县"},
            {"adcode": "712500", "name": "台东县"},
            {"adcode": "712600", "name": "花莲县"},
            {"adcode": "712700", "name": "澎湖县"},
        ],
    },
    {
        "adcode": "810000",
        "name": "香港特别行政区",
        "children": [
            {"adcode": "810001", "name": "中西区"},
            {"adcode": "810002", "name": "湾仔区"},
            {"adcode": "810003", "name": "东区"},
            {"adcode": "810004", "name": "南区"},
            {"adcode": "810005", "name": "油尖旺区"},
            {"adcode": "810006", "name": "深水埗区"},
            {"adcode": "810007", "name": "九龙城区"},
            {"adcode": "810008", "name": "黄大仙区"},
            {"adcode": "810009", "name": "观塘区"},
            {"adcode": "810010", "name": "荃湾区"},
            {"adcode": "810011", "name": "屯门区"},
            {"adcode": "810012", "name": "元朗区"},
            {"adcode": "810013", "name": "北区"},
            {"adcode": "810014", "name": "大埔区"},
            {"adcode": "810015", "name": "西贡区"},
            {"adcode": "810016", "name": "沙田区"},
            {"adcode": "810017", "name": "葵青区"},
            {"adcode": "810018", "name": "离岛区"},
        ],
    },
    {
        "adcode": "820000",
        "name": "澳门特别行政区",
        "children": [
            {"adcode": "820001", "name": "花地玛堂区"},
            {"adcode": "820002", "name": "花王堂区"},
            {"adcode": "820003", "name": "望德堂区"},
            {"adcode": "820004", "name": "大堂区"},
            {"adcode": "820005", "name": "风顺堂区"},
            {"adcode": "820006", "name": "嘉模堂区"},
            {"adcode": "820007", "name": "路凼填海区"},
            {"adcode": "820008", "name": "圣方济各堂区"},
        ],
    },
]

读取:

from typing import Dict, Tuple
import json

from sites import redis
from sites.common.address import ADDRESS


def get_china_map() -> Tuple[list, list, list]:
    if redis.exists("china_map") and redis.exists("provinces") and redis.exists("citys"):
        provinces = json.loads(redis.get("provinces") or "[]")
        pro_city = json.loads(redis.get("citys") or "[]")
    else:
        redis.set("china_map", json.dumps(ADDRESS))
        # 省份名列表
        provinces = []
        # 城市名列表 [['武汉', '黄石], ['南昌', '九江']]
        pro_city = []
        for province in ADDRESS:
            provinces.append(province["name"])
            citys = []
            for city in province["children"]:
                citys.append(city["name"])
            pro_city.append(citys)

        redis.set("provinces", json.dumps(provinces))
        redis.set("citys", json.dumps(pro_city))
    return ADDRESS, provinces, pro_city


def get_code() -> Dict:
    if redis.exists("code_name"):
        code_name = json.loads(redis.get("code_name") or "{}")
    else:
        data, _, _ = get_china_map()
        code_name = {}
        for pr in data:
            code_name[int(pr["adcode"])] = pr["name"]
            for ci in pr["children"]:
                code_name[int(ci["adcode"])] = ci["name"]
        redis.set("code_name", json.dumps(code_name))
    return code_name


if __name__ == "__main__":
    print(get_code())

使用

china_map, provinces, pro_citys = get_china_map()
if province_name not in provinces:
    return "省份不存在"
index = provinces.index(province_name)
province_code = china_map[index]["adcode"]
citys = pro_citys[index]
if city_name not in citys:
    return "省份下不存在该城市"
c_index = citys.index(city_name)
city_code = china_map[index]["children"][c_index]["adcode"]
# 拿到code 直接从最上面获取经纬度即可

标签:code,name,地理位置,adcode,longitude,latitude,相关,数据,children
From: https://www.cnblogs.com/gatling/p/18325710

相关文章

  • 数据结构 二叉树 前 中 后 序列
    简单二叉树的遍历如果看完还是不太懂就观看速成视频https://www.bilibili.com/video/BV1Ub4y147Zv/?spm_id_from=333.337.search-card.all.click&vd_source=e5f8765d50fb89ef04eb150bd76075b5引用资料文献链接放到篇尾简单术语解释节点(Node):二叉树中的一个元素,包含值和......
  • 动态数据增强的艺术:Mojo模型的自定义应用
    动态数据增强的艺术:Mojo模型的自定义应用在机器学习和深度学习领域,数据增强是提升模型泛化能力的重要手段。Mojo模型,作为深度学习模型的一种封装形式,通常指的是通过训练得到的模型参数的集合,它能够被用于快速推理。但是,Mojo模型本身是否支持在推理阶段进行自定义的数据增强......
  • Kylin中的RBAC:为大数据安全加把锁
    Kylin中的RBAC:为大数据安全加把锁ApacheKylin是一个开源的分布式分析引擎,旨在为Hadoop平台提供快速的大数据量SQL查询能力。随着企业对数据安全和访问控制需求的增加,基于角色的访问控制(Role-BasedAccessControl,简称RBAC)成为了一个重要的安全特性。本文将深入探讨Kylin是......
  • DIDCTF-电子数据取证
    tomcat-1题目描述在web服务器上发现的可疑活动,流量分析会显示很多请求,这表明存在恶意的扫描行为,通过分析扫描的行为后提交攻击者IPflag格式:flag{ip},如:flag{127.0.0.1}flag{14.0.0.120}tomcat-2题目描述找到攻击者IP后请通过技术手段确定其所在地址flag格式:flag{城市英......
  • 【数据结构与算法】快速排序万字全攻略:hoare版本、挖坑法、前后指针法、优化版、非递
          ......
  • 如何在 Windows 10 中重置忘记的密码而不丢失数据
    面对电脑开机密码忘记的尴尬情况,许多用户可能会感到手足无措,尤其是对于那些依赖电脑进行日常工作和学习的人来说,这无疑是一个急需解决的难题。幸运的是,根据不同的操作系统(如Windows、macOS等),存在几种相对安全且有效的方法来重置或绕过开机密码,从而恢复对电脑的访问权限。以下,......
  • 如何在不注释类型的情况下添加数据类字段?
    当数据类中有一个字段的类型可以是任何类型时,你怎么能省略注释呢?@dataclassclassFavs:fav_number:int=80085fav_duck=object()fav_word:str='potato'上面的代码似乎实际上并没有为fav_duck创建字段。它只是使它成为一个普通的旧类属性......
  • windows中MySQL迁移数据存放盘符位置
    由于刚开始安装mysq时都选择了默认安装,数据存放在了c盘,后面数据量过大c盘不堪重负,所以迁移数据到D盘windows中MySQL迁移数据存放盘符位置参考:https://blog.csdn.net/ZYX121799/article/details/136474869查看MySQL的数据存放位置showglobalvariableslike"%datadir%"......
  • 24数据安全产业人才积分争夺赛
    Wireshark2.1题目内容:存在漏洞的PHP页面名称是?(比如:a.php)直接搜索php所以flag:theanswerishere.phpWireshark2.2题目内容:当前表的列数共有几列?(比如:1)找到了所以flag:3Wireshark2.3题目内容:注入目标的列名是?所以flag:th1sfI4g错的,要加flag{},我真无语所以flag:flag{th1sf......
  • 软考-软件设计师(1)-计算机基础知识点:进制转换、数据编码、内存编址、串并联可靠性、
    场景软考-软件设计师-计算机基础模块高频考点整理。以下为高频考点、知识点汇总,不代表该模块所有知识点覆盖,请以官方教程提纲为准。注:博客:霸道流氓气质-CSDN博客实现知识点进制转换十进制转二进制除以2,反向取余数,直到商为0终止,转换成其他进制同理二进制转十进制其......