json数据大概是类似这样的。贴一部分出来吧:
看看就知道这个json是不是你们想要的,文件637kb,很齐全,连台湾香港都有:
{
"adcode": 110000,
"level": "province",
"center": [116.405285, 39.904989],
"name": "北京市",
"children": [{
"adcode": 110101,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.418757, 39.917544],
"name": "东城区",
"bbox": [220997853, 101649345, 51942, 112202],
"acroutes": [100000, 110000]
}, {
"adcode": 110102,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.366794, 39.915309],
"name": "西城区",
"bbox": [220952804, 101650294, 58693, 101214],
"acroutes": [100000, 110000]
}, {
"adcode": 110105,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.486409, 39.921489],
"name": "朝阳区",
"bbox": [220975258, 101516417, 219305, 292702],
"acroutes": [100000, 110000]
}, {
"adcode": 110106,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.286968, 39.863642],
"name": "丰台区",
"bbox": [220754331, 101724157, 308078, 130557],
"acroutes": [100000, 110000]
}, {
"adcode": 110107,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.195445, 39.914601],
"name": "石景山区",
"bbox": [220797151, 101630263, 109699, 116407],
"acroutes": [100000, 110000]
}, {
"adcode": 110108,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.310316, 39.956074],
"name": "海淀区",
"bbox": [220749997, 101467201, 258195, 267043],
"acroutes": [100000, 110000]
}, {
"adcode": 110109,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.105381, 39.937183],
"name": "门头沟区",
"bbox": [220283661, 101449889, 560707, 356985],
"acroutes": [100000, 110000]
}, {
"adcode": 110111,
"provCode": 110000,
"cityCode": 110100,
"level": "district",
"center": [116.139157, 39.735535],
"name": "房山区",
"bbox": [220285002, 101696885, 617451, 405299],
"acroutes": [100000, 110000]
}, {
1