Java调用echarts提供的地图压缩方法来压缩地图

由于默认情况下的 GeoJSON 文件太大,ECharts 提供了方法可以压缩地图。

GeoJSON 介绍:http://geojson.org/

ECharts 提供了压缩算法,但是代码是 JavaScript 的,参考代码写个 Java 的也可以,但是通过 Java 提供的脚本引擎可以很方便的直接执行 JS。

本文压缩代码参考下面的项目:

https://github.com/giscafer/mapshaper-plus
这里的算法也是来源于 ECharts

从该项目提取出压缩地图的 JS 代码,简化后如下:

function convert2Echarts(rawStr,fileName,type){
  var results="";
  var json = JSON.parse(rawStr);
  // Meta tag
  json.UTF8Encoding = true;
  var features = json.features;
  if (!features) {
    return;
  }
  features.forEach(function (feature){
    var encodeOffsets = feature.geometry.encodeOffsets = [];
    var coordinates = feature.geometry.coordinates;
    if (feature.geometry.type === 'Polygon') {
      coordinates.forEach(function (coordinate, idx){
        coordinates[idx] = encodePolygon(
          coordinate, encodeOffsets[idx] = []
        );
      });
    } else if(feature.geometry.type === 'MultiPolygon') {
      coordinates.forEach(function (polygon, idx1){
        encodeOffsets[idx1] = [];
        polygon.forEach(function (coordinate, idx2) {
          coordinates[idx1][idx2] = encodePolygon(
            coordinate, encodeOffsets[idx1][idx2] = []
          );
        });
      });
    }
  });
  if(type==='json'){
    results=JSON.stringify(json);
  }else{
    results=addEchartsJsWrapper(JSON.stringify(json), fileName);
  }
  return results;
};
function encodePolygon(coordinate, encodeOffsets) {
  var result = '';
  var prevX = quantize(coordinate[0][0]);
  var prevY = quantize(coordinate[0][1]);
  // Store the origin offset
  encodeOffsets[0] = prevX;
  encodeOffsets[1] = prevY;
  for (var i = 0; i < coordinate.length; i++) {
    var point = coordinate[i];
    result+=encode(point[0], prevX);
    result+=encode(point[1], prevY);
    prevX = quantize(point[0]);
    prevY = quantize(point[1]);
  }
  return result;
}
function addAMDWrapper(jsonStr) {
  return ['define(function() {',
    '  return ' + jsonStr + ';',
    '});'].join('\n');
}
function addEchartsJsWrapper(jsonStr,fileName) {
  return ['(function (root, factory) {',
    "  if (typeof define === 'function' && define.amd) {",
    "    define(['exports', 'echarts'], factory);",
    "  } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {",
    "    factory(exports, require('echarts'));",
    "  } else {",
    "    factory({}, root.echarts);",
    "  }",
    " }(this, function (exports, echarts) {",
    "    var log = function (msg) {",
    "      if (typeof console !== 'undefined') {",
    "        console && console.error && console.error(msg);",
    "      }",
    "    }",
    " if (!echarts) {",
    "    log('ECharts is not Loaded');",
    "      return;",
    "    }",
    " if (!echarts.registerMap) {",
    "    log('ECharts Map is not loaded')",
    "    return;",
    " }",
    " echarts.registerMap('"+fileName+"',"+ jsonStr,
    ' )}));'].join('\n');
}
function encode(val, prev){
  // Quantization
  val = quantize(val);
  // var tmp = val;
  // Delta
  val = val - prev;
  if (((val << 1) ^ (val >> 15)) + 64 === 8232) {
    //WTF, 8232 will get syntax error in js code
    val--;
  }
  // ZigZag
  val = (val << 1) ^ (val >> 15);
  // add offset and get unicode
  return String.fromCharCode(val+64);
  // var tmp = {'tmp' : str};
  // try{
  //   eval("(" + JSON.stringify(tmp) + ")");
  // }catch(e) {
  //   console.log(val + 64);
  // }
}
function quantize(val) {
  return Math.ceil(val * 1024);
}

一个河北省的 GeoJSON 示例(文件大小为 55 kb):

{"type": "FeatureCollection",
"cp":[115.4004,39.4688],
"size":"1300",
"features":
[
{"type": "Feature","properties":{"id":"1308","name":"承德市","cp":[117.5757,41.4075],"childNum":11},"geometry":{"type":"Polygon","coordinates":[[[116.0815,41.781],[116.1035,41.7865],[116.1255,41.8085],[116.1035,41.8359],[116.1255,41.8689],[116.1584,41.8634],[116.1694,41.8744],[116.1914,41.8634],[116.2134,41.8799],[116.2134,41.8909],[116.2244,41.9183],[116.2354,41.9238],[116.2244,41.9293],[116.2244,41.9348],[116.3013,41.9733],[116.3123,41.9952],[116.3342,42.0062],[116.3672,42.0117],[116.4111,41.9952],[116.4111,41.9678],[116.3892,41.9458],[116.4331,41.9403],[116.4661,41.9568],[116.499,41.9843],[116.532,41.9568],[116.543,41.9348],[116.5869,41.9238],[116.5979,41.9348],[116.6418,41.9293],[116.6638,41.9458],[116.7188,41.9403],[116.7188,41.9623],[116.7297,41.9733],[116.7407,41.9897],[116.7737,41.9952],[116.7737,41.9843],[116.7957,41.9733],[116.8506,42.0062],[116.8726,42.0007],[116.8835,42.0227],[116.8726,42.0282],[116.8835,42.0557],[116.8835,42.0667],[116.8945,42.0831],[116.8945,42.1051],[116.8286,42.1655],[116.8066,42.1765],[116.7957,42.1875],[116.8176,42.204],[116.9055,42.1875],[116.9165,42.1985],[116.9165,42.2534],[116.9055,42.2699],[116.9055,42.2919],[116.8945,42.3083],[116.9055,42.3523],[116.9055,42.3688],[116.9055,42.3853],[116.9165,42.4017],[116.9714,42.4292],[117.0044,42.4292],[117.0154,42.4567],[117.0813,42.4622],[117.0923,42.4841],[117.1362,42.4677],[117.2021,42.4677],[117.2791,42.4841],[117.334,42.4622],[117.3889,42.4622],[117.4109,42.4731],[117.3999,42.5116],[117.3999,42.5226],[117.4219,42.5226],[117.4329,42.5116],[117.4658,42.5171],[117.4768,42.5336],[117.4768,42.583],[117.4878,42.594],[117.5317,42.5885],[117.5427,42.5995],[117.5537,42.605],[117.5757,42.583],[117.6306,42.5665],[117.8064,42.616],[117.8064,42.5995],[117.7954,42.594],[117.8064,42.5775],[117.8394,42.561],[117.8613,42.5391],[117.8723,42.4951],[117.9272,42.4731],[117.9602,42.4292],[117.9712,42.4292],[118.0042,42.4127],[118.0261,42.3853],[118.0151,42.3468],[118.0261,42.3193],[118.0591,42.3083],[118.0591,42.2864],[117.9712,42.2424],[118.0261,42.2095],[118.0481,42.193],[118.103,42.182],[118.114,42.171],[118.103,42.149],[118.092,42.1106],[118.158,42.0831],[118.158,42.0612],[118.136,42.0667],[118.147,42.0557],[118.114,42.0447],[118.125,42.0392],[118.158,42.0282],[118.2019,42.0337],[118.2239,42.0557],[118.2239,42.0831],[118.2458,42.0941],[118.2678,42.0886],[118.3008,42.0557],[118.2788,42.0282],[118.2678,42.0282],[118.2349,42.0172],[118.2898,42.0062],[118.3008,41.9897],[118.3118,41.9897],[118.3008,41.9403],[118.2678,41.9293],[118.2678,41.9183],[118.3337,41.8744],[118.3337,41.8579],[118.3447,41.8469],[118.3228,41.8359],[118.3118,41.781],[118.2788,41.7645],[118.2678,41.7645],[118.2568,41.77],[118.2458,41.781],[118.2458,41.7975],[118.2239,41.814],[118.2019,41.8085],[118.1909,41.814],[118.1689,41.8085],[118.147,41.7975],[118.158,41.7865],[118.136,41.7645],[118.147,41.759],[118.136,41.7316],[118.158,41.7206],[118.1689,41.6821],[118.2239,41.6382],[118.2129,41.6162],[118.2349,41.5833],[118.2898,41.5723],[118.2898,41.5613],[118.3228,41.5668],[118.3118,41.5393],[118.3228,41.5173],[118.3228,41.5063],[118.3118,41.5009],[118.3118,41.4844],[118.2788,41.4789],[118.2678,41.4679],[118.3447,41.4514],[118.3557,41.424],[118.3557,41.391],[118.3667,41.3855],[118.3557,41.3745],[118.3557,41.3525],[118.3667,41.347],[118.3557,41.3361],[118.3777,41.3141],[118.3997,41.3086],[118.4106,41.3196],[118.4216,41.3361],[118.4875,41.347],[118.5095,41.3416],[118.5315,41.358],[118.5425,41.3525],[118.5864,41.3525],[118.6084,41.347],[118.6523,41.347],[118.6743,41.358],[118.6963,41.3306],[118.7073,41.3361],[118.7183,41.3306],[118.7512,41.3251],[118.7842,41.358],[118.8281,41.369],[118.8501,41.3855],[118.8501,41.369],[118.8391,41.3635],[118.8501,41.3525],[118.8501,41.347],[118.8721,41.3031],[118.927,41.3031],[118.949,41.3141],[118.9709,41.3086],[119.0149,41.3086],[119.0369,41.2976],[119.1467,41.2976],[119.2017,41.2866],[119.2126,41.2921],[119.2126,41.3086],[119.2456,41.3086],[119.2566,41.2811],[119.2456,41.2701],[119.2126,41.2537],[119.2126,41.2262],[119.1797,41.2262],[119.1687,41.2152],[119.1907,41.2042],[119.1907,41.1932],[119.1248,41.1383],[119.0808,41.1328],[119.0808,41.0944],[119.0698,41.0724],[119.0479,41.0779],[119.0369,41.0614],[118.96,41.0779],[118.938,41.0559],[118.938,41.0339],[118.949,41.0175],[119.0259,41.0065],[119.0259,40.99],[119.0039,40.968],[118.9709,40.957],[118.938,40.957],[118.916,40.968],[118.905,40.9625],[118.8831,40.8691],[118.8501,40.8197],[118.8501,40.8032],[118.8831,40.7813],[118.905,40.7813],[118.894,40.7593],[118.949,40.7483],[118.96,40.7208],[118.9819,40.7043],[119.0149,40.6879],[119.0369,40.6879],[119.0588,40.6659],[119.0808,40.6769],[119.1028,40.6659],[119.1577,40.6934],[119.1797,40.6824],[119.1797,40.6659],[119.1467,40.6384],[119.1577,40.6055],[119.1138,40.6055],[119.0808,40.589],[119.0588,40.6055],[118.96,40.556],[118.9709,40.5341],[118.96,40.5341],[118.927,40.5286],[118.894,40.5396],[118.8611,40.5286],[118.8281,40.5341],[118.7952,40.5121],[118.7842,40.4901],[118.7732,40.4791],[118.7292,40.4736],[118.6963,40.4901],[118.6743,40.4681],[118.6633,40.4517],[118.6304,40.4462],[118.6084,40.4352],[118.6194,40.4242],[118.6194,40.4187],[118.6304,40.4187],[118.6304,40.3967],[118.6523,40.3693],[118.6084,40.3253],[118.5974,40.3088],[118.5864,40.3088],[118.5645,40.2869],[118.5315,40.2979],[118.5425,40.3802],[118.5645,40.3967],[118.5425,40.4187],[118.5315,40.4077],[118.4985,40.4022],[118.4656,40.4132],[118.4106,40.4187],[118.3887,40.4352],[118.3557,40.4297],[118.3557,40.4352],[118.3337,40.4297],[118.3228,40.4187],[118.3118,40.4187],[118.2788,40.4242],[118.2568,40.4462],[118.2568,40.4572],[118.2349,40.4626],[118.2349,40.4517],[118.1909,40.4297],[118.158,40.4242],[118.158,40.4077],[118.1689,40.4022],[118.136,40.3748],[118.125,40.3583],[118.0811,40.3528],[118.0701,40.3253],[118.0371,40.3033],[118.0042,40.2924],[117.9712,40.2924],[117.9492,40.2814],[117.9492,40.2869],[117.9163,40.2869],[117.9053,40.2704],[117.8064,40.2594],[117.7625,40.2429],[117.7515,40.2319],[117.7185,40.2429],[117.6965,40.2374],[117.6416,40.2045],[117.6196,40.2045],[117.6086,40.1935],[117.5757,40.1935],[117.5647,40.21],[117.5757,40.2209],[117.5537,40.2209],[117.5427,40.2319],[117.5098,40.2264],[117.4768,40.2319],[117.4438,40.2539],[117.4219,40.2484],[117.4109,40.2319],[117.3999,40.2374],[117.3889,40.2264],[117.356,40.2374],[117.345,40.2429],[117.334,40.2759],[117.301,40.2759],[117.29,40.2924],[117.2791,40.3088],[117.2791,40.3308],[117.2571,40.3418],[117.2461,40.3693],[117.2241,40.3693],[117.2241,40.3748],[117.2351,40.3967],[117.2351,40.4022],[117.2351,40.4187],[117.2681,40.4407],[117.2351,40.4572],[117.2351,40.4681],[117.2131,40.4956],[117.2131,40.5121],[117.2571,40.5176],[117.2461,40.5505],[117.312,40.5725],[117.345,40.578],[117.3889,40.5615],[117.3999,40.5725],[117.4219,40.567],[117.4329,40.578],[117.4109,40.6055],[117.4219,40.6384],[117.4768,40.6494],[117.4768,40.6329],[117.4988,40.6384],[117.5098,40.6659],[117.4988,40.6769],[117.4658,40.6714],[117.4109,40.6879],[117.345,40.6714],[117.323,40.6604],[117.29,40.6604],[117.2571,40.6824],[117.2461,40.6769],[117.2021,40.6934],[117.1143,40.6989],[117.1143,40.7043],[117.0483,40.6989],[117.0264,40.6934],[116.9604,40.7098],[116.9385,40.7373],[116.9275,40.7428],[116.9275,40.7758],[116.8945,40.7758],[116.8945,40.7922],[116.8835,40.8032],[116.8726,40.8197],[116.8176,40.8472],[116.8066,40.8417],[116.7847,40.8746],[116.7188,40.9076],[116.7297,40.9296],[116.7188,40.9351],[116.7078,40.9351],[116.6748,40.9735],[116.6968,41.0229],[116.6858,41.0449],[116.6858,41.0394],[116.6418,41.0614],[116.6199,41.0504],[116.6089,41.0394],[116.6199,41.0175],[116.6199,40.9845],[116.5979,40.9735],[116.5649,40.9955],[116.543,40.99],[116.521,40.9735],[116.4661,40.9845],[116.4551,40.979],[116.4441,40.957],[116.4661,40.9296],[116.4771,40.9021],[116.4001,40.9076],[116.3672,40.9406],[116.3452,40.979],[116.3013,40.99],[116.2903,41.0065],[116.2793,41.0175],[116.2683,41.0339],[116.2683,41.0394],[116.2903,41.0669],[116.2683,41.0999],[116.2354,41.1273],[116.2463,41.1658],[116.2244,41.1823],[116.2354,41.2097],[116.1914,41.2592],[116.1914,41.2921],[116.2134,41.3086],[116.2134,41.3251],[116.1694,41.358],[116.1365,41.369],[116.1035,41.369],[116.0815,41.3855],[116.0486,41.391],[116.0376,41.424],[116.0156,41.4349],[116.0046,41.4569],[115.9827,41.4734],[115.9937,41.4844],[115.9717,41.5448],[115.9497,41.5668],[115.9277,41.5668],[115.9277,41.5942],[115.9058,41.6437],[115.9497,41.6602],[116.0596,41.7371],[116.0815,41.781]]]}},
{"type": "Feature","properties":{"id":"1307","name":"张家口市","cp":[115.1477,40.8527],"childNum":15},"geometry":{"type":"Polygon","coordinates":[[[116.0815,41.781],[116.0596,41.7371],[115.9497,41.6602],[115.9058,41.6437],[115.9277,41.5942],[115.9277,41.5668],[115.9497,41.5668],[115.9717,41.5448],[115.9937,41.4844],[115.9827,41.4734],[116.0046,41.4569],[116.0156,41.4349],[116.0376,41.424],[116.0486,41.391],[116.0815,41.3855],[116.1035,41.369],[116.1365,41.369],[116.1694,41.358],[116.2134,41.3251],[116.2134,41.3086],[116.1914,41.2921],[116.1914,41.2592],[116.2354,41.2097],[116.2244,41.1823],[116.2463,41.1658],[116.2354,41.1273],[116.2683,41.0999],[116.2903,41.0669],[116.2683,41.0394],[116.2683,41.0339],[116.2793,41.0175],[116.2903,41.0065],[116.3013,40.99],[116.3452,40.979],[116.3672,40.9406],[116.3452,40.9296],[116.3342,40.9076],[116.3892,40.8636],[116.4111,40.8307],[116.4331,40.8197],[116.4441,40.8087],[116.4551,40.7977],[116.4661,40.7703],[116.4221,40.7648],[116.4111,40.7758],[116.3232,40.7703],[116.3123,40.7648],[116.3123,40.7538],[116.2793,40.7648],[116.2463,40.7922],[116.2354,40.7813],[116.2354,40.7593],[116.2134,40.7428],[116.2134,40.7208],[116.2024,40.7153],[116.1914,40.7208],[116.1694,40.6934],[116.1694,40.6659],[116.1475,40.6659],[116.1145,40.6494],[116.1255,40.6274],[116.1145,40.6165],[116.0156,40.6],[116.0046,40.589],[116.0046,40.578],[115.9827,40.578],[115.9717,40.6],[115.9497,40.6],[115.9387,40.611],[115.9167,40.6165],[115.8838,40.5945],[115.8289,40.589],[115.8179,40.556],[115.7959,40.5615],[115.752,40.5396],[115.741,40.5066],[115.741,40.4901],[115.7739,40.4846],[115.7739,40.4626],[115.7739,40.4517],[115.8069,40.4187],[115.8179,40.3857],[115.8508,40.3748],[115.8728,40.3583],[115.9058,40.3583],[115.9167,40.3693],[115.9277,40.3363],[115.9387,40.3143],[115.9497,40.2869],[115.9717,40.2649],[115.9607,40.2594],[115.9277,40.2539],[115.9167,40.2374],[115.8948,40.2374],[115.8728,40.188],[115.8398,40.166],[115.8508,40.1495],[115.8069,40.155],[115.7849,40.177],[115.7739,40.177],[115.752,40.155],[115.752,40.144],[115.752,40.1385],[115.73,40.1276],[115.686,40.1385],[115.6531,40.1276],[115.6531,40.1166],[115.6091,40.1166],[115.5981,40.0946],[115.5762,40.0946],[115.5762,40.1001],[115.5432,40.0781],[115.5322,40.0781],[115.4553,40.0287],[115.4443,39.9957],[115.4224,39.9792],[115.4224,39.9518],[115.4004,39.9078],[115.4004,39.8914],[115.3674,39.8859],[115.3674,39.8639],[115.3455,39.8419],[115.3455,39.8199],[115.3345,39.8035],[115.3345,39.7925],[115.3125,39.7815],[115.2795,39.743],[115.2466,39.7375],[115.2136,39.7101],[115.1807,39.6991],[115.1807,39.6826],[115.1697,39.6716],[115.1367,39.6881],[115.1257,39.6881],[115.1038,39.7046],[115.0378,39.7046],[115.0159,39.6771],[114.9829,39.6771],[114.9609,39.6606],[114.939,39.6716],[114.928,39.6497],[114.884,39.6387],[114.884,39.6222],[114.8511,39.6002],[114.8511,39.5837],[114.8401,39.5837],[114.8181,39.6112],[114.7961,39.6002],[114.7632,39.6167],[114.7302,39.6112],[114.7192,39.6222],[114.7083,39.5892],[114.6533,39.5837],[114.6643,39.5947],[114.6533,39.6002],[114.6423,39.5947],[114.6423,39.5673],[114.6204,39.5563],[114.6204,39.5673],[114.5764,39.5673],[114.5654,39.5782],[114.5544,39.5618],[114.5215,39.5618],[114.5105,39.5782],[114.4995,39.6057],[114.4666,39.6112],[114.4336,39.6057],[114.4006,39.6442],[114.4006,39.6936],[114.4116,39.776],[114.4226,39.787],[114.4336,39.787],[114.3787,39.8694],[114.3237,39.8639],[114.3127,39.8584],[114.2798,39.8749],[114.2249,39.8639],[114.2139,39.8694],[114.2249,39.8969],[114.2249,39.9078],[114.1919,39.9078],[114.1809,39.9023],[114.1479,39.8969],[114.115,39.9078],[114.093,39.9133],[114.071,39.9243],[114.0491,39.9188],[114.0271,39.9628],[114.0271,39.9847],[114.0161,39.9902],[113.9392,40.0067],[113.9172,40.0012],[113.9063,40.0067],[113.9172,40.0177],[113.9612,40.0287],[113.9722,40.0562],[113.9832,40.0726],[113.9722,40.1056],[113.9832,40.1111],[114.0161,40.1001],[114.0381,40.0562],[114.093,40.0726],[114.104,40.1056],[114.082,40.1276],[114.071,40.1825],[114.104,40.1935],[114.126,40.188],[114.126,40.177],[114.1479,40.177],[114.1699,40.188],[114.2358,40.199],[114.2249,40.21],[114.2688,40.2374],[114.2688,40.2264],[114.3018,40.2264],[114.3127,40.2374],[114.3567,40.2484],[114.3896,40.2429],[114.4666,40.2594],[114.4995,40.2814],[114.4995,40.2924],[114.5215,40.3088],[114.5325,40.3418],[114.5105,40.3583],[114.4775,40.3473],[114.4446,40.3748],[114.4006,40.3528],[114.3896,40.3528],[114.3787,40.3638],[114.3567,40.3693],[114.3127,40.3638],[114.2908,40.4242],[114.2908,40.4462],[114.2798,40.4681],[114.2688,40.4736],[114.2798,40.4956],[114.2908,40.5286],[114.3018,40.5396],[114.3018,40.5505],[114.2798,40.5505],[114.2798,40.556],[114.2908,40.589],[114.2688,40.611],[114.2358,40.6055],[114.2139,40.6274],[114.2139,40.6384],[114.1809,40.6769],[114.1699,40.6989],[114.137,40.7373],[114.126,40.7428],[114.115,40.7373],[114.104,40.7428],[114.104,40.7813],[114.082,40.7867],[114.0491,40.8197],[114.0491,40.8362],[114.071,40.8527],[114.0601,40.8636],[114.0491,40.8856],[114.0271,40.9131],[114.0161,40.9186],[114.0051,40.946],[113.9832,40.946],[113.9722,40.9845],[113.9612,41.001],[113.8623,41.0779],[113.8403,41.0779],[113.8293,41.0944],[113.8293,41.1053],[113.8733,41.1108],[113.8843,41.1218],[113.9172,41.1713],[114.0051,41.1877],[114.0161,41.2262],[113.9941,41.2701],[113.9832,41.2646],[113.9722,41.2427],[113.9612,41.2427],[113.9392,41.2756],[113.9063,41.3086],[113.9063,41.3196],[113.9282,41.3306],[113.9502,41.391],[113.9392,41.4075],[113.9282,41.413],[113.8733,41.413],[113.8733,41.4459],[113.9282,41.4899],[113.9502,41.4844],[113.9722,41.5063],[114.0381,41.5283],[114.082,41.5283],[114.104,41.5393],[114.1479,41.5283],[114.1699,41.5338],[114.2139,41.5118],[114.2468,41.5173],[114.2468,41.5338],[114.2249,41.5613],[114.2468,41.5887],[114.2249,41.6162],[114.2468,41.6272],[114.2358,41.6492],[114.2139,41.6876],[114.2358,41.6931],[114.2029,41.7371],[114.2139,41.7426],[114.2139,41.759],[114.2029,41.792],[114.2249,41.8085],[114.2249,41.8304],[114.2908,41.8689],[114.3018,41.8964],[114.3237,41.9019],[114.3237,41.9293],[114.3457,41.9293],[114.3567,41.9458],[114.3896,41.9513],[114.4336,41.9458],[114.4556,41.9568],[114.4775,41.9513],[114.4885,41.9678],[114.5105,41.9788],[114.4995,41.9952],[114.4885,42.0007],[114.4775,42.0392],[114.4775,42.0612],[114.4885,42.0612],[114.4995,42.0667],[114.4995,42.0776],[114.5105,42.1161],[114.5544,42.1271],[114.5984,42.1326],[114.6423,42.1051],[114.6753,42.1271],[114.6753,42.1161],[114.6973,42.1216],[114.7522,42.1161],[114.7852,42.1326],[114.7961,42.149],[114.8181,42.149],[114.8291,42.1436],[114.8291,42.1381],[114.8621,42.0996],[114.8621,42.0886],[114.8621,42.0557],[114.884,42.0337],[114.895,42.0117],[114.906,42.0117],[114.917,42.0007],[114.906,41.9952],[114.906,41.9788],[114.917,41.9568],[114.917,41.9128],[114.928,41.9019],[114.917,41.8799],[114.906,41.8579],[114.928,41.8579],[114.95,41.8359],[114.939,41.825],[114.917,41.825],[114.895,41.814],[114.873,41.8085],[114.873,41.7975],[114.895,41.77],[114.906,41.6711],[114.906,41.6382],[114.873,41.6162],[114.8621,41.5997],[114.873,41.5997],[114.884,41.6052],[114.9719,41.6162],[114.9829,41.6052],[115.0269,41.6107],[115.0378,41.5997],[115.0598,41.5997],[115.1038,41.6217],[115.1257,41.6107],[115.1477,41.6162],[115.1697,41.5997],[115.1917,41.5997],[115.2356,41.5778],[115.2576,41.5778],[115.2686,41.6162],[115.2905,41.6217],[115.3125,41.5942],[115.3674,41.5997],[115.3784,41.6052],[115.3674,41.6107],[115.3674,41.6217],[115.3455,41.6382],[115.3564,41.6547],[115.3235,41.6766],[115.3345,41.6876],[115.3125,41.6986],[115.3345,41.7206],[115.3784,41.7206],[115.5212,41.77],[115.5542,41.792],[115.5762,41.792],[115.6531,41.8304],[115.6531,41.8469],[115.697,41.8689],[115.73,41.8689],[115.73,41.8799],[115.741,41.8964],[115.7739,41.8854],[115.7959,41.9019],[115.7959,41.9128],[115.8179,41.9183],[115.8289,41.9348],[115.8838,41.9403],[115.9167,41.9513],[115.9387,41.9019],[116.0046,41.8304],[116.0046,41.781],[116.0815,41.781]]]}},
{"type": "Feature","properties":{"id":"1306","name":"保定市","cp":[115.0488,39.0948],"childNum":23},"geometry":{"type":"Polygon","coordinates":[[[114.5544,39.5618],[114.5654,39.5782],[114.5764,39.5673],[114.6204,39.5673],[114.6204,39.5563],[114.6423,39.5673],[114.6423,39.5947],[114.6533,39.6002],[114.6643,39.5947],[114.6533,39.5837],[114.7083,39.5892],[114.7192,39.6222],[114.7302,39.6112],[114.7632,39.6167],[114.7961,39.6002],[114.8181,39.6112],[114.8401,39.5837],[114.8511,39.5837],[114.8511,39.6002],[114.884,39.6222],[114.884,39.6387],[114.928,39.6497],[114.939,39.6716],[114.9609,39.6606],[114.9829,39.6771],[115.0159,39.6771],[115.0378,39.7046],[115.1038,39.7046],[115.1257,39.6881],[115.1367,39.6881],[115.1697,39.6716],[115.1807,39.6826],[115.1807,39.6991],[115.2136,39.7101],[115.2466,39.7375],[115.2795,39.743],[115.3125,39.7815],[115.3345,39.7925],[115.3345,39.8035],[115.3455,39.8199],[115.3455,39.8419],[115.3674,39.8639],[115.3674,39.8859],[115.4004,39.8914],[115.4004,39.9078],[115.4224,39.9518],[115.4443,39.9518],[115.4773,39.9353],[115.5212,39.9023],[115.5103,39.8859],[115.5212,39.8749],[115.5103,39.8474],[115.5212,39.8364],[115.5652,39.8145],[115.5542,39.7925],[115.5103,39.7815],[115.4883,39.798],[115.4333,39.776],[115.4443,39.7485],[115.4883,39.7375],[115.4883,39.6991],[115.4993,39.6936],[115.4883,39.6826],[115.4883,39.6716],[115.4773,39.6497],[115.5103,39.6497],[115.5212,39.6387],[115.5212,39.6112],[115.5432,39.6167],[115.5762,39.5947],[115.5762,39.5892],[115.5872,39.5892],[115.6201,39.6057],[115.6421,39.6002],[115.675,39.6057],[115.686,39.5892],[115.697,39.5673],[115.719,39.5618],[115.741,39.5453],[115.752,39.5178],[115.7629,39.5178],[115.7629,39.5068],[115.7739,39.5123],[115.8289,39.5123],[115.8289,39.5398],[115.8508,39.5508],[115.8838,39.5508],[115.8948,39.5673],[115.9058,39.5673],[115.9167,39.5837],[115.9058,39.5947],[115.9167,39.6002],[115.9277,39.5947],[115.9497,39.5673],[115.9717,39.5728],[115.9717,39.5947],[115.9937,39.5947],[115.9937,39.5782],[116.0046,39.5782],[116.0156,39.5892],[116.0376,39.5728],[116.1035,39.5728],[116.1475,39.5673],[116.1584,39.5782],[116.2244,39.5782],[116.2463,39.5453],[116.2463,39.5178],[116.2134,39.5123],[116.1914,39.5013],[116.1475,39.4574],[116.1365,39.4354],[116.1365,39.4025],[116.1145,39.3805],[116.1145,39.3585],[116.1914,39.353],[116.2024,39.342],[116.2024,39.2706],[116.1914,39.2157],[116.2134,39.2102],[116.2024,39.1827],[116.2134,39.1498],[116.2463,39.1443],[116.2683,39.1278],[116.2683,39.1223],[116.3232,39.0948],[116.3123,39.0399],[116.2903,39.0015],[116.3342,38.9795],[116.3123,38.9575],[116.2573,38.9355],[116.2244,38.9191],[116.1914,38.9246],[116.1584,38.9465],[116.1255,38.9301],[116.0925,38.9026],[116.0596,38.8916],[116.0596,38.8861],[116.0706,38.8696],[116.0596,38.8531],[116.0376,38.8367],[116.0376,38.8092],[116.0046,38.7982],[115.9717,38.7653],[115.9497,38.7543],[115.9497,38.7323],[115.9607,38.7048],[115.9607,38.6884],[115.9717,38.6664],[115.9717,38.6444],[115.9607,38.6279],[115.9607,38.5785],[115.9387,38.5565],[115.9387,38.54],[115.9058,38.5236],[115.8838,38.5345],[115.8618,38.5236],[115.8838,38.5126],[115.8728,38.5126],[115.8179,38.5291],[115.7849,38.5071],[115.7739,38.4851],[115.752,38.4851],[115.719,38.4467],[115.73,38.3807],[115.708,38.3807],[115.708,38.3588],[115.697,38.3478],[115.6531,38.3423],[115.6421,38.3313],[115.5981,38.3313],[115.5872,38.3423],[115.5762,38.3258],[115.5542,38.3368],[115.5432,38.3203],[115.5322,38.3148],[115.5103,38.3313],[115.5103,38.3588],[115.4993,38.3588],[115.4993,38.3423],[115.4773,38.3313],[115.4553,38.3258],[115.4224,38.3368],[115.4004,38.3203],[115.3784,38.3203],[115.3784,38.2983],[115.3894,38.2874],[115.3674,38.2764],[115.3564,38.2544],[115.3235,38.2489],[115.3015,38.2379],[115.2795,38.2434],[115.2686,38.2599],[115.2686,38.2874],[115.2466,38.2928],[115.2136,38.2489],[115.2026,38.2489],[115.1917,38.2434],[115.1697,38.2544],[115.0928,38.2654],[115.0708,38.2874],[115.0598,38.2599],[115.0269,38.2654],[114.9939,38.2544],[114.9939,38.2654],[114.9609,38.2764],[114.928,38.2764],[114.917,38.2654],[114.895,38.2654],[114.884,38.2819],[114.939,38.3313],[114.928,38.3752],[114.906,38.4027],[114.884,38.4247],[114.8621,38.4357],[114.8621,38.4521],[114.8511,38.4576],[114.8401,38.4576],[114.8401,38.4467],[114.8291,38.4467],[114.8291,38.4741],[114.8071,38.4961],[114.7522,38.4961],[114.7302,38.4796],[114.7083,38.4906],[114.6643,38.4796],[114.6423,38.5071],[114.6313,38.5236],[114.5874,38.5785],[114.5544,38.6005],[114.5435,38.6444],[114.5105,38.6609],[114.4995,38.6774],[114.4666,38.6993],[114.4556,38.7048],[114.4226,38.6938],[114.4116,38.7048],[114.3787,38.6884],[114.3347,38.6938],[114.3127,38.7103],[114.3018,38.6993],[114.2578,38.7048],[114.2468,38.6938],[114.2139,38.6938],[114.1919,38.6829],[114.1809,38.6719],[114.1479,38.6774],[114.126,38.6609],[114.093,38.6609],[114.0491,38.6884],[114.0381,38.6829],[114.0271,38.6884],[113.9941,38.6774],[113.9612,38.6993],[113.9282,38.7048],[113.9282,38.7158],[113.8843,38.7433],[113.8513,38.7433],[113.8293,38.7598],[113.8293,38.7762],[113.8293,38.7927],[113.8513,38.8147],[113.8513,38.8367],[113.8074,38.8531],[113.7744,38.8916],[113.7744,38.9026],[113.7744,38.9465],[113.7744,38.9905],[113.8074,38.9905],[113.8184,39.0125],[113.8513,39.0289],[113.8733,39.0454],[113.8843,39.0619],[113.9172,39.0619],[113.9502,39.0948],[113.9612,39.1003],[113.9832,39.0948],[114.0051,39.1168],[114.0491,39.1333],[114.0601,39.1058],[114.0601,39.0948],[114.093,39.0894],[114.126,39.0509],[114.1479,39.0509],[114.1699,39.0674],[114.1919,39.0509],[114.2139,39.0509],[114.2249,39.0674],[114.2578,39.0729],[114.3457,39.0784],[114.3677,39.1113],[114.3567,39.1388],[114.3787,39.1498],[114.3787,39.1718],[114.4446,39.1772],[114.4556,39.1937],[114.4666,39.1882],[114.4666,39.1937],[114.4775,39.2212],[114.4336,39.2322],[114.4226,39.2432],[114.4336,39.2596],[114.4226,39.2871],[114.4336,39.3146],[114.4666,39.3311],[114.4775,39.3475],[114.4666,39.3585],[114.4775,39.408],[114.4995,39.4354],[114.4995,39.4739],[114.5325,39.4904],[114.5435,39.5123],[114.5544,39.5343],[114.5654,39.5563],[114.5544,39.5618]]]}},
{"type": "Feature","properties":{"id":"1302","name":"唐山市","cp":[118.4766,39.6826],"childNum":11},"geometry":{"type":"Polygon","coordinates":[[[117.5757,40.1935],[117.6086,40.1935],[117.6196,40.2045],[117.6416,40.2045],[117.6965,40.2374],[117.7185,40.2429],[117.7515,40.2319],[117.7625,40.2429],[117.8064,40.2594],[117.9053,40.2704],[117.9163,40.2869],[117.9492,40.2869],[117.9492,40.2814],[117.9712,40.2924],[118.0042,40.2924],[118.0371,40.3033],[118.0701,40.3253],[118.0811,40.3528],[118.125,40.3583],[118.136,40.3748],[118.1689,40.4022],[118.158,40.4077],[118.158,40.4242],[118.1909,40.4297],[118.2349,40.4517],[118.2349,40.4626],[118.2568,40.4572],[118.2568,40.4462],[118.2788,40.4242],[118.3118,40.4187],[118.3228,40.4187],[118.3337,40.4297],[118.3557,40.4352],[118.3557,40.4297],[118.3887,40.4352],[118.4106,40.4187],[118.4656,40.4132],[118.4985,40.4022],[118.5315,40.4077],[118.5425,40.4187],[118.5645,40.3967],[118.5425,40.3802],[118.5315,40.2979],[118.5645,40.2869],[118.5754,40.2649],[118.6633,40.2484],[118.7402,40.1935],[118.7732,40.1935],[118.7952,40.2045],[118.8501,40.177],[118.8721,40.1825],[118.894,40.166],[118.905,40.166],[118.916,40.155],[118.938,40.144],[118.927,40.1276],[118.916,40.0891],[118.8611,40.0616],[118.8721,40.0507],[118.8611,40.0232],[118.8831,40.0067],[118.8831,39.9573],[118.8721,39.9408],[118.8611,39.9353],[118.8501,39.8804],[118.8171,39.8254],[118.8171,39.809],[118.8281,39.798],[118.8062,39.7925],[118.7952,39.776],[118.7732,39.765],[118.7622,39.7321],[118.7842,39.6716],[118.8171,39.6552],[118.8391,39.6112],[118.8721,39.6057],[118.8831,39.5782],[118.8721,39.5673],[118.894,39.5453],[118.938,39.5453],[118.9709,39.5508],[118.9929,39.5398],[119.0039,39.5233],[118.9819,39.5123],[118.9819,39.5068],[119.0149,39.4904],[119.0369,39.4574],[119.0808,39.4739],[119.1577,39.4629],[119.2126,39.4629],[119.2566,39.4354],[119.3115,39.4574],[119.3445,39.4574],[119.3774,39.4519],[119.4434,39.4299],[119.4324,39.4189],[119.3884,39.386],[119.2456,39.3365],[119.1467,39.2047],[119.1138,39.1827],[119.0039,39.1718],[118.9929,39.1443],[118.938,39.0948],[118.8831,39.0619],[118.8171,39.0344],[118.6743,39.007],[118.6414,39.007],[118.6194,39.0015],[118.6194,38.9795],[118.5864,38.9301],[118.5095,38.9026],[118.4436,38.9191],[118.3777,38.9685],[118.3008,39.007],[118.158,39.0179],[118.114,39.0399],[118.0811,39.0784],[118.0701,39.1333],[118.0701,39.2542],[118.0261,39.2816],[118.0261,39.2926],[118.0371,39.3036],[118.0261,39.3091],[118.0371,39.3146],[118.0151,39.3365],[118.0151,39.3475],[118.0151,39.3585],[117.9822,39.375],[117.9712,39.3915],[117.9712,39.4025],[117.9492,39.4025],[117.9382,39.3915],[117.9053,39.408],[117.8723,39.386],[117.8723,39.4519],[117.8833,39.4684],[117.9053,39.4739],[117.8943,39.4849],[117.8943,39.5068],[117.9163,39.5178],[117.9053,39.5343],[117.9272,39.5673],[117.9272,39.5782],[117.8723,39.6002],[117.8503,39.5892],[117.8064,39.6002],[117.7844,39.5947],[117.7734,39.6002],[117.7515,39.5947],[117.7515,39.5782],[117.7405,39.5728],[117.7405,39.5618],[117.7405,39.5508],[117.7185,39.5288],[117.7075,39.5563],[117.6855,39.5673],[117.6965,39.5728],[117.6855,39.5837],[117.6746,39.5892],[117.6526,39.5782],[117.6526,39.5947],[117.6416,39.5947],[117.6306,39.6002],[117.6196,39.5947],[117.6196,39.6057],[117.6416,39.6112],[117.6526,39.6387],[117.6636,39.6387],[117.6636,39.6661],[117.6416,39.6881],[117.6416,39.6991],[117.6306,39.6991],[117.6196,39.7101],[117.6196,39.7046],[117.5977,39.7046],[117.5867,39.7211],[117.5757,39.7156],[117.5757,39.7266],[117.5977,39.743],[117.5647,39.754],[117.5427,39.7595],[117.5647,39.8035],[117.5427,39.8474],[117.5208,39.8749],[117.5098,39.9133],[117.5208,39.9298],[117.5098,39.9408],[117.5317,39.9518],[117.5427,39.9792],[117.5317,39.9957],[117.5427,39.9957],[117.5647,39.9902],[117.5867,39.9957],[117.6196,39.9738],[117.6306,39.9683],[117.7075,39.9847],[117.7185,39.9792],[117.7295,39.9738],[117.7844,39.9683],[117.7954,40.0122],[117.7734,40.0232],[117.7625,40.0177],[117.7515,40.0122],[117.7405,40.0177],[117.7515,40.0452],[117.7625,40.0507],[117.7734,40.0562],[117.7515,40.0671],[117.7515,40.0781],[117.7185,40.0781],[117.7075,40.0946],[117.6965,40.0946],[117.6855,40.0836],[117.6746,40.0836],[117.6636,40.1001],[117.6526,40.0946],[117.6526,40.1111],[117.6526,40.1331],[117.6196,40.144],[117.6196,40.155],[117.5977,40.1605],[117.5757,40.177],[117.5757,40.1935]]]}},
{"type": "Feature","properties":{"id":"1309","name":"沧州市","cp":[116.8286,38.2104],"childNum":15},"geometry":{"type":"Polygon","coordinates":[[[115.708,38.3588],[115.708,38.3807],[115.73,38.3807],[115.719,38.4467],[115.752,38.4851],[115.7739,38.4851],[115.7849,38.5071],[115.8179,38.5291],[115.8728,38.5126],[115.8838,38.5126],[115.8618,38.5236],[115.8838,38.5345],[115.9058,38.5236],[115.9387,38.54],[115.9387,38.5565],[115.9607,38.5785],[115.9607,38.6279],[115.9717,38.6444],[115.9717,38.6664],[115.9607,38.6884],[115.9607,38.7048],[115.9497,38.7323],[115.9497,38.7543],[115.9717,38.7653],[116.0046,38.7982],[116.0376,38.8092],[116.0376,38.8367],[116.0596,38.8531],[116.0706,38.8696],[116.0596,38.8861],[116.0596,38.8916],[116.0925,38.9026],[116.1255,38.9301],[116.1584,38.9465],[116.1914,38.9246],[116.2024,38.9081],[116.2024,38.8861],[116.2354,38.8751],[116.2463,38.8477],[116.2683,38.8367],[116.3013,38.8147],[116.3342,38.8092],[116.4221,38.7708],[116.4331,38.7488],[116.4331,38.7213],[116.3892,38.6993],[116.3672,38.6938],[116.3672,38.6719],[116.3892,38.6115],[116.4551,38.5785],[116.4331,38.5345],[116.4441,38.5291],[116.4551,38.5071],[116.4771,38.4906],[116.532,38.4906],[116.543,38.5016],[116.554,38.5016],[116.5649,38.4961],[116.5649,38.4741],[116.5869,38.4741],[116.5869,38.4851],[116.6089,38.4851],[116.6199,38.4961],[116.6199,38.5071],[116.6199,38.5126],[116.6528,38.5126],[116.6638,38.54],[116.6528,38.5675],[116.6638,38.5785],[116.7078,38.6224],[116.7627,38.6389],[116.7847,38.6499],[116.7627,38.6993],[116.7627,38.7433],[116.8726,38.7433],[116.8726,38.6829],[116.9165,38.6829],[116.9275,38.6774],[116.9275,38.6884],[116.9934,38.6938],[117.0154,38.6884],[117.0154,38.6993],[117.0374,38.7048],[117.0374,38.6884],[117.0593,38.6829],[117.0483,38.6444],[117.0703,38.606],[117.1033,38.5895],[117.1362,38.6005],[117.1472,38.6169],[117.1912,38.6169],[117.2241,38.6389],[117.2241,38.6224],[117.2571,38.6115],[117.2571,38.6005],[117.2461,38.595],[117.2571,38.595],[117.2351,38.584],[117.2571,38.584],[117.2351,38.5785],[117.2461,38.5565],[117.2681,38.5565],[117.29,38.562],[117.29,38.5675],[117.312,38.5565],[117.356,38.573],[117.356,38.584],[117.3669,38.584],[117.3669,38.5675],[117.3999,38.5785],[117.4109,38.595],[117.4438,38.606],[117.4768,38.606],[117.4878,38.6169],[117.5208,38.6115],[117.5317,38.6005],[117.5977,38.6169],[117.6416,38.6115],[117.7075,38.551],[117.8723,38.3478],[117.8943,38.3368],[117.9382,38.3203],[117.9492,38.3093],[117.8833,38.2983],[117.8503,38.2654],[117.8064,38.2269],[117.7954,38.205],[117.7954,38.183],[117.8064,38.172],[117.7625,38.161],[117.7734,38.139],[117.7405,38.1226],[117.7295,38.0951],[117.7075,38.0786],[117.6196,38.0676],[117.5867,38.0731],[117.5757,38.0621],[117.5208,37.9907],[117.5098,37.9413],[117.4878,37.9193],[117.4438,37.8644],[117.4329,37.8479],[117.3999,37.8424],[117.334,37.8644],[117.2681,37.8369],[117.1802,37.8479],[117.1582,37.8369],[117.0813,37.8479],[117.0264,37.8314],[116.9275,37.8479],[116.8506,37.8314],[116.8066,37.8369],[116.7627,37.804],[116.7517,37.76],[116.6748,37.7216],[116.6638,37.6886],[116.6089,37.6282],[116.5759,37.6117],[116.488,37.5238],[116.4551,37.5128],[116.4331,37.4744],[116.4331,37.4689],[116.4001,37.5128],[116.3672,37.5238],[116.3782,37.5458],[116.3782,37.5623],[116.3452,37.5677],[116.3342,37.5732],[116.3232,37.5787],[116.3342,37.5787],[116.3342,37.6062],[116.3782,37.6172],[116.3672,37.6447],[116.3892,37.6941],[116.4001,37.6941],[116.4111,37.7271],[116.4331,37.738],[116.4221,37.749],[116.4551,37.76],[116.4661,37.7765],[116.4771,37.8204],[116.4771,37.8589],[116.51,37.8589],[116.51,37.8699],[116.521,37.8918],[116.554,37.9468],[116.5649,37.9852],[116.5649,38.0237],[116.4221,38.0127],[116.3672,38.0237],[116.3342,38.0127],[116.3123,37.9797],[116.2793,37.9688],[116.2683,37.9797],[116.2683,37.9578],[116.2573,37.9688],[116.2244,37.9523],[116.1914,37.9688],[116.1804,37.9633],[116.1694,37.9358],[116.1584,37.9193],[116.0925,37.9138],[116.1145,37.9468],[116.0815,37.9578],[116.0596,38.0072],[116.0486,38.0237],[116.0486,38.0347],[116.0706,38.0402],[116.0486,38.0511],[116.0486,38.0676],[116.0266,38.0786],[116.0266,38.1006],[116.0596,38.1281],[116.0486,38.1445],[115.9827,38.1281],[115.9717,38.139],[115.9387,38.15],[115.9387,38.1665],[115.9058,38.1555],[115.8838,38.1775],[115.8948,38.1885],[115.8948,38.1995],[115.8728,38.2214],[115.8618,38.2599],[115.8289,38.2874],[115.8289,38.2983],[115.8398,38.3038],[115.8398,38.3313],[115.7959,38.3423],[115.7849,38.3533],[115.752,38.3588],[115.752,38.3698],[115.741,38.3698],[115.73,38.3588],[115.708,38.3588]]]}},
{"type": "Feature","properties":{"id":"1301","name":"石家庄市","cp":[114.4995,38.1006],"childNum":19},"geometry":{"type":"Polygon","coordinates":[[[113.8293,38.7598],[113.8513,38.7433],[113.8843,38.7433],[113.9282,38.7158],[113.9282,38.7048],[113.9612,38.6993],[113.9941,38.6774],[114.0271,38.6884],[114.0381,38.6829],[114.0491,38.6884],[114.093,38.6609],[114.126,38.6609],[114.1479,38.6774],[114.1809,38.6719],[114.1919,38.6829],[114.2139,38.6938],[114.2468,38.6938],[114.2578,38.7048],[114.3018,38.6993],[114.3127,38.7103],[114.3347,38.6938],[114.3787,38.6884],[114.4116,38.7048],[114.4226,38.6938],[114.4556,38.7048],[114.4666,38.6993],[114.4995,38.6774],[114.5105,38.6609],[114.5435,38.6444],[114.5544,38.6005],[114.5874,38.5785],[114.6313,38.5236],[114.6423,38.5071],[114.6643,38.4796],[114.7083,38.4906],[114.7302,38.4796],[114.7522,38.4961],[114.8071,38.4961],[114.8291,38.4741],[114.8291,38.4467],[114.8401,38.4467],[114.8401,38.4576],[114.8511,38.4576],[114.8621,38.4521],[114.8621,38.4357],[114.884,38.4247],[114.906,38.4027],[114.928,38.3752],[114.939,38.3313],[114.884,38.2819],[114.895,38.2654],[114.917,38.2654],[114.928,38.2764],[114.9609,38.2764],[114.9939,38.2654],[114.9939,38.2544],[115.0269,38.2654],[115.0598,38.2599],[115.0708,38.2874],[115.0928,38.2654],[115.1697,38.2544],[115.1917,38.2434],[115.2026,38.2489],[115.2136,38.2489],[115.2466,38.2928],[115.2686,38.2874],[115.2686,38.2599],[115.2795,38.2434],[115.3015,38.2379],[115.3235,38.2489],[115.3235,38.2269],[115.3564,38.205],[115.3455,38.1555],[115.3674,38.139],[115.3674,38.1171],[115.3784,38.0951],[115.4333,38.0896],[115.4663,38.0951],[115.4773,38.0786],[115.4773,38.0676],[115.4663,38.0676],[115.4553,38.0347],[115.4333,38.0127],[115.4553,38.0017],[115.4443,37.9797],[115.4553,37.9688],[115.4553,37.9523],[115.4443,37.9413],[115.4114,37.9413],[115.4114,37.9193],[115.3894,37.9193],[115.3784,37.9028],[115.3674,37.9028],[115.3674,37.8809],[115.3894,37.8754],[115.3894,37.8644],[115.3674,37.8479],[115.3564,37.8314],[115.3455,37.793],[115.3674,37.7765],[115.3455,37.7545],[115.3455,37.7435],[115.3784,37.7271],[115.3235,37.6996],[115.3125,37.6611],[115.3015,37.6611],[115.2905,37.6392],[115.2576,37.6447],[115.2576,37.6831],[115.2466,37.7051],[115.2466,37.7325],[115.2026,37.7435],[115.1587,37.7655],[115.1477,37.7765],[115.1587,37.782],[115.1477,37.7985],[115.1038,37.804],[115.0818,37.793],[115.0818,37.7765],[115.0708,37.7655],[115.0598,37.7435],[115.0378,37.738],[115.0159,37.7435],[115.0049,37.7325],[114.9829,37.7325],[114.9609,37.7216],[114.917,37.7325],[114.884,37.7161],[114.8511,37.6941],[114.8291,37.6721],[114.8071,37.6611],[114.7961,37.6282],[114.7742,37.6282],[114.7742,37.6172],[114.7192,37.6227],[114.7083,37.6117],[114.6863,37.5677],[114.6643,37.5568],[114.6094,37.5568],[114.5874,37.5513],[114.4885,37.5787],[114.4116,37.5513],[114.3347,37.5018],[114.3018,37.5073],[114.2688,37.4963],[114.1809,37.5348],[114.1589,37.5073],[114.137,37.4963],[114.126,37.4854],[114.115,37.4963],[114.093,37.4908],[114.071,37.4469],[114.0491,37.4414],[114.0271,37.4469],[114.0381,37.4799],[114.0601,37.5073],[114.071,37.5128],[114.082,37.5403],[114.093,37.5458],[114.093,37.5677],[114.104,37.5732],[114.126,37.6007],[114.126,37.6117],[114.115,37.6172],[114.115,37.6337],[114.137,37.6447],[114.137,37.6886],[114.104,37.7161],[114.071,37.7161],[114.0491,37.7271],[114.0381,37.7161],[114.0161,37.7216],[113.9941,37.7161],[114.0051,37.7435],[114.0381,37.749],[114.0491,37.782],[114.0161,37.804],[114.0051,37.8149],[113.9722,37.8149],[113.9612,37.8259],[113.9722,37.8589],[113.9722,37.8644],[113.9612,37.9083],[113.9282,37.9248],[113.9172,37.9358],[113.9282,37.9468],[113.8953,37.9797],[113.8623,38.0017],[113.8733,38.0072],[113.8733,38.0292],[113.8733,38.0457],[113.8733,38.0566],[113.8513,38.0676],[113.8513,38.0841],[113.8074,38.1116],[113.8293,38.1665],[113.7854,38.1555],[113.7524,38.172],[113.7305,38.1665],[113.7195,38.172],[113.7305,38.194],[113.7195,38.194],[113.7195,38.2104],[113.6865,38.205],[113.6536,38.2379],[113.6316,38.2324],[113.6206,38.2379],[113.5986,38.2214],[113.5767,38.2269],[113.5657,38.2489],[113.5437,38.2654],[113.5437,38.3093],[113.5547,38.3258],[113.5547,38.3533],[113.5327,38.3643],[113.5217,38.3807],[113.5327,38.4192],[113.5657,38.4357],[113.5657,38.4521],[113.5876,38.4576],[113.5547,38.4851],[113.5547,38.5071],[113.5437,38.5181],[113.5547,38.5236],[113.5547,38.5565],[113.6096,38.595],[113.5986,38.6169],[113.6096,38.6389],[113.6316,38.6554],[113.6646,38.6499],[113.6755,38.6444],[113.7085,38.6554],[113.7195,38.6719],[113.7195,38.7158],[113.7305,38.7158],[113.7524,38.6993],[113.7744,38.7048],[113.7744,38.7158],[113.7744,38.7268],[113.7964,38.7653],[113.8293,38.7598]]]}},
{"type": "Feature","properties":{"id":"1305","name":"邢台市","cp":[114.8071,37.2821],"childNum":18},"geometry":{"type":"Polygon","coordinates":[[[114.0271,37.4469],[114.0491,37.4414],[114.071,37.4469],[114.093,37.4908],[114.115,37.4963],[114.126,37.4854],[114.137,37.4963],[114.1589,37.5073],[114.1809,37.5348],[114.2688,37.4963],[114.3018,37.5073],[114.3347,37.5018],[114.4116,37.5513],[114.4885,37.5787],[114.5874,37.5513],[114.6094,37.5568],[114.6643,37.5568],[114.6863,37.5677],[114.7083,37.6117],[114.7192,37.6227],[114.7742,37.6172],[114.7742,37.6282],[114.7961,37.6282],[114.8071,37.6611],[114.8291,37.6721],[114.8511,37.6941],[114.884,37.7161],[114.917,37.7325],[114.9609,37.7216],[114.9829,37.7325],[115.0049,37.7325],[115.0159,37.7435],[115.0378,37.738],[115.0598,37.7435],[115.0708,37.7655],[115.0818,37.7765],[115.0818,37.793],[115.1038,37.804],[115.1477,37.7985],[115.1587,37.782],[115.1477,37.7765],[115.1587,37.7655],[115.2026,37.7435],[115.2466,37.7325],[115.2466,37.7051],[115.2576,37.6831],[115.2576,37.6447],[115.2026,37.6447],[115.1917,37.5952],[115.2026,37.5732],[115.1917,37.5568],[115.2466,37.5787],[115.2905,37.5732],[115.3235,37.5513],[115.3564,37.5238],[115.3564,37.5293],[115.3674,37.5623],[115.3784,37.5458],[115.4114,37.5348],[115.4114,37.5073],[115.4553,37.4963],[115.4224,37.4854],[115.4114,37.4799],[115.4333,37.4689],[115.3455,37.4579],[115.3455,37.4469],[115.3564,37.4359],[115.4004,37.4249],[115.4224,37.392],[115.4773,37.3865],[115.5103,37.359],[115.5322,37.3535],[115.5212,37.337],[115.5432,37.3206],[115.5762,37.3151],[115.5872,37.337],[115.6091,37.3315],[115.5872,37.3096],[115.6311,37.2986],[115.6201,37.2821],[115.6201,37.2766],[115.6641,37.2821],[115.675,37.2656],[115.675,37.2601],[115.697,37.2656],[115.719,37.2546],[115.719,37.2217],[115.752,37.2162],[115.7629,37.2052],[115.752,37.1832],[115.7629,37.1448],[115.7849,37.1283],[115.7959,37.1173],[115.8179,37.1173],[115.8398,37.0953],[115.8398,37.0734],[115.8508,37.0624],[115.7739,36.991],[115.7959,36.969],[115.7629,36.925],[115.708,36.8811],[115.686,36.8427],[115.686,36.8152],[115.5762,36.7767],[115.5322,36.7767],[115.5322,36.7657],[115.4993,36.7657],[115.4773,36.7603],[115.3784,36.7657],[115.3564,36.7767],[115.3235,36.7822],[115.3235,36.8097],[115.3015,36.8317],[115.3235,36.8701],[115.3125,36.8756],[115.2795,36.8646],[115.2026,36.8701],[115.1917,36.8536],[115.1587,36.8536],[115.1587,36.8976],[115.1367,36.9031],[115.1147,36.9141],[115.1038,36.925],[115.1257,36.9415],[115.1038,36.9635],[115.0269,36.9635],[114.95,36.947],[114.906,36.9635],[114.8511,36.9635],[114.7961,36.925],[114.7412,36.9305],[114.6753,36.9031],[114.5654,36.8866],[114.5544,36.8756],[114.5544,36.8427],[114.5325,36.8317],[114.4885,36.8317],[114.4666,36.8427],[114.4336,36.8372],[114.3787,36.8536],[114.3677,36.8481],[114.3347,36.8536],[114.2908,36.8427],[114.2798,36.8536],[114.2468,36.8591],[114.2249,36.8427],[114.1919,36.8481],[114.104,36.8427],[114.093,36.8481],[114.082,36.8646],[114.071,36.8756],[114.0491,36.8701],[114.0271,36.8921],[114.0051,36.8921],[114.0051,36.9086],[113.9832,36.9141],[113.9722,36.9525],[113.9392,36.9745],[113.9392,36.991],[113.9063,36.991],[113.8843,37.0129],[113.8623,37.0184],[113.8403,37.0074],[113.8293,37.0129],[113.7964,36.9965],[113.7634,37.0129],[113.7854,37.0514],[113.7634,37.0734],[113.7634,37.0953],[113.7744,37.1063],[113.7744,37.1558],[113.7964,37.1558],[113.8293,37.1777],[113.8293,37.1942],[113.8623,37.2217],[113.8843,37.2491],[113.8843,37.2656],[113.8953,37.2931],[113.8953,37.3096],[113.9282,37.337],[113.9502,37.348],[113.9502,37.3755],[113.9722,37.4084],[113.9941,37.4249],[114.0161,37.4194],[114.0271,37.4469]]]}},
{"type": "Feature","properties":{"id":"1304","name":"邯郸市","cp":[114.4775,36.535],"childNum":18},"geometry":{"type":"Polygon","coordinates":[[[113.7964,36.9965],[113.8293,37.0129],[113.8403,37.0074],[113.8623,37.0184],[113.8843,37.0129],[113.9063,36.991],[113.9392,36.991],[113.9392,36.9745],[113.9722,36.9525],[113.9832,36.9141],[114.0051,36.9086],[114.0051,36.8921],[114.0271,36.8921],[114.0491,36.8701],[114.071,36.8756],[114.082,36.8646],[114.093,36.8481],[114.104,36.8427],[114.1919,36.8481],[114.2249,36.8427],[114.2468,36.8591],[114.2798,36.8536],[114.2908,36.8427],[114.3347,36.8536],[114.3677,36.8481],[114.3787,36.8536],[114.4336,36.8372],[114.4666,36.8427],[114.4885,36.8317],[114.5325,36.8317],[114.5544,36.8427],[114.5544,36.8756],[114.5654,36.8866],[114.6753,36.9031],[114.7412,36.9305],[114.7961,36.925],[114.8511,36.9635],[114.906,36.9635],[114.95,36.947],[115.0269,36.9635],[115.1038,36.9635],[115.1257,36.9415],[115.1038,36.925],[115.1147,36.9141],[115.1367,36.9031],[115.1587,36.8976],[115.1587,36.8536],[115.1917,36.8536],[115.2026,36.8701],[115.2795,36.8646],[115.3125,36.8756],[115.3235,36.8701],[115.3015,36.8317],[115.3235,36.8097],[115.3235,36.7822],[115.3564,36.7767],[115.3784,36.7657],[115.4773,36.7603],[115.4443,36.6943],[115.4224,36.6833],[115.4114,36.6669],[115.3894,36.6559],[115.3784,36.6339],[115.3455,36.601],[115.3455,36.5845],[115.3345,36.5845],[115.3235,36.5405],[115.2905,36.5186],[115.2905,36.5076],[115.2795,36.4801],[115.2905,36.4581],[115.3015,36.4636],[115.3125,36.4417],[115.2905,36.4142],[115.3455,36.3977],[115.3455,36.3593],[115.3784,36.3263],[115.3564,36.3208],[115.3564,36.3098],[115.3674,36.3098],[115.3784,36.3208],[115.4114,36.3263],[115.4224,36.3153],[115.4224,36.2878],[115.4663,36.2604],[115.4773,36.2439],[115.4773,36.189],[115.4883,36.1505],[115.4663,36.1505],[115.4663,36.1725],[115.4553,36.167],[115.4443,36.1505],[115.4333,36.1505],[115.4224,36.1395],[115.4004,36.1505],[115.3894,36.1285],[115.3784,36.1285],[115.3674,36.1011],[115.3455,36.0901],[115.3235,36.0846],[115.3015,36.1066],[115.3015,36.1285],[115.2795,36.1395],[115.2466,36.1945],[115.2026,36.2054],[115.1697,36.189],[115.1587,36.1945],[115.1477,36.2054],[115.1257,36.2109],[115.1147,36.2],[115.1038,36.1725],[115.0708,36.178],[115.0488,36.1615],[115.0488,36.1176],[115.0378,36.0956],[115.0159,36.0901],[115.0049,36.0681],[114.9609,36.0736],[114.917,36.0516],[114.928,36.0956],[114.906,36.123],[114.906,36.1395],[114.8621,36.145],[114.8511,36.1285],[114.8291,36.123],[114.7632,36.1285],[114.7632,36.1395],[114.7412,36.156],[114.7192,36.145],[114.6643,36.1395],[114.5874,36.123],[114.5654,36.1505],[114.5435,36.156],[114.5325,36.1725],[114.4775,36.1835],[114.4556,36.2],[114.4116,36.2054],[114.4116,36.2274],[114.4006,36.2274],[114.3896,36.2219],[114.3677,36.2274],[114.3347,36.2549],[114.3127,36.2494],[114.2908,36.2439],[114.2578,36.2659],[114.2468,36.2494],[114.2139,36.2714],[114.2029,36.2494],[114.1809,36.2439],[114.1699,36.2439],[114.1699,36.2659],[114.1479,36.2823],[114.126,36.2823],[114.115,36.2714],[114.0601,36.2823],[114.0491,36.2933],[114.0381,36.2988],[114.0381,36.3098],[114.0601,36.3153],[114.0601,36.3263],[114.0271,36.3263],[114.0381,36.3483],[114.0271,36.3538],[114.0051,36.3428],[113.9722,36.3593],[113.9832,36.3483],[114.0051,36.3318],[113.9941,36.3153],[113.9612,36.3483],[113.9502,36.3593],[113.9502,36.3483],[113.9612,36.3428],[113.9282,36.3263],[113.9172,36.3538],[113.9063,36.3428],[113.8843,36.3538],[113.8513,36.3483],[113.8513,36.3428],[113.8513,36.3318],[113.8184,36.3318],[113.7524,36.3647],[113.7415,36.3647],[113.7415,36.3538],[113.7415,36.3702],[113.7085,36.4032],[113.7085,36.4252],[113.6865,36.4197],[113.6536,36.4307],[113.6316,36.4581],[113.5876,36.4581],[113.5767,36.4856],[113.5547,36.4966],[113.5437,36.4856],[113.5547,36.5186],[113.5547,36.535],[113.5657,36.5405],[113.5876,36.546],[113.5876,36.5625],[113.5437,36.59],[113.5547,36.6229],[113.4778,36.6394],[113.4778,36.6559],[113.5107,36.6888],[113.5107,36.6998],[113.4998,36.7108],[113.4778,36.7053],[113.4668,36.7108],[113.4778,36.7383],[113.5327,36.7328],[113.5437,36.7548],[113.5657,36.7603],[113.5876,36.7548],[113.6096,36.7603],[113.6426,36.7877],[113.6646,36.7932],[113.6755,36.8042],[113.6646,36.8152],[113.6865,36.8262],[113.6755,36.8317],[113.6755,36.8536],[113.6975,36.8866],[113.7305,36.8811],[113.7305,36.8591],[113.7415,36.8481],[113.7634,36.8646],[113.7854,36.8646],[113.7854,36.9031],[113.7634,36.936],[113.7634,36.9525],[113.7744,36.9855],[113.7964,36.9965]]]}},
{"type": "Feature","properties":{"id":"1303","name":"秦皇岛市","cp":[119.2126,40.0232],"childNum":5},"geometry":{"type":"Polygon","coordinates":[[[118.5645,40.2869],[118.5864,40.3088],[118.5974,40.3088],[118.6084,40.3253],[118.6523,40.3693],[118.6304,40.3967],[118.6304,40.4187],[118.6194,40.4187],[118.6194,40.4242],[118.6084,40.4352],[118.6304,40.4462],[118.6633,40.4517],[118.6743,40.4681],[118.6963,40.4901],[118.7292,40.4736],[118.7732,40.4791],[118.7842,40.4901],[118.7952,40.5121],[118.8281,40.5341],[118.8611,40.5286],[118.894,40.5396],[118.927,40.5286],[118.96,40.5341],[118.9709,40.5341],[118.96,40.556],[119.0588,40.6055],[119.0808,40.589],[119.1138,40.6055],[119.1577,40.6055],[119.1797,40.611],[119.2346,40.6],[119.2126,40.567],[119.2236,40.567],[119.2566,40.5396],[119.2786,40.5396],[119.2896,40.5286],[119.3225,40.5341],[119.3335,40.5286],[119.3884,40.545],[119.4104,40.5341],[119.4324,40.545],[119.4543,40.5341],[119.4653,40.5396],[119.4763,40.5341],[119.5313,40.5505],[119.5642,40.5341],[119.5422,40.5121],[119.5752,40.4736],[119.5972,40.4681],[119.5972,40.4517],[119.5862,40.4352],[119.5972,40.4022],[119.5862,40.3748],[119.5972,40.3638],[119.5862,40.3473],[119.6082,40.3308],[119.6191,40.3033],[119.6411,40.2924],[119.6521,40.2759],[119.6301,40.2264],[119.6741,40.2374],[119.6741,40.2264],[119.707,40.2045],[119.751,40.21],[119.762,40.1385],[119.74,40.1056],[119.7729,40.0836],[119.762,40.0781],[119.762,40.0616],[119.7839,40.0507],[119.8279,40.0507],[119.8499,40.0342],[119.8389,40.0287],[119.8389,40.0122],[119.8608,39.9463],[119.8608,39.9078],[119.751,39.8419],[119.5862,39.7156],[119.5093,39.6771],[119.4873,39.6442],[119.4873,39.5728],[119.4434,39.4299],[119.3774,39.4519],[119.3445,39.4574],[119.3115,39.4574],[119.2566,39.4354],[119.2126,39.4629],[119.1577,39.4629],[119.0808,39.4739],[119.0369,39.4574],[119.0149,39.4904],[118.9819,39.5068],[118.9819,39.5123],[119.0039,39.5233],[118.9929,39.5398],[118.9709,39.5508],[118.938,39.5453],[118.894,39.5453],[118.8721,39.5673],[118.8831,39.5782],[118.8721,39.6057],[118.8391,39.6112],[118.8171,39.6552],[118.7842,39.6716],[118.7622,39.7321],[118.7732,39.765],[118.7952,39.776],[118.8062,39.7925],[118.8281,39.798],[118.8171,39.809],[118.8171,39.8254],[118.8501,39.8804],[118.8611,39.9353],[118.8721,39.9408],[118.8831,39.9573],[118.8831,40.0067],[118.8611,40.0232],[118.8721,40.0507],[118.8611,40.0616],[118.916,40.0891],[118.927,40.1276],[118.938,40.144],[118.916,40.155],[118.905,40.166],[118.894,40.166],[118.8721,40.1825],[118.8501,40.177],[118.7952,40.2045],[118.7732,40.1935],[118.7402,40.1935],[118.6633,40.2484],[118.5754,40.2649],[118.5645,40.2869]]]}},
{"type": "Feature","properties":{"id":"1311","name":"衡水市","cp":[115.8838,37.7161],"childNum":11},"geometry":{"type":"Polygon","coordinates":[[[115.2576,37.6447],[115.2905,37.6392],[115.3015,37.6611],[115.3125,37.6611],[115.3235,37.6996],[115.3784,37.7271],[115.3455,37.7435],[115.3455,37.7545],[115.3674,37.7765],[115.3455,37.793],[115.3564,37.8314],[115.3674,37.8479],[115.3894,37.8644],[115.3894,37.8754],[115.3674,37.8809],[115.3674,37.9028],[115.3784,37.9028],[115.3894,37.9193],[115.4114,37.9193],[115.4114,37.9413],[115.4443,37.9413],[115.4553,37.9523],[115.4553,37.9688],[115.4443,37.9797],[115.4553,38.0017],[115.4333,38.0127],[115.4553,38.0347],[115.4663,38.0676],[115.4773,38.0676],[115.4773,38.0786],[115.4663,38.0951],[115.4333,38.0896],[115.3784,38.0951],[115.3674,38.1171],[115.3674,38.139],[115.3455,38.1555],[115.3564,38.205],[115.3235,38.2269],[115.3235,38.2489],[115.3564,38.2544],[115.3674,38.2764],[115.3894,38.2874],[115.3784,38.2983],[115.3784,38.3203],[115.4004,38.3203],[115.4224,38.3368],[115.4553,38.3258],[115.4773,38.3313],[115.4993,38.3423],[115.4993,38.3588],[115.5103,38.3588],[115.5103,38.3313],[115.5322,38.3148],[115.5432,38.3203],[115.5542,38.3368],[115.5762,38.3258],[115.5872,38.3423],[115.5981,38.3313],[115.6421,38.3313],[115.6531,38.3423],[115.697,38.3478],[115.708,38.3588],[115.73,38.3588],[115.741,38.3698],[115.752,38.3698],[115.752,38.3588],[115.7849,38.3533],[115.7959,38.3423],[115.8398,38.3313],[115.8398,38.3038],[115.8289,38.2983],[115.8289,38.2874],[115.8618,38.2599],[115.8728,38.2214],[115.8948,38.1995],[115.8948,38.1885],[115.8838,38.1775],[115.9058,38.1555],[115.9387,38.1665],[115.9387,38.15],[115.9717,38.139],[115.9827,38.1281],[116.0486,38.1445],[116.0596,38.1281],[116.0266,38.1006],[116.0266,38.0786],[116.0486,38.0676],[116.0486,38.0511],[116.0706,38.0402],[116.0486,38.0347],[116.0486,38.0237],[116.0596,38.0072],[116.0815,37.9578],[116.1145,37.9468],[116.0925,37.9138],[116.1584,37.9193],[116.1694,37.9358],[116.1804,37.9633],[116.1914,37.9688],[116.2244,37.9523],[116.2573,37.9688],[116.2683,37.9578],[116.2683,37.9797],[116.2793,37.9688],[116.3123,37.9797],[116.3342,38.0127],[116.3672,38.0237],[116.4221,38.0127],[116.5649,38.0237],[116.5649,37.9852],[116.554,37.9468],[116.521,37.8918],[116.51,37.8699],[116.51,37.8589],[116.4771,37.8589],[116.4771,37.8204],[116.4661,37.7765],[116.4551,37.76],[116.4221,37.749],[116.4331,37.738],[116.4111,37.7271],[116.4001,37.6941],[116.3892,37.6941],[116.3672,37.6447],[116.3782,37.6172],[116.3342,37.6062],[116.3342,37.5787],[116.3232,37.5787],[116.3342,37.5732],[116.3013,37.5677],[116.2903,37.5513],[116.2903,37.5238],[116.2793,37.5238],[116.2793,37.5073],[116.3013,37.5073],[116.2903,37.5018],[116.2903,37.4854],[116.2683,37.4799],[116.2793,37.4744],[116.2463,37.4908],[116.2354,37.4799],[116.2354,37.4634],[116.2463,37.4579],[116.2244,37.4249],[116.2683,37.4249],[116.2793,37.403],[116.2463,37.37],[116.1914,37.37],[116.1694,37.3865],[116.1035,37.37],[116.0815,37.3755],[115.9717,37.337],[115.9827,37.3206],[115.9717,37.2931],[115.9717,37.2766],[115.9717,37.2437],[115.9497,37.2217],[115.9387,37.2272],[115.9058,37.2052],[115.9058,37.1777],[115.8838,37.1503],[115.8838,37.1008],[115.8508,37.0624],[115.8398,37.0734],[115.8398,37.0953],[115.8179,37.1173],[115.7959,37.1173],[115.7849,37.1283],[115.7629,37.1448],[115.752,37.1832],[115.7629,37.2052],[115.752,37.2162],[115.719,37.2217],[115.719,37.2546],[115.697,37.2656],[115.675,37.2601],[115.675,37.2656],[115.6641,37.2821],[115.6201,37.2766],[115.6201,37.2821],[115.6311,37.2986],[115.5872,37.3096],[115.6091,37.3315],[115.5872,37.337],[115.5762,37.3151],[115.5432,37.3206],[115.5212,37.337],[115.5322,37.3535],[115.5103,37.359],[115.4773,37.3865],[115.4224,37.392],[115.4004,37.4249],[115.3564,37.4359],[115.3455,37.4469],[115.3455,37.4579],[115.4333,37.4689],[115.4114,37.4799],[115.4224,37.4854],[115.4553,37.4963],[115.4114,37.5073],[115.4114,37.5348],[115.3784,37.5458],[115.3674,37.5623],[115.3564,37.5293],[115.3564,37.5238],[115.3235,37.5513],[115.2905,37.5732],[115.2466,37.5787],[115.1917,37.5568],[115.2026,37.5732],[115.1917,37.5952],[115.2026,37.6447],[115.2576,37.6447]]]}},
{"type": "Feature","properties":{"id":"1310","name":"廊坊市","cp":[116.521,39.0509],"childNum":9},"geometry":{"type":"MultiPolygon","coordinates":[[[[116.2463,39.5178],[116.2683,39.5013],[116.3013,39.4904],[116.3452,39.4519],[116.3892,39.4519],[116.4331,39.4409],[116.4551,39.4464],[116.4551,39.4574],[116.4441,39.4739],[116.4221,39.4958],[116.4111,39.5233],[116.4331,39.5178],[116.4441,39.5288],[116.4771,39.5398],[116.4771,39.5508],[116.51,39.5563],[116.532,39.5728],[116.521,39.5947],[116.5649,39.6057],[116.5759,39.6222],[116.5979,39.6222],[116.5979,39.6167],[116.6309,39.5947],[116.6418,39.5947],[116.6418,39.6057],[116.6968,39.5947],[116.7078,39.5892],[116.7297,39.5947],[116.7078,39.6167],[116.7627,39.6167],[116.7847,39.5947],[116.7957,39.6112],[116.8176,39.6167],[116.8176,39.6002],[116.7957,39.5947],[116.8066,39.5782],[116.7847,39.5508],[116.8066,39.5288],[116.8176,39.5288],[116.8176,39.5343],[116.8286,39.5178],[116.8066,39.5013],[116.8176,39.4849],[116.7847,39.4684],[116.7957,39.4574],[116.7957,39.4464],[116.8176,39.4519],[116.8286,39.4354],[116.8506,39.4409],[116.8726,39.4299],[116.8506,39.4135],[116.8396,39.4135],[116.8286,39.397],[116.8396,39.3805],[116.8176,39.375],[116.8176,39.3695],[116.8396,39.364],[116.8286,39.353],[116.8286,39.3365],[116.8506,39.3365],[116.8726,39.3585],[116.8726,39.342],[116.8945,39.3365],[116.8835,39.3036],[116.8616,39.2981],[116.8726,39.2816],[116.8726,39.2651],[116.8726,39.2432],[116.8945,39.2267],[116.8835,39.2212],[116.8726,39.2322],[116.8726,39.2212],[116.8506,39.2102],[116.8616,39.1553],[116.9055,39.1498],[116.9165,39.1168],[116.9275,39.1168],[116.9055,39.1058],[116.8835,39.0729],[116.8726,39.0729],[116.8726,39.0564],[116.8176,39.0509],[116.7957,39.0564],[116.7847,39.0454],[116.7847,39.0564],[116.7957,39.0564],[116.7847,39.0619],[116.7847,39.0509],[116.7517,39.0509],[116.7517,39.0399],[116.7627,39.0289],[116.7517,39.0125],[116.7517,39.0015],[116.7297,38.974],[116.7078,38.9301],[116.7078,38.8971],[116.7188,38.8971],[116.7188,38.8696],[116.7188,38.8531],[116.7407,38.8531],[116.7407,38.8367],[116.7517,38.8312],[116.7407,38.8092],[116.7517,38.7982],[116.7407,38.7872],[116.7517,38.7762],[116.7407,38.7543],[116.7627,38.7488],[116.7627,38.7433],[116.7627,38.6993],[116.7847,38.6499],[116.7627,38.6389],[116.7078,38.6224],[116.6638,38.5785],[116.6528,38.5675],[116.6638,38.54],[116.6528,38.5126],[116.6199,38.5126],[116.6199,38.5071],[116.6199,38.4961],[116.6089,38.4851],[116.5869,38.4851],[116.5869,38.4741],[116.5649,38.4741],[116.5649,38.4961],[116.554,38.5016],[116.543,38.5016],[116.532,38.4906],[116.4771,38.4906],[116.4551,38.5071],[116.4441,38.5291],[116.4331,38.5345],[116.4551,38.5785],[116.3892,38.6115],[116.3672,38.6719],[116.3672,38.6938],[116.3892,38.6993],[116.4331,38.7213],[116.4331,38.7488],[116.4221,38.7708],[116.3342,38.8092],[116.3013,38.8147],[116.2683,38.8367],[116.2463,38.8477],[116.2354,38.8751],[116.2024,38.8861],[116.2024,38.9081],[116.1914,38.9246],[116.2244,38.9191],[116.2573,38.9355],[116.3123,38.9575],[116.3342,38.9795],[116.2903,39.0015],[116.3123,39.0399],[116.3232,39.0948],[116.2683,39.1223],[116.2683,39.1278],[116.2463,39.1443],[116.2134,39.1498],[116.2024,39.1827],[116.2134,39.2102],[116.1914,39.2157],[116.2024,39.2706],[116.2024,39.342],[116.1914,39.353],[116.1145,39.3585],[116.1145,39.3805],[116.1365,39.4025],[116.1365,39.4354],[116.1475,39.4574],[116.1914,39.5013],[116.2134,39.5123],[116.2463,39.5178]]],[[[117.1582,39.8199],[117.1582,39.798],[117.1692,39.798],[117.1802,39.7815],[117.2021,39.765],[117.1692,39.7485],[117.1692,39.743],[117.1582,39.7375],[117.1582,39.7266],[117.1692,39.7156],[117.1692,39.6771],[117.1582,39.6606],[117.1802,39.6442],[117.1692,39.6387],[117.1582,39.6387],[117.1472,39.6222],[117.1362,39.6167],[117.0154,39.6552],[116.9934,39.6387],[116.9824,39.6387],[116.9714,39.6497],[116.9604,39.6442],[116.9495,39.6881],[116.9495,39.7046],[116.9165,39.7046],[116.9055,39.6881],[116.8835,39.7156],[116.8945,39.7266],[116.9165,39.7321],[116.9055,39.7485],[116.8945,39.7595],[116.9055,39.765],[116.9165,39.7815],[116.9385,39.7815],[116.9275,39.8364],[116.9055,39.8529],[116.9055,39.8419],[116.9055,39.8309],[116.8176,39.8914],[116.7957,39.8859],[116.7847,39.9463],[116.7627,39.9628],[116.7737,39.9957],[116.7737,40.0122],[116.7847,40.0287],[116.8066,40.0287],[116.8396,40.0507],[116.8506,40.0507],[116.8726,40.0397],[116.9604,40.0507],[116.9824,40.0397],[117.0264,40.0342],[117.0374,40.0507],[117.0593,40.0616],[117.0923,40.0726],[117.1143,40.0726],[117.1362,40.0616],[117.1582,40.0726],[117.1802,40.0726],[117.2131,40.0946],[117.2131,40.0836],[117.2241,40.0671],[117.1912,40.0616],[117.1802,40.0507],[117.2021,40.0012],[117.1912,39.9792],[117.1472,39.9463],[117.1582,39.9353],[117.1472,39.9353],[117.1472,39.9243],[117.1362,39.9188],[117.1582,39.9078],[117.1472,39.8969],[117.1692,39.8639],[117.1802,39.8694],[117.1802,39.8639],[117.2241,39.8529],[117.2461,39.8584],[117.2571,39.8474],[117.2461,39.8309],[117.2021,39.8309],[117.1582,39.8199]]]]}}
]
}

下面使用 Java 8 中的脚本引擎执行该代码。

package tk.mybatis;
import javax.script.Invocable;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import java.io.FileNotFoundException;
import java.io.FileReader;
public class Encoder {
  public static final ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn");
  static {
    try {
      //注意这里的 encode.js 路径,文件内容就是上面的 js 代码
      engine.eval(new FileReader(Encoder.class.getResource("/encode.js").getPath()));
    } catch (ScriptException e) {
      e.printStackTrace();
    } catch (FileNotFoundException e) {
      e.printStackTrace();
    }
  }
  public static final Invocable invocable = (Invocable) engine;
  /**
   * 压缩为 echarts 格式的地图
   * @param geoJson
   * @param fileName
   * @param type   json 或 其他(按js处理)
   * @return
   */
  public static String convert2Echarts(String geoJson, String fileName, String type) {
    try {
      return (String) invocable.invokeFunction("convert2Echarts", geoJson, fileName, type);
    } catch (ScriptException e) {
      throw new RuntimeException(e);
    } catch (NoSuchMethodException e) {
      throw new RuntimeException(e);
    }
  }
}

用法:

String json = Encoder.convert2Echarts(
  "上面提供的河北省的GeoJSON内容", "河北省", "json");

压缩后的结果如下(文件大小为 9 kb):

{
  "type": "FeatureCollection",
  "cp": [115.4004,
  39.4688],
  "size": "1300",
  "features": [{
    "type": "Feature",
    "properties": {
      "id": "1308",
      "name": "承德市",
      "cp": [117.5757,
      41.4075],
      "childNum": 11
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@lLnlmxn„„IVVlUnb@VVxXJWL@LÞŽVnnV„J˜_@wkmšK„b‚x„wXk˜WXXšKlb²K@nVVVb„L@WlU²„lKVnUJVz@VVb@lżmVUVnbôaVX@°Ub@lWbXš@b@bVb°x„@VxÈLVlšaÆ@Þb²k°@lVUŽ@Xn@VW‚LXb@¤VXšKVVVLnm°_ƨ¤@aUIVa„alkX›°k„™V@„alwUVy„U@kó™°ƒna°UVUUmUÆw@mkLVUƒWVI„WšLnn@xlVnK„myU@ƒU°UXaV@U¥ƒU@UÆ™@aVUkWU¯ƒaU@WLUV@bkbmKULmKkUVUkmVIUwlWV²™Uml°U@W„LUwVm@UUK@_ƒKUUÜaXw@ƒVKUU@mVIUUlmnIVVVbÈVlKnbVKš@nI˜@nVnwVLVK„K„„˜Vnb@aUIVW@In™°@lVnIš@lWĢ@°UVL@b„@VyUUƒa@w@WUnU@Wǯ™K@UkkJWaÛbmk@mVaÞU@amkWƒ@mXUKkÿƒ£@a„kl@Um°UXwla„al@nmlXnW°znW@aƒwV™@ƒakbĉ¥VmU@ƒIƒVƒUƒJkUmWU™KbmkUaƒKkUVU@KV@@klw—™WaU@kmƒXVènbmlUUƒKƒX¯JkbƒI@JmIUWU@ƒLml@XkJ@U™kƒK@aVKwWa—IWwƒmUƒ@mU@J@UaċU™aUUƒVkI±ƒk@UUƒ@UbVVm@UVKƒLƒlkIWaULUWƒXUJU„ƒ@WbUb@lkXUxm@@JVn@J@b„nƒb@Vkx@bšLU‚Æn„JšaVXnKVVmzX‚°V@_lJXxWXƒK¯bÅamUƒ@lUI›bñJ@LÇKkIÇ`kxWL@„ƒ@@bUVUb¯xWKk„Å„VlULW@ƒŽn¦Ul@I™lmUUUVm@kWƒnkKma¯XUKWmnwVwÝL„mŽ™VUbUVWb@Lnxm„xVŽmbXx›¦@„nb@`™„ƒVƒ@kbƒLU„mVUlkbVXkºmnm@@xk¦šbĢÜlš"],
      "encodeOffsets": [[118868,
      42784]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1307",
      "name": "张家口市",
      "cp": [115.1477,
      40.8527],
      "childNum": 15
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@k™ġÛ™al¥@wn@nml¹UWlaVknUVƒ„Kla„@„Ušƒ@_ma@ƒœ¥WwnaU‚wnƒmw@KXaVUVašUnmWUk°™lƒnUVUXWVw™IWVóKUI@WXƒxUU@mma@kUKWLkw@yk@ƒaVkUUċaUU@Wk@Unm@UVmLm±IUƒkJ™kWƒ@a„I@m@U„ƒVƒ„Ula„@VXVƒXmVwnkWKƒKU_k@m¥ƒmX_™JmnU@km@U@KmU™VƒU@U™@Umk@@LƒmW@Û£Wƒka@wk™@aƒI@mmk@mUa@UmUƒIƒwW@aWUƒbU@kbÇ@kwƒ@makVUk™U@aƒm@aU@mxkUƒbƒKUXUƒ±KXVWLUK@wkU@V™@WXUa@WbUxƒJIƒŽ@¦VèVVX@±ê¯KUIƒ`¯UULVx@Vƒ@UKƒIƒVkLmVkKmš@nUJÝbkIUJVXšVVxVbU„VJ„Un™°bV„mlU°„XnK@Ul@lVÈVUXšx@W„@VXšV‚KÞb„n@VnbV„m`ƒUx™kW@UVkL™Km¼@lUnUJVnV„XV@Vm@@LV„klƒIkl@VƒWlŽULWKUL@mJ„@blbUVUlmzUJUxm@UUbċÜk@Ub@VšLVV„¦ôbVŽmšUKUkU@m„„@VlVn¼WbUJ¯@@„°šnIllÈl˜@nXšWlLœk‚J@bkxlxkxlXUlklJƒšXL@bW„n`@nÆŽXxlL@xl@Xb‚LœKlVlIXblVUbUJW@lX@VL@VVŽšXšJšw„n@WnL°K„bVbl@VI@K„@U@nmVmV@XUWI@aXm@™VUUkWmn@lmUUk@mUmK@UnwVĉ@ƒƒmU_V@XJôVVUšLVUn@šllUnJl_n@šml@XŽlLlw²LVJUL@VmbVblVXmVnlš@Ť¦„nn@ÜŽ@bšl„@@XV`„Unb@VlLVb²J‚Xn¥ÆÑ@¥Þ@"],
      "encodeOffsets": [[118868,
      42784]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1306",
      "name": "保定市",
      "cp": [115.0488,
      39.0948],
      "childNum": 23
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@VbXWš@@UlV@xVLXKWU²LV„VW„L„alVnwV@@b„n@bšVVllUnb„@lxÈ@laV@„aXV@b‚X„x„J‚nV@VVb@nnl@n„J@blšl@„ašƒU_VWUwVUškUm™Ukb±mVwœU@VIUW@UWk„@VU@ynL„m@IV@‚bnK„LVaVmnIlaXwV@@WVL°@@xnX„@V`V@VbUVVLVKnwnL@ll@@_V@VVnaÆ@œKVXÆ@nƒ@wƒKmU—™Wm@km@kÜKXU@ÑW±nIUwVƒ„Kla@I°wU±kškmm¯mƒ_ƒJnƒaƒwW@IVaUama@wƒUƒmU@mVw@aXk@mWa@£km@aƒ_kVmUnWW@¯bƒkUmk@ƒVÇm@@kUU™KUU™@UVUamVUaWIkb@xU@@amUkKƒVkam@@kVUkUWmKmUkLUb@xmJƒ™U@UImVÛVmnUwƒJƒU@VƒX@UWm@Ub°¦UšmxklmX@`ULU@@UW@@xkn¯@makV™UmxUb™°ƒlUšƒbUbƒnUJƒUUVƒa™LkbUU›JUU@mUUUƒJkaƒ@™xUIWJƒUnƒJ@V™zƒ@kb@`@bln@l™bƒŽ@X@š@š„@Xl‚bnbVb„@„„VJlInlšbVw@U„K„l@lbnan@Vb‚JôLn‚UzlV@lÈLVbVK@LVx—VWXX`WxXz‚bV`UXV¤nx@„bVlVnVlUL"],
      "encodeOffsets": [[117304,
      40512]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1302",
      "name": "唐山市",
      "cp": [118.4766,
      39.6826],
      "childNum": 11
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@„@VVl@²„lJ„UVVšbČVVb‚@@InV„@‚V„nXx˜JXb‚xUL@b„Lšl@VlI@Wnk„KV@VXnJ@I„Jla°I„W„LVVnkmaUç„WVkôaܯ„@nV°wnJlaV@VUnUUaW¯wXWWwna@£UaWKU¯ƒ¯@aVUkKUamUUƒn»‚an™„IVwUWlkš@„LlWVakU@K„_lƒšbÞU°@šy°n„@„KÈkWW™ţ¥ĉōƒkġWUw¯£¯ƒÇwţwƒ@kK@kƒ¥ÝwÅbǤېťV™lW°@ĸ™x@VVVULVLkl@V@Xƒ`Ub@Xm@UWbƒk@ÆVbnLWV@lnXUbl‚@X¯lmU™VkKWLkK@_UK@U@UmmUxmVXLWVULkU@`W@ULUK@XlJXzV@@xml@VU@UX@Kk@WbUK@Xn`ƒXmJnšmškxUVbUVlVVxUbV@nKlL„kVKÞbVKXI°KVšmVUIUKULVxVJVLkV@Vƒ@UbU@WUU@UbUK@b@nƒV@VkLmb@b"],
      "encodeOffsets": [[120398,
      41159]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1309",
      "name": "沧州市",
      "cp": [116.8286,
      38.2104],
      "childNum": 15
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@@ln@UÈ„Žl@Vn„l°aX@mXnVlU„`@bln@¤Xb@nWl@bUx@nnV‚„„V@xnbVbUb@J‚X„x„b‚mXa@k„UVwlW„k„KôVm@w™kkK@kl»Èƒm™VKXkla°@XVV@VI@ml@@Vn@VX@V@J„@VxUzVVšš²blVk¦@šĠ@@»š@VK@VÈLlK@XnJ@alIUl„a„VVbš@„n@a„U@WUIV@mUn@mKXml@lL@LnWšb@XV@@a„VVb„V„@VV„IVWÈb˜IÈ»ƒǟlWšaVUÅUƒƒ™Um@kVU™WVkaUwmaóUƒJUU¯ÑU¥mk™¯UaƒKÅnÇyóXmWÛX¯aċbÛa›J—W™ÝU¯»ƒaóóUm@IƒšVVl@bƒLUJWLX@@xšXUxl¤V@V„nVUV„XVbVš@Ž„@@VVn„°VŽ@ţU¯VƒUmƒUWV@mUXƒaƒbUKUwUaÇKn„ƒVk¦Wb@VnLmV@bkV@n„xW`Å_UVƒV@bƒUklVX@VmlUƒx@VVL@x—VWVL@VW@UUm@"],
      "encodeOffsets": [[118485,
      39280]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1301",
      "name": "石家庄市",
      "cp": [114.4995,
      38.1006],
      "childNum": 19
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@la„@šy@U„I‚m„VXIVJšw„@lb„IVVnV‚@VVœIVVlašK„bVU„VVI„mVa„aV™„kš¯VanwšVlUnb°@lm@wX@@VV@VK@_nWlknwV™¯¥Van@VX‚@„W@U„V„IVxnmÜUnUVJV@„šnI@wValKnV@k‚mU£na@mVk°K„LVa@UU@UƒmknWWkXU@aWW@@km@UaU@@klK@UkaWaUnamm@U„a¯wWU@UkƒL@ŽUn@x™V™lUXVJUb™LmU@aUWUkmKkLUUm@mW—XƒaƒmmkkWUm@@U¯JUUm™kU¯@mKĉxÝwÝ¥LƒUóŽmwkUUUWVkKm™kKmLX„lxVLVxXJ@nVJnz@VWL@`nX@šƒxƒ@kVUUmJmIXx„JV„ƒnUVƒ@UVV„@LUšƒ`UXVVƒ„ƒlXL@l@b@VmX@b™xn°™UƒbkKWLXlW@@bƒK„mKULmakLUlmb@šXb@xmXU`V„b@`lLx@nWVXL@‚°WlXnlb„KVK„XVb@˜X@l_lJ@V@XnŽ„I"],
      "encodeOffsets": [[116562,
      39691]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1305",
      "name": "邢台市",
      "cp": [114.8071,
      37.2821],
      "childNum": 18
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@nKlLnšlLXUVVlVnxô„V‚KÞ¦ÞxĊwnL°@lVnšVV°I@Vn@V‚lXnl„n„b˜WnXn@VVlKnLVlVX@bnVšKVaUIVWškšU@wVm@¯@U¥VmU_°lšK„k‚w@LX‚Va„U@wšUƒUUKlUóW@UVUœUlƒ°K„wlKU_na„KVnlKkkšWWa@IœJVa@IlJnU@„KVUUmVlaXUl@lm@kXWÝÑnkƒ™±™k@wğ›@@U@mKĉLmVJ@zmlnŽWLUÝJU_ƒ@@šmJkXUVlbklÝ@Ýa™b¯@¯±JÅwġaUU@ƒkU™@mVI±bUKƒL™WUXƒJkaƒLóKULWbUVkKmnk@@bmLUŽƒl@b@mnmJkUULƒaƒbnŽmn@lVV@¦n@„l@b‚znx@`Vz@b„xnV@xl„lbnKVx"],
      "encodeOffsets": [[116764,
      38346]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1304",
      "name": "邯郸市",
      "cp": [114.4775,
      36.535],
      "childNum": 18
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@„bVKlVnInm‚@@a„kVnK@al@nmlLVUXaVKôL„Klb„IVWšX„KVL²a‚JnUš@lV@„VVĢbÆx²I°Ž°@šaÞbÞ@lkkaVUlWnI@™„@V`ÞI‚VXKmnk@y‚InUĊKƒÇkUUamUUkƒƒ@aU@U™ƒk@WUwVkVJVkkw°a@„mK@UX@VV„LVW@wšwVa@¯Xm@@lUIWaU@UWkXWmU@UwmUkKmn@lkVƒ²™VƒaULUVmJUUUwƒLma@™UmkIUm›L—mVšmx@b™LUamKÅL@VmbkU¯KÝamzkJUb±Vkb™L@lU@WIkJƒzkKmKƒnUalWkkKW@@nkbk@WW¯XUVUJ@XlJ@Xƒ@XlWLkUƒ`VUnaWa„UV@UVIƒaUxUUmVƒK@I@W@Ç„U@@U@bƒ‚@nmKXmx™@UxkVWUX„@`VLlL@`™zX‚Ýb@b‚„@VUVkIUJVz°KVlnLlKnL„xlLVVUVlXUJ@nn‚„I@mVUlbn@@Žm„@bV„nV"],
      "encodeOffsets": [[116528,
      37885]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1303",
      "name": "秦皇岛市",
      "cp": [119.2126,
      40.0232],
      "childNum": 5
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@lnV@Xb˜škx@lU@@LUVlV„LVbnl‚ašLXVVn‚l„I„V„U„JV@UnĊ¦la„bš@nJ°UmƒV@„wn@VU„JVI°bnWlXnWVLVK²b‚akk„lI@aUaVƒUwVUUalaVwnUVak¥šX@W‚kœLVÓm„mUK@_lWš@n_UK@alÅ@ğÅƑŃݍmƒ@Ñ—ţÇlƒLƒ@¯m™z¯@ÝV™ak„ƒ`@LlVUbkXƒK™@klVXUxƒJmšbm¼V„nVVblLUV@b„°V°XLVb@¤mbXxWX°xXŽVbmVUVU@kbmI¯xmUƒ@Û°óbUl"],
      "encodeOffsets": [[121411,
      41254]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1311",
      "name": "衡水市",
      "cp": [115.8838,
      37.7161],
      "childNum": 11
    },
    "geometry": {
      "type": "Polygon",
      "coordinates": ["@@„KVlV@X°xƒb@VnnmbVŽXblb@VkL@lV@Vbn@@l‚@XX@bWVXlmXnlV„V@@VUbƒK¯LUl@nmbV¤n@l‚LXnlVUV@ln@lb„UlLnV@bV@@wlaXJVbnUVbVUš@VVšLVVn@VVX@@U‚KXU˜U@wUK@U„wVnk@UUWlk„V@a„UVUÆ`X_ƒw@mlU@anUmK@UXal¥„UmƒÈLVbVxVL„a„bVW@nXU‚Vn„„V°UŤV@Uƒ¯Um@Uƒ@@U™UaƒWVUmUUƒU@k£Vw™W@wW@XKƒIUa@wU@@al@UK@_mKXKƒbUU@aVKmš@Xmƒƒ±@kbÇakLğVaUw@a@ƒmkUJƒk@ykw@£ƒWX@lknk@WVkbUŽVnUVƒL@‚mVkI@JUb›I@JXb™XllkLUmƒLmbV`kLƒx¯Lk„›VUV@VôXkVVL„V™V@xƒVUbW@Kxƒl™L¯kV`UnV¦°@"],
      "encodeOffsets": [[118024,
      38549]]
    }
  },
  {
    "type": "Feature",
    "properties": {
      "id": "1310",
      "name": "廊坊市",
      "cp": [116.521,
      39.0509],
      "childNum": 9
    },
    "geometry": {
      "type": "MultiPolygon",
      "coordinates": [["@@la„Ušš@šUnL@VWbklWxnIVV„V@X„JlbUlšXVbn@@K„mV@@X°WVInJmn²@lmVbnL@amKV_kwlmX@@LVamaXaƒaVU@UnJVanLlUkaW@UaVakK@IlKUU@an@ln@alKUƒkIVa@a@klaUKUV@UkUV¯šKVƒV@kUmƒU@@a¯ImJUU@VV@UL@Uƒ@@WXUWa@Ukwm™@ƒX@@w@al@@aVIUmVUUUVWUknK@I@™l¥kU±a™™UUVyUwƒ@@I@UUWm@@Uk@@nUJU@WU¯@kbWlULnšÇ„k¼@llLšl@xUnóŽƒLƒlkXUxƒV@lWb„I„`°nnn™llŽV²¯x@JkbƒLU„VxmJX²@ÒWVÛL@lln@‚Xn˜šnV„L"],
      ["@@@kX@Valaa@KWI@UXW@WanaUIW@UaUKķŽk_W@UVUKUš@bƒ@UamxVXnJUbWVXLVbn@W°kb@U@Wó¼mIU¼k`V„@bVbl@„lX@lUôVlUœIV`lX„Vn@lUlVn@„l@UVaƒIUWl£Um™VWU@@UUKlUUUnƒVL@KšUnLVWUa›@™U"]],
      "encodeOffsets": [[[119037,
      40467]],
      [[119970,
      40776]]]
    }
  }],
  "UTF8Encoding": true
}

总结

以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,谢谢大家对我们的支持。如果你想了解更多相关内容请查看下面相关链接

(0)

相关推荐

  • vue使用echarts图表的详细方法

    本文为大家分享了vue使用echarts图表的方法,供大家参考,具体内容如下 该示例使用 vue-cli  脚手架搭建 安装echarts依赖 npm install echarts -S 或者使用国内的淘宝镜像: 安装 npm install -g cnpm --registry=https://registry.npm.taobao.org 使用 cnpm install echarts -S 创建图表 全局引入 main.js // 引入echarts import echarts fro

  • echarts设置图例颜色和地图底色的方法实例

    前言 本来想写echarts初始化函数的,但最近因为要写一个地图与柱状图的混合方式,也就是每个省的地图上要有柱状图显示.于是仔细使用了一下地图. 1.地图的一些基本属性就不介绍了,还是那些style 2.地图数据的获取以及Series的加载和其他没有什么大的差异.地图数据都在map.js中,都可以自己看,也可以自己根据格式获取响应的数据. 这里主要想处理的是图例颜色与地图底图颜色怎么设置的问题. 1.图例的颜色代码 refresh: function (newOption) { if (newO

  • vue中使用echarts制作圆环图的实例代码

    vue使用echarts制作圆环图,代码如下所示: <div id="main"></div> <script type="text/ecmascript-6"> export default { //从父组件中接收到的数据 props:{ chartT:{ type:Object, required:true } }, data () { return { charts: '', totalIncome:'', opinionD

  • 详解vue文件中使用echarts.js的两种方式

    最近工作中需要用到echarts,由于项目是用的vue-cli开发的.在网上搜到vue中合成了vue-echarts,但是不想使用vue中规定好的数据格式,于是就自己做了一个vue项目引用原生echarts的简单demo,实现过程如下:用了两种实现方式 准备工作 1.安装echarts依赖 控制台输入:npm install echarts --save 2.全局引入 main.js中引入 import echarts from 'echarts' Vue.prototype.$echarts

  • echarts实现地图定时切换散点与多图表级联联动详解

    1.  摘要 最近做项目遇到个统计相关需求,一个页面中大概四个或更多图形统计,百度地图.饼图.柱状图.线型图.百度地图上显示所有店面在全国各地大概位置,目前暂定每省一个,在地图上显示散点.如默认显示郑州散点闪动,其他图形显示郑州相关数据:5秒切换下一个区域点,其他的图表数据对应改变.先上个图,各位有需要的可以再接着往下 2.  引入ECharts以及地图相关json ECharts 3 开始不再强制使用 AMD 的方式按需引入,代码里也不再内置 AMD 加载器.因此引入方式简单了很多,只需要像普

  • React 使用recharts实现散点地图的示例代码

    一.前端框架react+ant design UI 二.首先安装recharts npm install recharts 或者 yarn add recharts 三.引入插件及chinaJSON.js(里面有经纬度信息) 由于项目需要我是全部存数据库的,因为也需要自己添加,下面附一份儿全国省市县经纬度数据 chinaJSON.js_jb51.rar import React,{Component} from 'react'; import {message} from 'antd'; imp

  • Echarts基本用法_动力节点Java学院整理

    echarts太完美了: 1,开源软件,无私的为我们提供漂亮的图形界面: 2,使用简单,默默的为我们封装了重要的js,只要会引用就会使用echarts: 3,种类多,echarts为我们提供了各种图标,其中最具象征的就是地图了: 4,兼容性好,基于html5动画渲染超棒. echarts官网 提供了源码和说明文档,使用echarts需要先到官网下载需要的js源文件. 官网上的demo中夹杂着很多我们用不到的东西,想使用饼状图就得从demo中把不用的去掉,劈植斩叶留下最原始的功能实现.这样毕竟比较

  • vue-cli项目中使用echarts图表实例

    我们在项目中经常需要使用一些折线图.柱状图.饼状图等等,之前使用过heightCharts,后来觉得这货不开源,只是做展示的话又点浪费时间,于是看了下eCharts,于是在vue-cli搭建的项目中添加了eCharts,下面是具体步骤和自己的一些学习笔记,参照于Echarts3官网 现在的前端一般需要完成将大量的数据,实现可视化.现在是大数据和云计算的时代,所以数据可视化逐渐变成一种趋势.而ECharts和d3.js则是可视化的成熟框架.对于制作的图表可以说是满足你的创造力. 两者相比,D3 它

  • 微信小程序中使用ECharts 异步加载数据实现图表功能

    具体代码如下所示: <view class="container"> <ec-canvas id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas> </view> import * as echarts from '../../ec-canvas/echarts'; var barec = n

  • django+echart绘制曲线图的方法示例

    声明:请事先到官网下载echarts,另外本文引用了adminlte模板构建前台页面 views: <!-- /.row --> <div class="row"> <div class="col-xs-12"> <!-- interactive chart --> <div class="box box-primary"> <div class="box-header

随机推荐