介绍

由于之前爬取高德地图爬取POI边界,不过后面IP限制的比较严,所以导致没法像以前那样大规模爬取,不过最近发现了IP代理是解决IP封禁的一个极佳的办法,今天申请了阿布云的免费试用代理,用起来挺简单也挺好用,发现确实能解决IP封禁的问题。目前只实现了爬取单个POI边界并可视化的过程。以广州白云山为例,爬取后展示的效果如下:

整体流程如下:

1. 申请高德开发者密钥;

2. 申请代理(否则的话没爬几个就会出现验证码了),以阿布云为例,官网:https://www.abuyun.com/

3. 找到你需要的POI ID;

4. 通过ID调用高德的 https://www.amap.com/detail/get/detail 传入POI ID,即可获取数据

5. 处理返回的数据格式,在HTML中进行展示

详细介绍

1. 申请高德密钥.

这个就不多说了,去高德官网:https://lbs.amap.com/注册账号,申请下开发者认证,认证后额度好像是有3W,差不多够用,然后在控制台申请密钥

需要注意的是密钥类型一定要是web api类型的,而不是服务端或者其他,否则调用接口会返回无效的key错误。

2. 申请代理。

由于爬虫容易被检测到频率过高导致IP被封禁,因此很有必要使用IP代理池,否则没爬几个就出验证码了.

当然验证码也有办法解决,这个暂且不论,对于IP代理不太懂的请自行百度,我这里使用的是付费代理,之前找了好几个免费的都不行,因此申请了阿布云付费的,大概是9块钱一天,还是有点小贵的,特别是对于经常需要的人来说。

我这里使用的是测试版本的,下载它们提供的python api是这样的: ``` import requests

# 要访问的目标页面
targetUrl = "http://test.abuyun.com"
#targetUrl = "http://proxy.abuyun.com/switch-ip"
#targetUrl = "http://proxy.abuyun.com/current-ip"

# 代理服务器
proxyHost = "http-dyn.abuyun.com"
proxyPort = "9020"

# 代理隧道验证信息
proxyUser = "H01234567890123D"
proxyPass = "0123456789012345"

proxyMeta = "http://%(user)s:%(pass)s@%(host)s:%(port)s" % {
  "host" : proxyHost,
  "port" : proxyPort,
  "user" : proxyUser,
  "pass" : proxyPass,
}

proxies = {
    "http"  : proxyMeta,
    "https" : proxyMeta,
}

resp = requests.get(targetUrl, proxies=proxies)

print(resp.status_code)
print(resp.text)

``` 这是爬取数据的初始代码。

其中代理隧道验证信息对于着你申请的阿布云后提供给你的一个调用凭证和密码,修改后即可。

在 方法requests.get()参数中传入代理对象,即可使用阿布云提供的代理IP去调用接口,而不是你自己的电脑IP。

找到你需要的POI ID

打开高德地图,F12打开后,搜索框搜索白云山,点击出现列表的第一条后,找到url为 https://www.amap.com/service/poiInfo?query_type=TQUERY&pagesize=20&pagenum=1&qii=true&cluster_state=5&need_utd=true&utd_sceneid=1000&div=PC1000&addr_poi_merge=true&is_classify=true&zoom=10&city=440100&geoobj=112.775248|22.935597|114.225479|23.339712&keywords=白云山的请求,解析数据即可得到POI ID,其中有好几条,一般以第一条为准。

通过ID获取POI 边界数据

拿到POI ID后,即可调用 https://www.amap.com/detail/get/detail接口传入POI ID,即可获取数据。完整请求示例如下: https://www.amap.com/detail/get/detail?id=B0014014AD 其中B0014014AD就是上一步中拿到的POI ID。 不过我们还需要做一步工作,伪装请求体,让高德不那么容易识别出是爬虫程序,这里主要是要在请求头中设置一些参数,包括:Cookie、User-Agent、Cache-Control。

需要注意的是在浏览器中看到请求头里面有传了个If-None-Match参数, 我也跟着传了过去,结果一直304,后面发现是因为这个引起的,具体可以看这里:

http://www.mapboxx.cn/article/ss/

详情请求头如下:(Cookie从浏览器中拷一个)

header = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36",
        "Cookie": "cna=518vExJMf2ECAXkh15oQmANM; UM_distinctid=169b9a03d9cb1-0c9c40062b9def-3d644509-144000-169b9a03d9d7f; CNZZDATA1255827602=1987018302-1558674650-https%253A%252F%252Fwww.amap.com%252F%7C1558674650; guid=5c94-006e-5ae2-a786; key=bfe31f4e0fb231d29e1d3ce951e2c780; CNZZDATA1255626299=622232274-1556586730-https%253A%252F%252Fwww.baidu.com%252F%7C1567155331; x-csrf-token=b842bee35150a776ecba4a7d9262e74e; x5sec=7b22617365727665723b32223a223762316431636139643838656164623363656261626634396533396135323839434b37576f2b7346454b6a64703766626a59334857513d3d227d; l=cBMzH4XPvfel1K-BBOfBGuI8mEQ9mnOX1sPzw4TXPICPOpSM7i4RWZEOiwJHCnGVp6veP35GDcqQBsj6q1cUpwQg7QzIL; isg=BPz8LdgZjec5ur7g92-GtJMLzZpuXcQp1LK8qdZsC-fKoZcr9gUMryZbgYl86dh3"
        ,
        "Referer": "https://www.amap.com/search?query=%E7%99%BD%E4%BA%91%E5%B1%B1&city=440100&geoobj=112.775248%7C22.935597%7C114.225479%7C23.339712&zoom=10"
        , "Upgrade-Insecure-Requests": "1",
        "Cache-Control": "no-cach",
        "Connection": "keep-alive"
    }

最终的代码:

import requests
import json

# 要访问的目标页面
targetUrl = "https://www.amap.com/detail/get/detail"
# targetUrl = "http://proxy.abuyun.com/switch-ip"
# targetUrl = "http://proxy.abuyun.com/current-ip"

# 代理服务器
proxyHost = "http-dyn.abuyun.com"
proxyPort = "9020"

# 代理隧道验证信息
proxyUser = "H6D5GX93814I6L4D"
proxyPass = "1B60017402E7A575"

proxyMeta = "http://%(user)s:%(pass)s@%(host)s:%(port)s" % {
    "host": proxyHost,
    "port": proxyPort,
    "user": proxyUser,
    "pass": proxyPass,
}

proxies = {
    "http": proxyMeta,
    "https": proxyMeta,
}




def get_boundary_by_id(id):
    params = {
        "id": id
    }
    header = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36",
        "Cookie": "cna=518vExJMf2ECAXkh15oQmANM; UM_distinctid=169b9a03d9cb1-0c9c40062b9def-3d644509-144000-169b9a03d9d7f; CNZZDATA1255827602=1987018302-1558674650-https%253A%252F%252Fwww.amap.com%252F%7C1558674650; guid=5c94-006e-5ae2-a786; key=bfe31f4e0fb231d29e1d3ce951e2c780; CNZZDATA1255626299=622232274-1556586730-https%253A%252F%252Fwww.baidu.com%252F%7C1567155331; x-csrf-token=b842bee35150a776ecba4a7d9262e74e; x5sec=7b22617365727665723b32223a223762316431636139643838656164623363656261626634396533396135323839434b37576f2b7346454b6a64703766626a59334857513d3d227d; l=cBMzH4XPvfel1K-BBOfBGuI8mEQ9mnOX1sPzw4TXPICPOpSM7i4RWZEOiwJHCnGVp6veP35GDcqQBsj6q1cUpwQg7QzIL; isg=BPz8LdgZjec5ur7g92-GtJMLzZpuXcQp1LK8qdZsC-fKoZcr9gUMryZbgYl86dh3"
        ,
        "Referer": "https://www.amap.com/search?query=%E7%99%BD%E4%BA%91%E5%B1%B1&city=440100&geoobj=112.775248%7C22.935597%7C114.225479%7C23.339712&zoom=10"
        , "Upgrade-Insecure-Requests": "1",
        "Cache-Control": "no-cach",
        "Connection": "keep-alive"
    }

    resp = requests.get(targetUrl, headers=header, proxies=proxies, params=params)
    data = resp.text
    dataList = []
    datajson = json.loads(data)  # 将字符串转换为json
    datajson = datajson['data']
    datajson = datajson['spec']
    if len(datajson) == 1:
        return dataList
    if datajson.get('mining_shape') != None:
        datajson = datajson['mining_shape']
        shape = datajson['shape']
        dataArr = shape.split(';')

        for i in dataArr:
            innerList = []
            f1 = float(i.split(',')[0])
            innerList.append(float(i.split(',')[0]))
            innerList.append(float(i.split(',')[1]))
            dataList.append(innerList)
    return dataList

result_ls = []
result = get_boundary_by_id("B0014014AD")
one_polygon = {"lnglat": result}
result_ls.append(one_polygon)

print(result_ls)

可视化

不出意外的话,在控制台输出的就是各个边界点的坐标数据了,这个数据格式是可以直接在高德地图web html中可视化出来的,现在我们就来试一下。 - 拷贝上面控制台输出的数据到HTML代码中,替换27行TODO的area的值 - 保存,在浏览器中打开HTML即可看到可视化效果,这是利用高德地图可视化JS API实现的,地址放上:https://lbs.amap.com/api/loca-api/demos/polygonlayer/loca_polygon_aoi - 完整代码:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>多边形边界可视化</title>
    <style>
        html,
        body,
        #container {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
<div id="container" class="container"></div>
<script src="//webapi.amap.com/maps?v=1.4.15&key=e3c62575d8654fcb6e28279b46fdb9b0&"></script>
<script src="//webapi.amap.com/loca?v=1.3.0&key=e3c62575d8654fcb6e28279b46fdb9b0"></script>

<!--<script src="js/MyPolygon.js"></script>-->
<script>
    //TODO python中控制台输出的数据拷贝替换这里的数据
    var area = [{'lnglat': [[113.311117, 23.214236], [113.310999, 23.214105], [113.310896, 23.214063], [113.310461, 23.213881], [113.310266, 23.213596], [113.309544, 23.213404], [113.308846, 23.213086], [113.308622, 23.212956], [113.308586, 23.212851], [113.30867, 23.212806], [113.308925, 23.212822], [113.309246, 23.212874], [113.310555, 23.213118], [113.310968, 23.213447], [113.311585, 23.213668], [113.312237, 23.213769], [113.312366, 23.213813], [113.312456, 23.213839], [113.312515, 23.213771], [113.312487, 23.213686], [113.312403, 23.213595], [113.311976, 23.213122], [113.311833, 23.213039], [113.311552, 23.212931], [113.311387, 23.212894], [113.311299, 23.212923], [113.310897, 23.212699], [113.310883, 23.212623], [113.310933, 23.21252], [113.311018, 23.212513], [113.311513, 23.212755], [113.311901, 23.212807], [113.31228, 23.213026], [113.312653, 23.213348], [113.31277, 23.213408], [113.312888, 23.213374], [113.31318, 23.213262], [113.313933, 23.212825], [113.314107, 23.213006], [113.314342, 23.212932], [113.314542, 23.212843], [113.314609, 23.212757], [113.314692, 23.212681], [113.31497, 23.212849], [113.315112, 23.212938], [113.31527, 23.212983], [113.315576, 23.212676], [113.316546, 23.211836], [113.317312, 23.211108], [113.317996, 23.210219], [113.318334, 23.209187], [113.318396, 23.20864], [113.318421, 23.208112], [113.318326, 23.207693], [113.317658, 23.207141], [113.317007, 23.20693], [113.316894, 23.206645], [113.31681, 23.206537], [113.31663, 23.206523], [113.31637, 23.206584], [113.316086, 23.206697], [113.315762, 23.206823], [113.315478, 23.206797], [113.315092, 23.206377], [113.314932, 23.20607], [113.314954, 23.205832], [113.315365, 23.205485], [113.315116, 23.205003], [113.314995, 23.20406], [113.315299, 23.203891], [113.315436, 23.203887], [113.316158, 23.204083], [113.316458, 23.203819], [113.316925, 23.20383], [113.317415, 23.203407], [113.317351, 23.20304], [113.31672, 23.202377], [113.316251, 23.201674], [113.316151, 23.201391], [113.316296, 23.200997], [113.316632, 23.200478], [113.317244, 23.1999], [113.317339, 23.199849], [113.317483, 23.199636], [113.317629, 23.199182], [113.317765, 23.198658], [113.318963, 23.197336], [113.319778, 23.196846], [113.320389, 23.196355], [113.320425, 23.196276], [113.320423, 23.196177], [113.320395, 23.195992], [113.320334, 23.195831], [113.320232, 23.195769], [113.320038, 23.195887], [113.319891, 23.195732], [113.319816, 23.195711], [113.319728, 23.195482], [113.319639, 23.195266], [113.319605, 23.195201], [113.319631, 23.195136], [113.319935, 23.194976], [113.320169, 23.19484], [113.320178, 23.194532], [113.320124, 23.194357], [113.320085, 23.193911], [113.320072, 23.193811], [113.32009, 23.193754], [113.319949, 23.193574], [113.319768, 23.193708], [113.319614, 23.193809], [113.319453, 23.193827], [113.319062, 23.194086], [113.31883, 23.19428], [113.318571, 23.193938], [113.3187, 23.193515], [113.319062, 23.190875], [113.318563, 23.1909], [113.31805, 23.190811], [113.317776, 23.190659], [113.317749, 23.190605], [113.317797, 23.190489], [113.317936, 23.190391], [113.318, 23.190378], [113.318137, 23.190224], [113.3182, 23.19009], [113.318511, 23.189922], [113.318793, 23.189778], [113.319108, 23.189731], [113.319373, 23.189775], [113.319502, 23.189636], [113.3197, 23.189532], [113.320185, 23.189185], [113.320292, 23.189036], [113.320383, 23.188613], [113.320482, 23.188329], [113.320748, 23.187823], [113.32031, 23.187575], [113.320556, 23.187216], [113.320642, 23.187072], [113.320812, 23.186502], [113.320788, 23.18628], [113.320749, 23.186255], [113.3206, 23.186198], [113.320434, 23.186031], [113.320279, 23.185825], [113.320265, 23.185431], [113.320268, 23.185159], [113.320273, 23.18513], [113.320715, 23.184708], [113.320821, 23.184737], [113.320869, 23.18473], [113.320904, 23.184709], [113.320915, 23.184693], [113.320914, 23.184619], [113.320916, 23.18461], [113.320922, 23.1846], [113.320933, 23.184587], [113.321019, 23.184561], [113.321107, 23.184457], [113.321139, 23.184258], [113.321153, 23.184229], [113.321191, 23.184197], [113.32123, 23.184184], [113.321283, 23.184159], [113.321349, 23.184113], [113.321372, 23.184052], [113.321335, 23.184002], [113.321211, 23.183959], [113.321167, 23.183934], [113.321043, 23.183877], [113.320885, 23.183827], [113.320649, 23.183766], [113.32046, 23.183813], [113.320335, 23.183885], [113.3201, 23.184048], [113.319954, 23.184187], [113.319745, 23.184375], [113.319548, 23.184636], [113.319534, 23.184754], [113.319478, 23.184945], [113.319488, 23.185266], [113.319494, 23.185354], [113.319463, 23.185701], [113.31942, 23.185859], [113.319395, 23.185926], [113.319356, 23.185968], [113.319241, 23.185955], [113.319131, 23.185938], [113.319088, 23.185917], [113.319045, 23.185892], [113.319011, 23.185651], [113.318987, 23.185561], [113.318879, 23.185549], [113.318744, 23.185543], [113.318715, 23.185483], [113.318628, 23.185421], [113.318547, 23.18542], [113.318276, 23.185494], [113.318267, 23.185469], [113.318229, 23.18542], [113.31815, 23.18521], [113.317994, 23.184971], [113.317644, 23.185032], [113.317621, 23.185481], [113.317628, 23.185913], [113.317402, 23.186014], [113.317282, 23.186072], [113.317151, 23.186214], [113.317093, 23.186374], [113.317041, 23.186606], [113.316958, 23.186779], [113.316878, 23.18703], [113.316713, 23.18746], [113.31662, 23.187598], [113.316577, 23.187677], [113.316491, 23.187736], [113.316098, 23.187607], [113.315939, 23.187597], [113.31557, 23.187754], [113.315297, 23.187849], [113.315169, 23.187852], [113.315051, 23.187836], [113.315017, 23.187805], [113.315028, 23.187724], [113.315111, 23.187574], [113.315214, 23.187341], [113.315242, 23.187198], [113.315229, 23.187079], [113.315206, 23.187003], [113.315113, 23.186738], [113.315071, 23.186609], [113.315004, 23.186569], [113.314881, 23.186574], [113.314725, 23.186592], [113.314471, 23.1866], [113.314237, 23.186341], [113.314125, 23.186194], [113.314099, 23.186118], [113.31411, 23.186033], [113.314349, 23.185637], [113.314696, 23.185329], [113.31489, 23.185215], [113.315082, 23.185136], [113.315173, 23.185124], [113.315225, 23.185083], [113.315913, 23.18492], [113.316065, 23.184876], [113.316047, 23.184584], [113.315847, 23.184608], [113.31563, 23.184629], [113.315372, 23.184489], [113.315161, 23.18427], [113.31491, 23.183886], [113.314713, 23.183739], [113.314201, 23.183467], [113.314057, 23.183316], [113.313998, 23.183132], [113.313987, 23.182974], [113.313952, 23.182831], [113.313729, 23.182511], [113.313601, 23.182378], [113.313502, 23.182323], [113.313254, 23.182235], [113.312918, 23.182184], [113.312635, 23.182151], [113.312595, 23.182119], [113.312534, 23.182051], [113.312494, 23.181985], [113.31243, 23.18192], [113.312406, 23.181891], [113.312401, 23.181854], [113.312477, 23.181644], [113.312587, 23.181433], [113.312692, 23.181197], [113.313195, 23.180553], [113.313382, 23.180093], [113.313391, 23.179971], [113.313386, 23.179797], [113.313262, 23.179454], [113.313055, 23.179383], [113.312473, 23.179324], [113.312191, 23.179492], [113.310404, 23.180126], [113.310337, 23.180161], [113.310259, 23.180146], [113.3102, 23.180061], [113.309974, 23.179775], [113.309586, 23.179349], [113.309466, 23.179293], [113.309298, 23.17933], [113.309086, 23.179651], [113.308975, 23.179686], [113.308875, 23.179632], [113.308883, 23.179445], [113.30901, 23.179199], [113.309273, 23.178706], [113.309539, 23.178469], [113.309676, 23.17827], [113.30969, 23.17815], [113.309618, 23.178001], [113.309672, 23.177884], [113.309843, 23.177842], [113.309971, 23.17788], [113.310153, 23.178009], [113.310366, 23.178691], [113.310761, 23.178759], [113.31121, 23.178763], [113.31161, 23.178804], [113.312022, 23.178795], [113.312476, 23.178728], [113.312834, 23.178769], [113.313157, 23.178785], [113.313448, 23.178652], [113.31373, 23.178218], [113.313802, 23.178228], [113.313868, 23.178286], [113.313903, 23.178404], [113.314022, 23.17847], [113.314186, 23.178496], [113.314298, 23.17847], [113.314415, 23.178458], [113.314638, 23.178548], [113.314816, 23.178583], [113.314882, 23.178534], [113.314912, 23.178468], [113.31496, 23.178336], [113.315031, 23.178193], [113.315016, 23.178123], [113.314967, 23.178004], [113.3149, 23.17793], [113.314759, 23.177829], [113.314651, 23.177777], [113.314521, 23.177739], [113.314167, 23.177466], [113.31403, 23.177379], [113.313937, 23.177293], [113.313914, 23.177188], [113.313927, 23.177138], [113.313989, 23.177106], [113.314269, 23.177059], [113.314398, 23.177045], [113.314628, 23.176973], [113.314897, 23.176888], [113.315377, 23.176966], [113.315467, 23.176933], [113.31564, 23.176624], [113.315643, 23.176539], [113.31567, 23.176367], [113.315726, 23.176159], [113.315438, 23.17592], [113.315179, 23.175641], [113.315176, 23.175565], [113.315195, 23.175456], [113.315234, 23.17528], [113.315253, 23.175253], [113.3153, 23.175246], [113.315369, 23.175257], [113.315425, 23.175262], [113.315611, 23.175329], [113.315836, 23.175347], [113.315959, 23.175291], [113.316095, 23.17516], [113.316407, 23.174245], [113.316481, 23.173971], [113.316517, 23.173545], [113.316505, 23.173262], [113.316446, 23.173044], [113.316397, 23.172944], [113.316309, 23.172745], [113.316121, 23.172459], [113.315766, 23.172065], [113.314873, 23.171819], [113.314543, 23.171672], [113.314151, 23.171299], [113.313739, 23.171061], [113.313165, 23.170936], [113.312866, 23.170875], [113.312414, 23.170825], [113.312193, 23.170703], [113.312024, 23.17051], [113.311926, 23.170466], [113.311869, 23.170492], [113.311735, 23.170529], [113.31166, 23.170545], [113.311513, 23.170489], [113.311334, 23.170394], [113.31116, 23.170342], [113.311082, 23.17027], [113.310906, 23.170055], [113.310775, 23.170048], [113.310259, 23.170246], [113.310076, 23.170268], [113.309897, 23.170359], [113.309628, 23.170589], [113.309511, 23.170752], [113.309459, 23.171788], [113.309458, 23.172053], [113.309382, 23.172773], [113.309111, 23.173706], [113.308905, 23.173809], [113.308488, 23.173842], [113.308006, 23.17381], [113.307783, 23.173626], [113.307763, 23.173254], [113.30792, 23.17251], [113.30818, 23.171807], [113.308194, 23.171571], [113.308148, 23.171335], [113.307747, 23.171182], [113.307517, 23.171236], [113.307259, 23.171134], [113.30723, 23.171007], [113.307292, 23.170717], [113.307716, 23.170369], [113.30783, 23.170147], [113.307817, 23.169864], [113.308029, 23.169326], [113.308075, 23.169147], [113.308078, 23.169062], [113.30798, 23.168859], [113.308016, 23.168762], [113.308982, 23.168147], [113.309338, 23.168105], [113.309694, 23.168005], [113.309916, 23.167878], [113.309969, 23.167846], [113.310002, 23.167723], [113.309973, 23.167642], [113.309927, 23.167542], [113.309952, 23.167419], [113.310003, 23.167343], [113.310023, 23.167258], [113.310096, 23.167116], [113.310123, 23.166954], [113.310042, 23.166819], [113.309928, 23.16672], [113.309412, 23.166513], [113.309327, 23.166428], [113.3093, 23.166279], [113.30945, 23.16602], [113.309747, 23.165814], [113.309783, 23.165781], [113.309768, 23.1657], [113.309663, 23.165386], [113.309657, 23.165361], [113.309671, 23.165342], [113.309772, 23.165271], [113.309794, 23.16519], [113.309798, 23.165119], [113.309789, 23.165057], [113.309752, 23.16495], [113.309503, 23.164828], [113.309412, 23.164786], [113.309383, 23.164744], [113.309382, 23.164679], [113.309427, 23.164613], [113.309437, 23.164514], [113.309323, 23.164335], [113.309206, 23.164205], [113.309156, 23.164124], [113.309147, 23.164072], [113.309146, 23.164049], [113.309153, 23.163997], [113.309184, 23.163884], [113.309278, 23.163844], [113.310155, 23.163867], [113.310383, 23.163882], [113.310729, 23.163896], [113.311043, 23.163811], [113.311309, 23.16363], [113.311383, 23.163512], [113.311464, 23.163286], [113.311323, 23.16298], [113.311042, 23.162548], [113.310897, 23.162311], [113.310663, 23.161753], [113.310514, 23.161499], [113.310293, 23.161307], [113.305744, 23.159984], [113.302972, 23.159187], [113.302639, 23.159105], [113.302319, 23.159036], [113.301867, 23.158967], [113.301175, 23.158896], [113.300982, 23.158902], [113.300888, 23.158943], [113.30085, 23.159008], [113.300813, 23.159053], [113.300711, 23.159221], [113.300606, 23.159567], [113.300532, 23.159883], [113.300366, 23.160318], [113.300248, 23.160368], [113.300141, 23.16036], [113.300043, 23.160338], [113.299993, 23.1603], [113.299959, 23.160247], [113.300001, 23.160005], [113.299994, 23.159916], [113.299961, 23.159833], [113.299907, 23.159776], [113.29982, 23.159734], [113.299383, 23.159547], [113.299252, 23.159478], [113.299172, 23.159397], [113.299102, 23.159399], [113.299049, 23.15944], [113.298686, 23.160291], [113.298585, 23.160736], [113.298458, 23.160921], [113.298435, 23.161117], [113.298542, 23.161354], [113.298902, 23.161641], [113.299125, 23.162095], [113.298865, 23.162499], [113.298436, 23.162618], [113.298167, 23.162713], [113.298105, 23.162744], [113.298021, 23.163055], [113.297702, 23.163584], [113.297555, 23.163606], [113.297442, 23.163576], [113.297399, 23.163493], [113.297386, 23.163276], [113.297381, 23.163085], [113.297367, 23.162948], [113.297334, 23.162817], [113.29729, 23.162665], [113.297234, 23.162428], [113.297214, 23.16235], [113.297199, 23.162212], [113.297195, 23.162137], [113.297243, 23.161982], [113.297381, 23.16175], [113.297487, 23.161583], [113.297529, 23.16148], [113.297523, 23.161394], [113.297455, 23.161313], [113.297356, 23.16123], [113.297055, 23.161121], [113.296832, 23.161015], [113.296753, 23.160974], [113.296741, 23.160921], [113.296789, 23.160828], [113.297041, 23.160365], [113.296718, 23.160144], [113.29667, 23.160108], [113.296625, 23.160029], [113.296615, 23.159899], [113.296596, 23.159654], [113.296576, 23.159487], [113.296535, 23.159282], [113.296443, 23.159048], [113.296501, 23.158911], [113.296598, 23.158769], [113.296713, 23.158595], [113.296729, 23.158297], [113.296904, 23.157827], [113.296825, 23.157321], [113.296286, 23.156662], [113.296213, 23.15668], [113.296006, 23.156242], [113.29597, 23.156245], [113.295922, 23.156068], [113.29595, 23.155923], [113.295945, 23.155778], [113.295937, 23.155574], [113.295897, 23.15554], [113.295822, 23.155527], [113.295691, 23.155547], [113.295542, 23.155603], [113.295446, 23.155669], [113.295418, 23.155717], [113.295278, 23.155742], [113.295068, 23.155118], [113.294824, 23.154399], [113.293762, 23.154647], [113.293601, 23.154213], [113.293558, 23.154091], [113.293344, 23.153618], [113.293098, 23.153147], [113.292965, 23.153043], [113.292272, 23.152736], [113.291862, 23.15254], [113.291658, 23.15239], [113.291494, 23.152248], [113.291522, 23.152122], [113.291518, 23.151945], [113.291474, 23.151773], [113.291375, 23.15147], [113.29133, 23.151372], [113.291185, 23.150923], [113.291163, 23.15084], [113.291046, 23.150578], [113.290643, 23.149956], [113.290604, 23.149592], [113.290674, 23.149065], [113.290646, 23.148637], [113.290592, 23.148532], [113.290502, 23.148495], [113.290085, 23.148535], [113.289994, 23.148557], [113.289903, 23.148615], [113.289894, 23.148776], [113.289901, 23.148937], [113.28982, 23.14932], [113.289714, 23.149574], [113.289623, 23.149759], [113.289454, 23.14999], [113.289365, 23.150065], [113.289307, 23.150091], [113.289237, 23.150092], [113.289114, 23.150049], [113.288889, 23.14991], [113.288462, 23.149542], [113.28808, 23.14918], [113.287959, 23.148898], [113.28769, 23.148536], [113.287217, 23.148134], [113.286797, 23.147971], [113.286656, 23.147946], [113.286603, 23.147898], [113.286595, 23.147844], [113.286657, 23.147636], [113.286635, 23.147507], [113.286416, 23.147456], [113.286218, 23.147333], [113.286, 23.146519], [113.285911, 23.14619], [113.28577, 23.146129], [113.28561, 23.146148], [113.285265, 23.146494], [113.28521, 23.146503], [113.285141, 23.146492], [113.285022, 23.146423], [113.28473, 23.146244], [113.284521, 23.146088], [113.284386, 23.145976], [113.284229, 23.145881], [113.284264, 23.145435], [113.284153, 23.145406], [113.284023, 23.145386], [113.283945, 23.145321], [113.283851, 23.145044], [113.28374, 23.144847], [113.283483, 23.14441], [113.283689, 23.144302], [113.283787, 23.144247], [113.283886, 23.144189], [113.283763, 23.144024], [113.282896, 23.144042], [113.282572, 23.14397], [113.282353, 23.143898], [113.281937, 23.143715], [113.281777, 23.143577], [113.281702, 23.143427], [113.281595, 23.142727], [113.281481, 23.142584], [113.281408, 23.142552], [113.281369, 23.142605], [113.281303, 23.142756], [113.281414, 23.142797], [113.281321, 23.143039], [113.281239, 23.143009], [113.281107, 23.143357], [113.281001, 23.143403], [113.280822, 23.143339], [113.280199, 23.143418], [113.280316, 23.144112], [113.2804, 23.144693], [113.280401, 23.144831], [113.2804, 23.145249], [113.280256, 23.145273], [113.280073, 23.14575], [113.279923, 23.14586], [113.279717, 23.145941], [113.27965, 23.145938], [113.279567, 23.145899], [113.27928, 23.145582], [113.279217, 23.145563], [113.279145, 23.145593], [113.27854, 23.146195], [113.278049, 23.146706], [113.277847, 23.14692], [113.277808, 23.146956], [113.27776, 23.146979], [113.277717, 23.146994], [113.277428, 23.147206], [113.276805, 23.147732], [113.276509, 23.147973], [113.275723, 23.147406], [113.275485, 23.147136], [113.275182, 23.14699], [113.274899, 23.146877], [113.274602, 23.14685], [113.27441, 23.14692], [113.274213, 23.146999], [113.274141, 23.14716], [113.274131, 23.14742], [113.273947, 23.147408], [113.273622, 23.147364], [113.273811, 23.146657], [113.273885, 23.14626], [113.273958, 23.145867], [113.273991, 23.145852], [113.27403, 23.145843], [113.274082, 23.145808], [113.274084, 23.145746], [113.274032, 23.145466], [113.273992, 23.145444], [113.273939, 23.145433], [113.273813, 23.14545], [113.273129, 23.145536], [113.272907, 23.145577], [113.272665, 23.145634], [113.27231, 23.145727], [113.272166, 23.145666], [113.272143, 23.145576], [113.272126, 23.14539], [113.272104, 23.145015], [113.272198, 23.144834], [113.27239, 23.144653], [113.272457, 23.14462], [113.272677, 23.144619], [113.272887, 23.144612], [113.273032, 23.144585], [113.273085, 23.144512], [113.27307, 23.144367], [113.273055, 23.143911], [113.272993, 23.143529], [113.272953, 23.143348], [113.272923, 23.143218], [113.272882, 23.143085], [113.272833, 23.143026], [113.272728, 23.142985], [113.272469, 23.143049], [113.271905, 23.143352], [113.271855, 23.143348], [113.271804, 23.143307], [113.271658, 23.143092], [113.271507, 23.142863], [113.271178, 23.142362], [113.271137, 23.142314], [113.271093, 23.142304], [113.270921, 23.142376], [113.270213, 23.14254], [113.269933, 23.142666], [113.269742, 23.142795], [113.269195, 23.143297], [113.26918, 23.143359], [113.269184, 23.143403], [113.26922, 23.143483], [113.269269, 23.143522], [113.26932, 23.143552], [113.269541, 23.143803], [113.269767, 23.14405], [113.270241, 23.144529], [113.269874, 23.144867], [113.269547, 23.144607], [113.269348, 23.144756], [113.269314, 23.144767], [113.269267, 23.144781], [113.269075, 23.144803], [113.268826, 23.144817], [113.268704, 23.14485], [113.268638, 23.144936], [113.268618, 23.145021], [113.268608, 23.145153], [113.268671, 23.145308], [113.268905, 23.145621], [113.269021, 23.145696], [113.269324, 23.145781], [113.269677, 23.145991], [113.26984, 23.146154], [113.269904, 23.146238], [113.26991, 23.146316], [113.269891, 23.146355], [113.269827, 23.146382], [113.269408, 23.146386], [113.268404, 23.146732], [113.268261, 23.146822], [113.267988, 23.147041], [113.267888, 23.147092], [113.267788, 23.147099], [113.267709, 23.147115], [113.267653, 23.147158], [113.267634, 23.147202], [113.267619, 23.147251], [113.26782, 23.147763], [113.268168, 23.148678], [113.268277, 23.148716], [113.268593, 23.148633], [113.268818, 23.148483], [113.269052, 23.148416], [113.269154, 23.148411], [113.269285, 23.148464], [113.269363, 23.148601], [113.269378, 23.14876], [113.269299, 23.149651], [113.269272, 23.149761], [113.269232, 23.14981], [113.26914, 23.149827], [113.269016, 23.149825], [113.268954, 23.149759], [113.268953, 23.149619], [113.268891, 23.149515], [113.268824, 23.149454], [113.268736, 23.149434], [113.268204, 23.149617], [113.267821, 23.149828], [113.267723, 23.149659], [113.267509, 23.149818], [113.267452, 23.149911], [113.267368, 23.150092], [113.267323, 23.150264], [113.26733, 23.150387], [113.267349, 23.150485], [113.26741, 23.150611], [113.267547, 23.150848], [113.267605, 23.151042], [113.267723, 23.151389], [113.267849, 23.151692], [113.267855, 23.151736], [113.267851, 23.151764], [113.267837, 23.151844], [113.267744, 23.152104], [113.267722, 23.152195], [113.267683, 23.152288], [113.267656, 23.152388], [113.267667, 23.152494], [113.267692, 23.15258], [113.267757, 23.15267], [113.267857, 23.152722], [113.267971, 23.152751], [113.268151, 23.152779], [113.268401, 23.152772], [113.268527, 23.15275], [113.26868, 23.152695], [113.268792, 23.152652], [113.268865, 23.152645], [113.268963, 23.152649], [113.269051, 23.152664], [113.269131, 23.152729], [113.269164, 23.152803], [113.269177, 23.152913], [113.269202, 23.153146], [113.269291, 23.153879], [113.269346, 23.154209], [113.269702, 23.156001], [113.269742, 23.156026], [113.269788, 23.156016], [113.270537, 23.15543], [113.270972, 23.155148], [113.271633, 23.154696], [113.271847, 23.154468], [113.271933, 23.154334], [113.272067, 23.154131], [113.272258, 23.154221], [113.272378, 23.154844], [113.27265, 23.154821], [113.272851, 23.15525], [113.273097, 23.155636], [113.273439, 23.155872], [113.273606, 23.155931], [113.273774, 23.155924], [113.274509, 23.155692], [113.274689, 23.155614], [113.274769, 23.155502], [113.274824, 23.155219], [113.274993, 23.154255], [113.274934, 23.154002], [113.27501, 23.153754], [113.275392, 23.153546], [113.275725, 23.15351], [113.275975, 23.153107], [113.276319, 23.153286], [113.276248, 23.153481], [113.276206, 23.153844], [113.276229, 23.154241], [113.276075, 23.154945], [113.276073, 23.155321], [113.276053, 23.155372], [113.276057, 23.155438], [113.276731, 23.15548], [113.277412, 23.155532], [113.277453, 23.15558], [113.277295, 23.156266], [113.277113, 23.157062], [113.277157, 23.157197], [113.277394, 23.157324], [113.277631, 23.157439], [113.277871, 23.157537], [113.278116, 23.157556], [113.27826, 23.15752], [113.279967, 23.156745], [113.28161, 23.155984], [113.282221, 23.155881], [113.283755, 23.156423], [113.284048, 23.156573], [113.283905, 23.156859], [113.28372, 23.157393], [113.28347, 23.157912], [113.283359, 23.158185], [113.283266, 23.158347], [113.28316, 23.158476], [113.282714, 23.158947], [113.282501, 23.159189], [113.282645, 23.159366], [113.282696, 23.159419], [113.282788, 23.159441], [113.282869, 23.159439], [113.28293, 23.159396], [113.282983, 23.159395], [113.283051, 23.15941], [113.283126, 23.159446], [113.28314, 23.1595], [113.28313, 23.159607], [113.283137, 23.159639], [113.283139, 23.159688], [113.283201, 23.159734], [113.283296, 23.159779], [113.283435, 23.159879], [113.283567, 23.159907], [113.283679, 23.159902], [113.283761, 23.159871], [113.28384, 23.159828], [113.283842, 23.159791], [113.283818, 23.159726], [113.2838, 23.159675], [113.283804, 23.159613], [113.283835, 23.159577], [113.283882, 23.159568], [113.283976, 23.159602], [113.284521, 23.159818], [113.284884, 23.159969], [113.284946, 23.160013], [113.284986, 23.160087], [113.285046, 23.160156], [113.285098, 23.160238], [113.285141, 23.160288], [113.285225, 23.160347], [113.285378, 23.160375], [113.28553, 23.16042], [113.285774, 23.160485], [113.285917, 23.160522], [113.285967, 23.160451], [113.286063, 23.160311], [113.286079, 23.160274], [113.286064, 23.160236], [113.286047, 23.160224], [113.286006, 23.160182], [113.285899, 23.160128], [113.285981, 23.159954], [113.286181, 23.159807], [113.286276, 23.15977], [113.286398, 23.159728], [113.286467, 23.159717], [113.286548, 23.15967], [113.28662, 23.159646], [113.286726, 23.159623], [113.286844, 23.15955], [113.28701, 23.159445], [113.287185, 23.159416], [113.287256, 23.159414], [113.287327, 23.15943], [113.287378, 23.15944], [113.287435, 23.15945], [113.287467, 23.159457], [113.287532, 23.159478], [113.287706, 23.15954], [113.287727, 23.159561], [113.287732, 23.159585], [113.287724, 23.159621], [113.287651, 23.15969], [113.287545, 23.159759], [113.287158, 23.160028], [113.286816, 23.160227], [113.286646, 23.160338], [113.286453, 23.160552], [113.286361, 23.160693], [113.286543, 23.161094], [113.286748, 23.161226], [113.287066, 23.161391], [113.287195, 23.161409], [113.287317, 23.161399], [113.288291, 23.161407], [113.289027, 23.161239], [113.289133, 23.161225], [113.289209, 23.161353], [113.289216, 23.161484], [113.289157, 23.161564], [113.288284, 23.161966], [113.288255, 23.162119], [113.288317, 23.162233], [113.289229, 23.1627], [113.28959, 23.162869], [113.289733, 23.162957], [113.290576, 23.163531], [113.291246, 23.163937], [113.291836, 23.164289], [113.293069, 23.165859], [113.293412, 23.165612], [113.293584, 23.165489], [113.293744, 23.165425], [113.293889, 23.165433], [113.294023, 23.1655], [113.294157, 23.165571], [113.294232, 23.165648], [113.294233, 23.165751], [113.294175, 23.165859], [113.294059, 23.166075], [113.293785, 23.166508], [113.293399, 23.167471], [113.293093, 23.167691], [113.292777, 23.167763], [113.29264, 23.167755], [113.292492, 23.167598], [113.292196, 23.167284], [113.291604, 23.166657], [113.290539, 23.165344], [113.289278, 23.164013], [113.289029, 23.163737], [113.288814, 23.163654], [113.288652, 23.163748], [113.288543, 23.16398], [113.288508, 23.164212], [113.288484, 23.164454], [113.288427, 23.165273], [113.288407, 23.166139], [113.288265, 23.166187], [113.288127, 23.16619], [113.287963, 23.166181], [113.287853, 23.166128], [113.287863, 23.16588], [113.288002, 23.16423], [113.287941, 23.164018], [113.28783, 23.163898], [113.28765, 23.163674], [113.28746, 23.163468], [113.287192, 23.163319], [113.286817, 23.163168], [113.286651, 23.163111], [113.28657, 23.163012], [113.28661, 23.16289], [113.286617, 23.162727], [113.286538, 23.16263], [113.28637, 23.162452], [113.285577, 23.162036], [113.285387, 23.161942], [113.285245, 23.161867], [113.285072, 23.161775], [113.284929, 23.161682], [113.284751, 23.161589], [113.284658, 23.161535], [113.284637, 23.161504], [113.284645, 23.161373], [113.284516, 23.161296], [113.284559, 23.161219], [113.284272, 23.161073], [113.28414, 23.161033], [113.283928, 23.161025], [113.283271, 23.160967], [113.2832, 23.160966], [113.283148, 23.160973], [113.283139, 23.161163], [113.282948, 23.161762], [113.282894, 23.161896], [113.282873, 23.161906], [113.282804, 23.161892], [113.282684, 23.161864], [113.28268, 23.16189], [113.282719, 23.162099], [113.282751, 23.162314], [113.282735, 23.162366], [113.282639, 23.162445], [113.282497, 23.162575], [113.282425, 23.162643], [113.282382, 23.162674], [113.281804, 23.162776], [113.281535, 23.162839], [113.281277, 23.162916], [113.281208, 23.162956], [113.281115, 23.16304], [113.281003, 23.163123], [113.280547, 23.163558], [113.280475, 23.16364], [113.280195, 23.16401], [113.280132, 23.16409], [113.280047, 23.164212], [113.280028, 23.164261], [113.280036, 23.164309], [113.280069, 23.164444], [113.280068, 23.16451], [113.280032, 23.16455], [113.279951, 23.164616], [113.279878, 23.164732], [113.279875, 23.16483], [113.279936, 23.164922], [113.280164, 23.165274], [113.280664, 23.165818], [113.281285, 23.166374], [113.281831, 23.166998], [113.281794, 23.167152], [113.281698, 23.167232], [113.281553, 23.167244], [113.281457, 23.167211], [113.280293, 23.166151], [113.279622, 23.165523], [113.279058, 23.164875], [113.278927, 23.164731], [113.278962, 23.164629], [113.278895, 23.164625], [113.278749, 23.16462], [113.278554, 23.16464], [113.278411, 23.164662], [113.278318, 23.164681], [113.278273, 23.164684], [113.278032, 23.164531], [113.277602, 23.165186], [113.277492, 23.165361], [113.277347, 23.165591], [113.277256, 23.165707], [113.276994, 23.166027], [113.276724, 23.16627], [113.276454, 23.16652], [113.276241, 23.166686], [113.276028, 23.166858], [113.275517, 23.16723], [113.275266, 23.167418], [113.275089, 23.167577], [113.274978, 23.167705], [113.274838, 23.167877], [113.274741, 23.168013], [113.274684, 23.168111], [113.274604, 23.168264], [113.274599, 23.168359], [113.274652, 23.168587], [113.2747, 23.168701], [113.274741, 23.168741], [113.274886, 23.168695], [113.275014, 23.168714], [113.275096, 23.168721], [113.275157, 23.168755], [113.275264, 23.168725], [113.275343, 23.168726], [113.275573, 23.168766], [113.275752, 23.168829], [113.276083, 23.168926], [113.276178, 23.168956], [113.276239, 23.16896], [113.276666, 23.168861], [113.277766, 23.168565], [113.277852, 23.168526], [113.277967, 23.168471], [113.278047, 23.168462], [113.279145, 23.168508], [113.279222, 23.168541], [113.279266, 23.168594], [113.279279, 23.168664], [113.279271, 23.168845], [113.27919, 23.169364], [113.279079, 23.169438], [113.278894, 23.169443], [113.278418, 23.169421], [113.277867, 23.169437], [113.277668, 23.169478], [113.277495, 23.169535], [113.276905, 23.16986], [113.276619, 23.1701], [113.275966, 23.170702], [113.275858, 23.170813], [113.275886, 23.17095], [113.276134, 23.171329], [113.276283, 23.171447], [113.27842, 23.171814], [113.278543, 23.171956], [113.278533, 23.172099], [113.278474, 23.172212], [113.278206, 23.172221], [113.277928, 23.172304], [113.27731, 23.172659], [113.277163, 23.172807], [113.276788, 23.173201], [113.276777, 23.17324], [113.2768, 23.173289], [113.276837, 23.173325], [113.276886, 23.173337], [113.276983, 23.173338], [113.277031, 23.173379], [113.27709, 23.17384], [113.277054, 23.173956], [113.277042, 23.174045], [113.277104, 23.174146], [113.277176, 23.174208], [113.277512, 23.174229], [113.27831, 23.174275], [113.278631, 23.174227], [113.27922, 23.174097], [113.280753, 23.173634], [113.281202, 23.173356], [113.281361, 23.17368], [113.281474, 23.174148], [113.281466, 23.174183], [113.281407, 23.174204], [113.280987, 23.174315], [113.280956, 23.174332], [113.280996, 23.174449], [113.280996, 23.174482], [113.280985, 23.174503], [113.280959, 23.174514], [113.28016, 23.174727], [113.28025, 23.175063], [113.280318, 23.175323], [113.280348, 23.175461], [113.280427, 23.175553], [113.280612, 23.175696], [113.281153, 23.176049], [113.281615, 23.176507], [113.28161, 23.176656], [113.281572, 23.176849], [113.281429, 23.177059], [113.28126, 23.177207], [113.281049, 23.177315], [113.280741, 23.177364], [113.280573, 23.177324], [113.279119, 23.176825], [113.278949, 23.176863], [113.278838, 23.176965], [113.278808, 23.177173], [113.27885, 23.177485], [113.279019, 23.177846], [113.278935, 23.177965], [113.27881, 23.178149], [113.278659, 23.178781], [113.278588, 23.1789], [113.278372, 23.179125], [113.27916, 23.181508], [113.279307, 23.181964], [113.279653, 23.183022], [113.279781, 23.18338], [113.279925, 23.18367], [113.280018, 23.183743], [113.280328, 23.18407], [113.280416, 23.18425], [113.280437, 23.184347], [113.280609, 23.185288], [113.28081, 23.18561], [113.281161, 23.185832], [113.281456, 23.186072], [113.281608, 23.186269], [113.281722, 23.186501], [113.281738, 23.187396], [113.28169, 23.187599], [113.282016, 23.188367], [113.282235, 23.188969], [113.282529, 23.189836], [113.282853, 23.190909], [113.283052, 23.191433], [113.2833, 23.191953], [113.283541, 23.192044], [113.283741, 23.192072], [113.283905, 23.192064], [113.283987, 23.19204], [113.28402, 23.191988], [113.283928, 23.191734], [113.283931, 23.191688], [113.283978, 23.191641], [113.284471, 23.191378], [113.284821, 23.19128], [113.285081, 23.191207], [113.285553, 23.191096], [113.285794, 23.191036], [113.285864, 23.191017], [113.286035, 23.190846], [113.286066, 23.190696], [113.286333, 23.19056], [113.286661, 23.190769], [113.286861, 23.190967], [113.286952, 23.191059], [113.287228, 23.191369], [113.287502, 23.191695], [113.287561, 23.191804], [113.287472, 23.191929], [113.287341, 23.192005], [113.28678, 23.192286], [113.286166, 23.192507], [113.285772, 23.192643], [113.285515, 23.192808], [113.285245, 23.192925], [113.284941, 23.19304], [113.284846, 23.193042], [113.284767, 23.193002], [113.284728, 23.192988], [113.284681, 23.192983], [113.284644, 23.193003], [113.284599, 23.193032], [113.284536, 23.193107], [113.284492, 23.193191], [113.284435, 23.193338], [113.284386, 23.193489], [113.284325, 23.193758], [113.284319, 23.193908], [113.284529, 23.194317], [113.284845, 23.194743], [113.285133, 23.195053], [113.285547, 23.19546], [113.286057, 23.196023], [113.286346, 23.196368], [113.286595, 23.196739], [113.286944, 23.196716], [113.287472, 23.196731], [113.287959, 23.196764], [113.288278, 23.196804], [113.289071, 23.196906], [113.289689, 23.196941], [113.290303, 23.196955], [113.290802, 23.197051], [113.291205, 23.197087], [113.291863, 23.196921], [113.292624, 23.1968], [113.293015, 23.196744], [113.293455, 23.196707], [113.293758, 23.196709], [113.294356, 23.196822], [113.29534, 23.19696], [113.296556, 23.197035], [113.297031, 23.197055], [113.297367, 23.196976], [113.298013, 23.197989], [113.29935, 23.197469], [113.299535, 23.197897], [113.297428, 23.199004], [113.29713, 23.19933], [113.297042, 23.199489], [113.297085, 23.199607], [113.297155, 23.199698], [113.297352, 23.199882], [113.297389, 23.200066], [113.297232, 23.200206], [113.296973, 23.200185], [113.29672, 23.200124], [113.296566, 23.20012], [113.296481, 23.200041], [113.29642, 23.19982], [113.296339, 23.199499], [113.29593, 23.199257], [113.29535, 23.199188], [113.29459, 23.199174], [113.294195, 23.199289], [113.293764, 23.19955], [113.293088, 23.200272], [113.293388, 23.201835], [113.294303, 23.201841], [113.295854, 23.20188], [113.29586, 23.202403], [113.295801, 23.202471], [113.295163, 23.202617], [113.294913, 23.202694], [113.294413, 23.203327], [113.294339, 23.203423], [113.294361, 23.203588], [113.294851, 23.203991], [113.295121, 23.203624], [113.295771, 23.203292], [113.296135, 23.203155], [113.296317, 23.203086], [113.296455, 23.203052], [113.296536, 23.203118], [113.296573, 23.203218], [113.296648, 23.203418], [113.296723, 23.203618], [113.29676, 23.203718], [113.29683, 23.203778], [113.296903, 23.203803], [113.297008, 23.203788], [113.297219, 23.203758], [113.29764, 23.203699], [113.298406, 23.203838], [113.298684, 23.203997], [113.298618, 23.204333], [113.298374, 23.204686], [113.29822, 23.20469], [113.298124, 23.20466], [113.297934, 23.2046], [113.297521, 23.204508], [113.296598, 23.204632], [113.296217, 23.204849], [113.295994, 23.20493], [113.295815, 23.205046], [113.295813, 23.205145], [113.295881, 23.205279], [113.297407, 23.207184], [113.298842, 23.207037], [113.298601, 23.209344], [113.298816, 23.209732], [113.298496, 23.210066], [113.298167, 23.210576], [113.298752, 23.211134], [113.299289, 23.211018], [113.300337, 23.211105], [113.300672, 23.21127], [113.300618, 23.212498], [113.301321, 23.212948], [113.301554, 23.212813], [113.301846, 23.212708], [113.302194, 23.212792], [113.302312, 23.212877], [113.302403, 23.212993], [113.302502, 23.213114], [113.302877, 23.21399], [113.303295, 23.214723], [113.303609, 23.214707], [113.303923, 23.214653], [113.303948, 23.214668], [113.303955, 23.214696], [113.303935, 23.214832], [113.304175, 23.215063], [113.304349, 23.215171], [113.304379, 23.215247], [113.304396, 23.215325], [113.304288, 23.215811], [113.304287, 23.215874], [113.304478, 23.216055], [113.304607, 23.215909], [113.304808, 23.215762], [113.305257, 23.215595], [113.305736, 23.215433], [113.305946, 23.21528], [113.306178, 23.215176], [113.306479, 23.215172], [113.306736, 23.215285], [113.306986, 23.215925], [113.306336, 23.216722], [113.306301, 23.2169], [113.30629, 23.217105], [113.30572, 23.217842], [113.305932, 23.218343], [113.305715, 23.218538], [113.305885, 23.218813], [113.305974, 23.218913], [113.306061, 23.218973], [113.306443, 23.219163], [113.306839, 23.219403], [113.307296, 23.219596], [113.307624, 23.219532], [113.311037, 23.216998], [113.311677, 23.216545], [113.312612, 23.216068], [113.31291, 23.215842], [113.312969, 23.215713], [113.313002, 23.215523], [113.313083, 23.215244], [113.31216, 23.214682], [113.311117, 23.214236]]}];

    var center_lon = parseFloat(area[0]['lnglat'][0][0]);
    var center_lat = parseFloat(area[0]['lnglat'][0][1]);


    var colors = ["#c6dbef", "#9ecae1", "#6baed6", "#3182bd", "#08519c"];

    var map = new AMap.Map('container', {
        mapStyle: 'amap://styles/midnight',
        features: ['bg', 'road'],
        center: [center_lon, center_lat],
        zoom: 15,
        pitch: 40,
        viewMode: '3D'
    });

    var layer = new Loca.PolygonLayer({
        map: map,
        fitView: false
    });

    layer.setData(area, {
        lnglat: 'lnglat'
    });

    layer.setOptions({
        style: {
            opacity: 0.5,
            color: function (res) {
                var index = res.index;
                return colors[index % colors.length];
            },
            height: function () {
                return Math.random() * 500 + 100;
            }
        }
    });

    layer.render();

</script>
</body>
</html>

这里还有很多可视化的玩意呢,后面会继续探索

总结

这个只是一个尚未成型的小demo,操作起来有一点麻烦, 后面会继续探索,看能否继续改进,希望懂爬虫的朋友能一起来探讨啊。

欢迎加入地图数据爬取交流群:626697156,有问题可以反馈给群主

原创文章,转载请注明出处:http://www.loveyuanwei.com/article/poiboundary/