From 3e4188eaa485237b6de3c91f4447bba380fc8946 Mon Sep 17 00:00:00 2001 From: CODE <1650192445@qq.com> Date: Wed, 13 Dec 2023 11:23:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9D=91=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.js | 222 +++++++++--------- scripts/1.4.0/data/3_village.sql | 17 +- scripts/1.4.0/data/4_village_distance.sql | 167 +++++++++++-- 3 files changed, 279 insertions(+), 127 deletions(-) diff --git a/scripts/1.4.0/data/1_calc_village_distance_无需执行/index.js b/scripts/1.4.0/data/1_calc_village_distance_无需执行/index.js index 7e81a49e..048603e3 100644 --- a/scripts/1.4.0/data/1_calc_village_distance_无需执行/index.js +++ b/scripts/1.4.0/data/1_calc_village_distance_无需执行/index.js @@ -52,115 +52,119 @@ try { // 获取各村位置 - // for (let t of (noTownshipLoop ? [{}] : townshipList)) { - // console.log(`${t.name}`); - - // // 划分 20 个矩形查询 - // let leftTop = [115.792048, 28.976526] - // let rightBottom = [116.324981, 28.262191] - - // for (let i = 0; i < 5; i++) { // 纵向 - - // let top = leftTop[1] + (rightBottom[1] - leftTop[1]) / 5 * i - // let bottom = leftTop[1] + (rightBottom[1] - leftTop[1]) / 5 * (i + 1) - - // for (let j = 0; j < 5; j++) { // 横向 - // let left = leftTop[0] + (rightBottom[0] - leftTop[0]) / 5 * j - // let right = leftTop[0] + (rightBottom[0] - leftTop[0]) / 5 * (j + 1) - - // console.log(`矩形:${left},${top},${right},${bottom}`); - - - - // let pageNum = 1 - // let continueSearch = true - // for (; continueSearch;) { - // console.log(`查询第${pageNum}页`); - // let pageSize = 10 - // /** 关键词查询 */ - // // const res = await request.get(`https://restapi.amap.com/v5/place/text?key=${godKey}&types=130106®ion=360000&citylimit=true&page_size=25&page_num=${pageNum}&extensions=all`) - - // /** 区县查询 */ - // // const res = await request.get(`https://restapi.amap.com/v3/place/text?key=${godKey}&keywords=%E6%9D%91%E5%A7%94%E4%BC%9A%7C%E6%9D%91%E6%B0%91%E5%A7%94%E5%91%98%E4%BC%9A&page_size=25&types=130106&citylimit=true&city=${t.adcode}&page=${pageNum}`) - - // /** 矩形查询 */ - // pageSize = 50 - // // const res = await request.get(`https://restapi.amap.com/v3/place/polygon?key=21c2d970e1646bb9a795900dd00093ce&keywords=%E6%9D%91%E5%A7%94%E4%BC%9A%7C%E6%9D%91%E6%B0%91%E5%A7%94%E5%91%98%E4%BC%9A&types=130106&offset=${pageSize}&page=${pageNum}&polygon=${left},${top}|${right},${bottom}`) - - // /** 矩形查询 V2 */ - // pageSize = 25 - // const res = await request.get(`https://restapi.amap.com/v5/place/polygon?key=21c2d970e1646bb9a795900dd00093ce&keywords=%E6%9D%91%E5%A7%94%E4%BC%9A%7C%E6%9D%91%E6%B0%91%E5%A7%94%E5%91%98%E4%BC%9A&types=130106&page_size=${pageSize}&page_num=${pageNum}&polygon=${left},${top}|${right},${bottom}`) - - // await new Promise(resolve => setTimeout(() => resolve(), 2000)); - - // // console.log(res.body); - // const data = res.body - // // console.log(data); - // console.log(`查得 ${data.pois.length} 条`); - // if (data.count == 0) { - // continueSearch = false - // break; - // } else { - // pageNum++ - // } - // for await (let p of data.pois) { - // console.log(p.name); - // if (p.name.includes('村委会') || p.name.includes('村民委员会')) { - // let vName = p.name.replace('村委会', '').replace('村民委员会', '').replace(/\(.*?\)/g, '') - - // if (vName.includes('乡')) { - // let townKeyIndex = vName.indexOf('乡') - // if (townKeyIndex >= 0) { - // vName = vName.substring(townKeyIndex + 1) - // } - // } - // if (vName.includes('镇')) { - // let townKeyIndex = vName.indexOf('镇') - // if (townKeyIndex >= 0) { - // vName = vName.substring(townKeyIndex + 1) - // } - // } - - // if (!vName.endsWith('村')) { - // vName = vName + '村' - // } - - // // console.log(`${vName}`); - // let locationArr = p.location.split(',') - - // // 查询镇名是否存在 - // let existRes = await client.query( - // `SELECT * FROM village WHERE name=$1`, - // [vName] - // ) - // if (existRes.rowCount == 0) { - // existRes = await client.query( - // `SELECT * FROM village WHERE name=$1`, - // [vName + '委会'] - // ) - // } - - // if (existRes.rowCount == 0) { - - // } else { - // let existV = existRes.rows[0] - // // console.log(existRes); - // await client.query( - // `UPDATE village SET longitude=$1, latitude=$2 WHERE id=$3`, - // [locationArr[0], locationArr[1], existV.id] - // ) - // } - // } - // } - - // if (data.pois.length < pageSize) { - // continueSearch = false - // } - // } - // } - - // } - // } + for (let t of (noTownshipLoop ? [{}] : townshipList)) { + console.log(`${t.name}`); + + // 划分 20 个矩形查询 + let leftTop = [115.792048, 28.976526] + let rightBottom = [116.324981, 28.262191] + + for (let i = 0; i < 5; i++) { // 纵向 + + let top = leftTop[1] + (rightBottom[1] - leftTop[1]) / 5 * i + let bottom = leftTop[1] + (rightBottom[1] - leftTop[1]) / 5 * (i + 1) + + for (let j = 0; j < 5; j++) { // 横向 + let left = leftTop[0] + (rightBottom[0] - leftTop[0]) / 5 * j + let right = leftTop[0] + (rightBottom[0] - leftTop[0]) / 5 * (j + 1) + + console.log(`矩形:${left},${top},${right},${bottom}`); + + + + let pageNum = 1 + let continueSearch = true + for (; continueSearch;) { + console.log(`查询第${pageNum}页`); + let pageSize = 10 + /** 关键词查询 */ + // const res = await request.get(`https://restapi.amap.com/v5/place/text?key=${godKey}&types=130106®ion=360000&citylimit=true&page_size=25&page_num=${pageNum}&extensions=all`) + + /** 区县查询 */ + // const res = await request.get(`https://restapi.amap.com/v3/place/text?key=${godKey}&keywords=%E6%9D%91%E5%A7%94%E4%BC%9A%7C%E6%9D%91%E6%B0%91%E5%A7%94%E5%91%98%E4%BC%9A&page_size=25&types=130106&citylimit=true&city=${t.adcode}&page=${pageNum}`) + + /** 矩形查询 */ + pageSize = 50 + // const res = await request.get(`https://restapi.amap.com/v3/place/polygon?key=21c2d970e1646bb9a795900dd00093ce&keywords=%E6%9D%91%E5%A7%94%E4%BC%9A%7C%E6%9D%91%E6%B0%91%E5%A7%94%E5%91%98%E4%BC%9A&types=130106&offset=${pageSize}&page=${pageNum}&polygon=${left},${top}|${right},${bottom}`) + + /** 矩形查询 V2 */ + pageSize = 25 + const res = await request.get(`https://restapi.amap.com/v5/place/polygon?key=21c2d970e1646bb9a795900dd00093ce&keywords=%E6%9D%91%E5%A7%94%E4%BC%9A%7C%E6%9D%91%E6%B0%91%E5%A7%94%E5%91%98%E4%BC%9A&types=130106&page_size=${pageSize}&page_num=${pageNum}&polygon=${left},${top}|${right},${bottom}`) + + await new Promise(resolve => setTimeout(() => resolve(), 2000)); + + // console.log(res.body); + const data = res.body + // console.log(data); + console.log(`查得 ${data.pois.length} 条`); + if (data.count == 0) { + continueSearch = false + break; + } else { + pageNum++ + } + for await (let p of data.pois) { + console.log(p.name); + if (p.name.includes('村委会') || p.name.includes('村民委员会')) { + let vName = p.name.replace('村委会', '').replace('村民委员会', '').replace(/\(.*?\)/g, '') + + if (vName.includes('乡')) { + let townKeyIndex = vName.indexOf('乡') + if (townKeyIndex >= 0) { + vName = vName.substring(townKeyIndex + 1) + } + } + if (vName.includes('镇')) { + let townKeyIndex = vName.indexOf('镇') + if (townKeyIndex >= 0) { + vName = vName.substring(townKeyIndex + 1) + } + } + + if (!vName.endsWith('村')) { + vName = vName + '村' + } + + // console.log(`${vName}`); + let locationArr = p.location.split(',') + + // 查询镇名是否存在 + let existRes = await client.query( + `SELECT * FROM village WHERE name=$1`, + [vName] + ) + if (existRes.rowCount == 0) { + existRes = await client.query( + `SELECT * FROM village WHERE name=$1`, + [vName + '委会'] + ) + } + + if (existRes.rowCount == 0) { + + } else { + let existV = existRes.rows[0] + + if (existV.id < 207) { + continue + } + // console.log(existRes); + await client.query( + `UPDATE village SET longitude=$1, latitude=$2 WHERE id=$3`, + [locationArr[0], locationArr[1], existV.id] + ) + } + } + } + + if (data.pois.length < pageSize) { + continueSearch = false + } + } + } + + } + } const allVillagesRes = await client.query( `SELECT * FROM village` diff --git a/scripts/1.4.0/data/3_village.sql b/scripts/1.4.0/data/3_village.sql index c2f5f5db..64d6f1ec 100644 --- a/scripts/1.4.0/data/3_village.sql +++ b/scripts/1.4.0/data/3_village.sql @@ -12,9 +12,11 @@ Target Server Version : 90515 File Encoding : 65001 - Date: 12/12/2023 13:20:00 + Date: 13/12/2023 11:19:37 */ +DELETE FROM "public"."village" WHERE "id" > 0; +SELECT setval('village_id_seq', 1); -- ---------------------------- -- Records of village -- ---------------------------- @@ -40,10 +42,23 @@ INSERT INTO "public"."village" VALUES (36, '石湖村', '360121107000', 115.8392 INSERT INTO "public"."village" VALUES (17, '柏林村', '360121100000', 115.880543, 28.529444); INSERT INTO "public"."village" VALUES (40, '蚕石村', '360121107000', 115.870111, 28.414157); INSERT INTO "public"."village" VALUES (51, '垾上村', '360121105000', 115.977852, 28.766188); +INSERT INTO "public"."village" VALUES (210, '岭前村', '360121203000', 115.981315, 28.352234); INSERT INTO "public"."village" VALUES (41, '冈上村', '360121107000', 115.865094, 28.41236); INSERT INTO "public"."village" VALUES (39, '安仁村', '360121107000', 115.887279, 28.415884); +INSERT INTO "public"."village" VALUES (216, '郭埠村', '360121203000', 115.998395, 28.341197); +INSERT INTO "public"."village" VALUES (218, '上洛村', '360121203000', 115.981356, 28.367931); +INSERT INTO "public"."village" VALUES (217, '罗渡村', '360121203000', 116.000766, 28.320435); +INSERT INTO "public"."village" VALUES (215, '南安村', '360121203000', 116.045806, 28.346124); +INSERT INTO "public"."village" VALUES (207, '徐家村', '360121203000', 116.025723, 28.344863); +INSERT INTO "public"."village" VALUES (213, '官田村', '360121203000', 116.048015, 28.302216); +INSERT INTO "public"."village" VALUES (219, '冯家村', '360121203000', 116.014752, 28.345062); INSERT INTO "public"."village" VALUES (110, '荆山村', '360121101000', 115.969413, 28.476892); INSERT INTO "public"."village" VALUES (46, '黄台村', '360121107000', 115.923932, 28.487954); +INSERT INTO "public"."village" VALUES (214, '丰林村', '360121203000', 116.07343, 28.29544); +INSERT INTO "public"."village" VALUES (208, '涂洪村', '360121203000', 116.02995, 28.301282); +INSERT INTO "public"."village" VALUES (211, '东边村', '360121203000', 116.086743, 28.294081); +INSERT INTO "public"."village" VALUES (209, '华标村', '360121203000', 116.015713, 28.304449); +INSERT INTO "public"."village" VALUES (212, '白城村', '360121203000', 116.080418, 28.310842); INSERT INTO "public"."village" VALUES (6, '新坊村', '360121206000', 115.98868, 28.577955); INSERT INTO "public"."village" VALUES (57, '山尾村', '360121105000', 116.048296, 28.763889); INSERT INTO "public"."village" VALUES (120, '山下村', '360121102000', 115.004337, 28.868673); diff --git a/scripts/1.4.0/data/4_village_distance.sql b/scripts/1.4.0/data/4_village_distance.sql index 2098b078..328bdc1d 100644 --- a/scripts/1.4.0/data/4_village_distance.sql +++ b/scripts/1.4.0/data/4_village_distance.sql @@ -12,27 +12,13 @@ Target Server Version : 90515 File Encoding : 65001 - Date: 12/12/2023 13:37:54 + Date: 13/12/2023 11:21:44 */ - +DELETE FROM "public"."village_distance" WHERE "id" > 0; +SELECT setval('village_distance_id_seq', 1); -- ---------------------------- -- Records of village_distance -- ---------------------------- -INSERT INTO "public"."village_distance" VALUES (2, 72, 79, 6077); -INSERT INTO "public"."village_distance" VALUES (3, 72, 76, 10010); -INSERT INTO "public"."village_distance" VALUES (4, 72, 62, 8585); -INSERT INTO "public"."village_distance" VALUES (5, 72, 83, 61975); -INSERT INTO "public"."village_distance" VALUES (6, 72, 73, 4863); -INSERT INTO "public"."village_distance" VALUES (7, 72, 67, 3623); -INSERT INTO "public"."village_distance" VALUES (8, 72, 64, 2092); -INSERT INTO "public"."village_distance" VALUES (9, 72, 78, 4254); -INSERT INTO "public"."village_distance" VALUES (10, 72, 69, 5426); -INSERT INTO "public"."village_distance" VALUES (11, 72, 80, 3845); -INSERT INTO "public"."village_distance" VALUES (12, 72, 75, 11516); -INSERT INTO "public"."village_distance" VALUES (13, 72, 66, 5080); -INSERT INTO "public"."village_distance" VALUES (14, 72, 70, 6614); -INSERT INTO "public"."village_distance" VALUES (15, 72, 81, 3128); -INSERT INTO "public"."village_distance" VALUES (16, 72, 63, 4231); INSERT INTO "public"."village_distance" VALUES (17, 72, 82, 3331); INSERT INTO "public"."village_distance" VALUES (18, 72, 65, 8336); INSERT INTO "public"."village_distance" VALUES (19, 72, 77, 7613); @@ -366,6 +352,17 @@ INSERT INTO "public"."village_distance" VALUES (346, 51, 60, 3383); INSERT INTO "public"."village_distance" VALUES (347, 51, 52, 1325); INSERT INTO "public"."village_distance" VALUES (348, 51, 56, 9672); INSERT INTO "public"."village_distance" VALUES (349, 51, 59, 18265); +INSERT INTO "public"."village_distance" VALUES (3533, 210, 216, 2074); +INSERT INTO "public"."village_distance" VALUES (3534, 210, 218, 1745); +INSERT INTO "public"."village_distance" VALUES (3535, 210, 217, 4016); +INSERT INTO "public"."village_distance" VALUES (3536, 210, 215, 6348); +INSERT INTO "public"."village_distance" VALUES (3537, 210, 207, 4422); +INSERT INTO "public"."village_distance" VALUES (3538, 210, 213, 8576); +INSERT INTO "public"."village_distance" VALUES (3539, 210, 219, 3368); +INSERT INTO "public"."village_distance" VALUES (3540, 210, 214, 11008); +INSERT INTO "public"."village_distance" VALUES (3541, 210, 208, 7400); +INSERT INTO "public"."village_distance" VALUES (3542, 210, 211, 12178); +INSERT INTO "public"."village_distance" VALUES (3543, 210, 209, 6290); INSERT INTO "public"."village_distance" VALUES (350, 41, 34, 503); INSERT INTO "public"."village_distance" VALUES (351, 41, 37, 4411); INSERT INTO "public"."village_distance" VALUES (352, 41, 35, 5467); @@ -390,6 +387,83 @@ INSERT INTO "public"."village_distance" VALUES (370, 39, 38, 3749); INSERT INTO "public"."village_distance" VALUES (371, 39, 44, 2409); INSERT INTO "public"."village_distance" VALUES (372, 39, 43, 6605); INSERT INTO "public"."village_distance" VALUES (373, 39, 42, 6643); +INSERT INTO "public"."village_distance" VALUES (3544, 216, 210, 2074); +INSERT INTO "public"."village_distance" VALUES (3545, 216, 218, 3408); +INSERT INTO "public"."village_distance" VALUES (3546, 216, 217, 2320); +INSERT INTO "public"."village_distance" VALUES (3547, 216, 215, 4672); +INSERT INTO "public"."village_distance" VALUES (3548, 216, 207, 2705); +INSERT INTO "public"."village_distance" VALUES (3549, 216, 213, 6510); +INSERT INTO "public"."village_distance" VALUES (3550, 216, 219, 1657); +INSERT INTO "public"."village_distance" VALUES (3551, 216, 214, 8935); +INSERT INTO "public"."village_distance" VALUES (3552, 216, 208, 5407); +INSERT INTO "public"."village_distance" VALUES (3553, 216, 211, 10111); +INSERT INTO "public"."village_distance" VALUES (3554, 216, 209, 4424); +INSERT INTO "public"."village_distance" VALUES (3555, 218, 210, 1745); +INSERT INTO "public"."village_distance" VALUES (3556, 218, 216, 3408); +INSERT INTO "public"."village_distance" VALUES (3557, 218, 217, 5613); +INSERT INTO "public"."village_distance" VALUES (3558, 218, 215, 6757); +INSERT INTO "public"."village_distance" VALUES (3559, 218, 207, 5043); +INSERT INTO "public"."village_distance" VALUES (3560, 218, 213, 9796); +INSERT INTO "public"."village_distance" VALUES (3561, 218, 219, 4141); +INSERT INTO "public"."village_distance" VALUES (3562, 218, 214, 12091); +INSERT INTO "public"."village_distance" VALUES (3563, 218, 208, 8806); +INSERT INTO "public"."village_distance" VALUES (3564, 218, 211, 13184); +INSERT INTO "public"."village_distance" VALUES (3565, 218, 209, 7819); +INSERT INTO "public"."village_distance" VALUES (3566, 217, 210, 4016); +INSERT INTO "public"."village_distance" VALUES (3567, 217, 216, 2320); +INSERT INTO "public"."village_distance" VALUES (3568, 217, 218, 5613); +INSERT INTO "public"."village_distance" VALUES (3569, 217, 215, 5253); +INSERT INTO "public"."village_distance" VALUES (3570, 217, 207, 3653); +INSERT INTO "public"."village_distance" VALUES (3571, 217, 213, 5050); +INSERT INTO "public"."village_distance" VALUES (3572, 217, 219, 3061); +INSERT INTO "public"."village_distance" VALUES (3573, 217, 214, 7637); +INSERT INTO "public"."village_distance" VALUES (3574, 217, 208, 3563); +INSERT INTO "public"."village_distance" VALUES (3575, 217, 211, 8913); +INSERT INTO "public"."village_distance" VALUES (3576, 217, 209, 2302); +INSERT INTO "public"."village_distance" VALUES (3577, 215, 210, 6348); +INSERT INTO "public"."village_distance" VALUES (3578, 215, 216, 4672); +INSERT INTO "public"."village_distance" VALUES (3579, 215, 218, 6757); +INSERT INTO "public"."village_distance" VALUES (3580, 215, 217, 5253); +INSERT INTO "public"."village_distance" VALUES (3581, 215, 207, 1970); +INSERT INTO "public"."village_distance" VALUES (3582, 215, 213, 4887); +INSERT INTO "public"."village_distance" VALUES (3583, 215, 219, 3041); +INSERT INTO "public"."village_distance" VALUES (3584, 215, 214, 6251); +INSERT INTO "public"."village_distance" VALUES (3585, 215, 208, 5222); +INSERT INTO "public"."village_distance" VALUES (3586, 215, 211, 7039); +INSERT INTO "public"."village_distance" VALUES (3587, 215, 209, 5491); +INSERT INTO "public"."village_distance" VALUES (3588, 207, 210, 4422); +INSERT INTO "public"."village_distance" VALUES (3589, 207, 216, 2705); +INSERT INTO "public"."village_distance" VALUES (3590, 207, 218, 5043); +INSERT INTO "public"."village_distance" VALUES (3591, 207, 217, 3653); +INSERT INTO "public"."village_distance" VALUES (3592, 207, 215, 1970); +INSERT INTO "public"."village_distance" VALUES (3593, 207, 213, 5220); +INSERT INTO "public"."village_distance" VALUES (3594, 207, 219, 1074); +INSERT INTO "public"."village_distance" VALUES (3595, 207, 214, 7212); +INSERT INTO "public"."village_distance" VALUES (3596, 207, 208, 4864); +INSERT INTO "public"."village_distance" VALUES (3597, 207, 211, 8220); +INSERT INTO "public"."village_distance" VALUES (3598, 207, 209, 4599); +INSERT INTO "public"."village_distance" VALUES (3599, 213, 210, 8576); +INSERT INTO "public"."village_distance" VALUES (3600, 213, 216, 6510); +INSERT INTO "public"."village_distance" VALUES (3601, 213, 218, 9796); +INSERT INTO "public"."village_distance" VALUES (3602, 213, 217, 5050); +INSERT INTO "public"."village_distance" VALUES (3603, 213, 215, 4887); +INSERT INTO "public"."village_distance" VALUES (3604, 213, 207, 5220); +INSERT INTO "public"."village_distance" VALUES (3605, 213, 219, 5771); +INSERT INTO "public"."village_distance" VALUES (3606, 213, 214, 2600); +INSERT INTO "public"."village_distance" VALUES (3607, 213, 208, 1772); +INSERT INTO "public"."village_distance" VALUES (3608, 213, 211, 3898); +INSERT INTO "public"."village_distance" VALUES (3609, 213, 209, 3172); +INSERT INTO "public"."village_distance" VALUES (3610, 219, 210, 3368); +INSERT INTO "public"."village_distance" VALUES (3611, 219, 216, 1657); +INSERT INTO "public"."village_distance" VALUES (3612, 219, 218, 4141); +INSERT INTO "public"."village_distance" VALUES (3613, 219, 217, 3061); +INSERT INTO "public"."village_distance" VALUES (3614, 219, 215, 3041); +INSERT INTO "public"."village_distance" VALUES (3615, 219, 207, 1074); +INSERT INTO "public"."village_distance" VALUES (3616, 219, 213, 5771); +INSERT INTO "public"."village_distance" VALUES (3617, 219, 214, 7965); +INSERT INTO "public"."village_distance" VALUES (3618, 219, 208, 5090); +INSERT INTO "public"."village_distance" VALUES (3619, 219, 211, 9044); +INSERT INTO "public"."village_distance" VALUES (3620, 219, 209, 4517); INSERT INTO "public"."village_distance" VALUES (374, 110, 112, 5370); INSERT INTO "public"."village_distance" VALUES (375, 110, 111, 2510); INSERT INTO "public"."village_distance" VALUES (376, 110, 115, 3789); @@ -410,6 +484,50 @@ INSERT INTO "public"."village_distance" VALUES (390, 46, 38, 12393); INSERT INTO "public"."village_distance" VALUES (391, 46, 44, 6892); INSERT INTO "public"."village_distance" VALUES (392, 46, 43, 2460); INSERT INTO "public"."village_distance" VALUES (393, 46, 42, 15417); +INSERT INTO "public"."village_distance" VALUES (3621, 214, 210, 11008); +INSERT INTO "public"."village_distance" VALUES (3622, 214, 216, 8935); +INSERT INTO "public"."village_distance" VALUES (3623, 214, 218, 12091); +INSERT INTO "public"."village_distance" VALUES (3624, 214, 217, 7637); +INSERT INTO "public"."village_distance" VALUES (3625, 214, 215, 6251); +INSERT INTO "public"."village_distance" VALUES (3626, 214, 207, 7212); +INSERT INTO "public"."village_distance" VALUES (3627, 214, 213, 2600); +INSERT INTO "public"."village_distance" VALUES (3628, 214, 219, 7965); +INSERT INTO "public"."village_distance" VALUES (3629, 214, 208, 4306); +INSERT INTO "public"."village_distance" VALUES (3630, 214, 211, 1312); +INSERT INTO "public"."village_distance" VALUES (3631, 214, 209, 5739); +INSERT INTO "public"."village_distance" VALUES (3632, 208, 210, 7400); +INSERT INTO "public"."village_distance" VALUES (3633, 208, 216, 5407); +INSERT INTO "public"."village_distance" VALUES (3634, 208, 218, 8806); +INSERT INTO "public"."village_distance" VALUES (3635, 208, 217, 3563); +INSERT INTO "public"."village_distance" VALUES (3636, 208, 215, 5222); +INSERT INTO "public"."village_distance" VALUES (3637, 208, 207, 4864); +INSERT INTO "public"."village_distance" VALUES (3638, 208, 213, 1772); +INSERT INTO "public"."village_distance" VALUES (3639, 208, 219, 5090); +INSERT INTO "public"."village_distance" VALUES (3640, 208, 214, 4306); +INSERT INTO "public"."village_distance" VALUES (3641, 208, 211, 5618); +INSERT INTO "public"."village_distance" VALUES (3642, 208, 209, 1438); +INSERT INTO "public"."village_distance" VALUES (3643, 211, 210, 12178); +INSERT INTO "public"."village_distance" VALUES (3644, 211, 216, 10111); +INSERT INTO "public"."village_distance" VALUES (3645, 211, 218, 13184); +INSERT INTO "public"."village_distance" VALUES (3646, 211, 217, 8913); +INSERT INTO "public"."village_distance" VALUES (3647, 211, 215, 7039); +INSERT INTO "public"."village_distance" VALUES (3648, 211, 207, 8220); +INSERT INTO "public"."village_distance" VALUES (3649, 211, 213, 3898); +INSERT INTO "public"."village_distance" VALUES (3650, 211, 219, 9044); +INSERT INTO "public"."village_distance" VALUES (3651, 211, 214, 1312); +INSERT INTO "public"."village_distance" VALUES (3652, 211, 208, 5618); +INSERT INTO "public"."village_distance" VALUES (3653, 211, 209, 7049); +INSERT INTO "public"."village_distance" VALUES (3654, 209, 210, 6290); +INSERT INTO "public"."village_distance" VALUES (3655, 209, 216, 4424); +INSERT INTO "public"."village_distance" VALUES (3656, 209, 218, 7819); +INSERT INTO "public"."village_distance" VALUES (3657, 209, 217, 2302); +INSERT INTO "public"."village_distance" VALUES (3658, 209, 215, 5491); +INSERT INTO "public"."village_distance" VALUES (3659, 209, 207, 4599); +INSERT INTO "public"."village_distance" VALUES (3660, 209, 213, 3172); +INSERT INTO "public"."village_distance" VALUES (3661, 209, 219, 4517); +INSERT INTO "public"."village_distance" VALUES (3662, 209, 214, 5739); +INSERT INTO "public"."village_distance" VALUES (3663, 209, 208, 1438); +INSERT INTO "public"."village_distance" VALUES (3664, 209, 211, 7049); INSERT INTO "public"."village_distance" VALUES (394, 6, 5, 1065); INSERT INTO "public"."village_distance" VALUES (395, 6, 13, 5345); INSERT INTO "public"."village_distance" VALUES (396, 6, 14, 5472); @@ -3416,6 +3534,21 @@ INSERT INTO "public"."village_distance" VALUES (3396, 121, 122, 4098); INSERT INTO "public"."village_distance" VALUES (3397, 121, 126, 3999); INSERT INTO "public"."village_distance" VALUES (3398, 124, 120, 112534); INSERT INTO "public"."village_distance" VALUES (3399, 124, 125, 3074); +INSERT INTO "public"."village_distance" VALUES (2, 72, 79, 6077); +INSERT INTO "public"."village_distance" VALUES (3, 72, 76, 10010); +INSERT INTO "public"."village_distance" VALUES (4, 72, 62, 8585); +INSERT INTO "public"."village_distance" VALUES (5, 72, 83, 61975); +INSERT INTO "public"."village_distance" VALUES (6, 72, 73, 4863); +INSERT INTO "public"."village_distance" VALUES (7, 72, 67, 3623); +INSERT INTO "public"."village_distance" VALUES (8, 72, 64, 2092); +INSERT INTO "public"."village_distance" VALUES (9, 72, 78, 4254); +INSERT INTO "public"."village_distance" VALUES (10, 72, 69, 5426); +INSERT INTO "public"."village_distance" VALUES (11, 72, 80, 3845); +INSERT INTO "public"."village_distance" VALUES (12, 72, 75, 11516); +INSERT INTO "public"."village_distance" VALUES (13, 72, 66, 5080); +INSERT INTO "public"."village_distance" VALUES (14, 72, 70, 6614); +INSERT INTO "public"."village_distance" VALUES (15, 72, 81, 3128); +INSERT INTO "public"."village_distance" VALUES (16, 72, 63, 4231); INSERT INTO "public"."village_distance" VALUES (3400, 124, 123, 1247); INSERT INTO "public"."village_distance" VALUES (3401, 124, 118, 3325); INSERT INTO "public"."village_distance" VALUES (3402, 124, 121, 1946);