-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.html
248 lines (239 loc) · 13.7 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="zh" class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="baidu-site-verification" content="ioktGId5rx" />
<meta property="wb:webmaster" content="5834fb56d31e7d8a" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min-2.3.1.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-style.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/menu.css">
<link rel="stylesheet" type="text/css" href="css/blog.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="site/clock/clock.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="img/logo.ico">
<title>GaoHR | Homepage</title>
</head>
<body>
<!--head-->
<div class="mainlogo">
<a href="index.html" class="g-blog-logo"></a>
<img src="img/head.png" class="headimg">
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<div class="weather" id ="weather"></div>
<span id="head-tool" class="head-tool"></span>
</div>
<div class="main-page container-fluid">
<div class="row-fluid">
<div class="span2">
<!--responsive menu-->
<div id="mainmenu">
<div class="menulist">
<div class="btn-group">
<ul class="nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle"data-toggle="dropdown"href="#"><i class="icon-list"></i></a>
<ul class="dropdown-menu">
<li><a href="index.html"><i class="icon-home menu-active"></i></a></li>
<li><a href="Blogs.html">博客</a></li>
<li><a href="site/special/index.html">专题</a></li>
<li class="divider"></li>
<li><a href="About.html">关于</a></li>
<li><a href="Contact.html">留言</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="sider-bar">
<div class="host">
<img src="img/blog_logo_main.png"><br><br>
</div>
<!-- Navigation -->
<div class="svg-wrapper">
<span class="svg"><svg height="40" width="150" xmlns="http://www.w3.org/2000/svg"><rect id="shape" height="40" width="150"></rect></svg></span>
<div id="text"><a href="index.html"><span class="spot"></span><i class="icon-home menu-active"></i></a></div>
</div>
<div class="sider-menu centerer-menu wrap-menu">
<a href="Blogs.html" class="btn-menu">博客</a>
<a href="site/special/index.html" class="btn-menu">专题</a>
<a href="About.html" class="btn-menu">关于</a>
<a href="Contact.html" class="btn-menu">留言</a>
</div>
<hr>
<div class="links">
<a href="http://weibo.com/531239592" target="_blank" class="weibo"><i class="icon-weibo"></i></a>
<a href="https://github.com/gaohr" target="_blank" class="github"><i class="icon-github-sign"></i></a>
<a href="###" target="_blank" class="google"><i class=" icon-google-plus-sign"></i></a>
<a href="###" target="_blank" class="fb"><i class="icon-facebook-sign"></i></a>
<a href="###" target="_blank" class="twitter"><i class="icon-twitter-sign"></i></a>
</div>
<hr>
<div id="cltmap" class="cltmap"></div>
<div id="leftad" class="leftad"></div>
</div>
</div>
</div>
<div class="span8">
<!--breadcrumb-->
<ol class="breadcrumb">
<li><a href="index.html"><i class="icon-home"></i> 首页</a></li>
<!--<li class="active">Data</li>-->
</ol>
<!--正文-->
<div class="centerpage">
<p class="blog-top pull-left">热门主题</p>
<div id="myCarousel" class="carousel slide">
<!-- 轮播(Carousel)指标 -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
<li data-target="#myCarousel" data-slide-to="4"></li>
<li data-target="#myCarousel" data-slide-to="5"></li>
<li data-target="#myCarousel" data-slide-to="6"></li>
</ol>
<!-- 轮播(Carousel)项目 -->
<div class="carousel-inner">
<div class="item active">
<a href="http://gaohr.win/site/blogs/2017/2017-04-18-GIS-basic-data-of-China.html" target="_blank"><img src="img/hottopic/hottopic-img-004.jpg"></a>
<div class="img-title carousel-caption"><span>[数据资源]</span> 中国国家基础地理信息(GIS)数据<a href="http://gaohr.win/site/blogs/2017/2017-04-18-GIS-basic-data-of-China.html" target="_blank">前往下载</a></div>
</div>
<div class="item">
<a href="http://gaohr.win/site/blogs/2020/2020-02-20-china-roads.html" target="_blank"><img src="img/hottopic/hottopic-img-006.jpg"></a>
<div class="img-title carousel-caption"><span>[数据资源]</span> 全国道路网矢量数据集<a href="http://gaohr.win/site/blogs/2020/2020-02-20-china-roads.html" target="_blank">前往下载</a></div>
</div>
<div class="item">
<a href="http://gaohr.win/site/blogs/2019/2019-12-10-baidu-map-poi-cn.html" target="_blank"><img src="img/hottopic/hottopic-img-007.jpg"></a>
<div class="img-title carousel-caption"><span>[数据资源]</span> 全国城市兴趣点(POI)数据<a href="http://gaohr.win/site/blogs/2019/2019-12-10-baidu-map-poi-cn.html" target="_blank">前往查看</a></div>
</div>
<div class="item">
<a href="http://gaohr.win/site/special/2019/2019-09-14-dem-30m-cn.html" target="_blank"><img src="img/hottopic/hottopic-img-002.jpg" ></a>
<div class="img-title carousel-caption"><span>[数据资源]</span> 全国各省30m分辨率DEM数据<a href="http://gaohr.win/site/special/2019/2019-09-14-dem-30m-cn.html" target="_blank">前往下载</a></div>
</div>
<div class="item">
<a href="http://gaohr.win/site/blogs/2019/2019-01-15-arcgis-mapping-ink.html" target="_blank"><img src="img/hottopic/hottopic-img-005.jpg"></a>
<div class="img-title carousel-caption"><span>[技术博客]</span> 利用ArcGIS制作水墨山水画风格图<a href="http://gaohr.win/site/blogs/2019/2019-01-15-arcgis-mapping-ink.html" target="_blank">阅读更多</a></div>
</div>
<div class="item">
<a href="http://gaohr.win/site/blogs/2019/2019-10-16-china-railway.html" target="_blank"><img src="img/hottopic/hottopic-img-001.jpg"></a>
<div class="img-title carousel-caption"><span>[数据资源]</span> 全国精细铁路网矢量数据集<a href="http://gaohr.win/site/blogs/2019/2019-10-16-china-railway.html" target="_blank">前往下载</a></div>
</div>
<div class="item">
<a href="http://gaohr.win/site/blogs/2019/2019-08-20-china-daily-ground-climate-data-extraction.html" target="_blank"><img src="img/hottopic/hottopic-img-003.jpg"></a>
<div class="img-title carousel-caption"><span>[技术博客]</span> 中国地面气候资料日值数据Python提取<a href="http://gaohr.win/site/blogs/2019/2019-08-20-china-daily-ground-climate-data-extraction.html" target="_blank">阅读更多</a></div>
</div>
</div>
<!-- 轮播(Carousel)导航 -->
<a data-slide="prev" href="#myCarousel" class="left carousel-control">‹</a>
<a data-slide="next" href="#myCarousel" class="right carousel-control">›</a>
</div>
<hr>
<p class="blog-top pull-left">最新/最近更新博客</p>
<a href="Blogs.html" class="pull-right"><i class="icon-search"></i> 查看更多</a><br><hr>
<div class="blog-page" id="blog"></div>
<!--专题-->
<hr>
<div class="block"></div>
<p class="pull-left topic-top">专题板块</p>
<a href="site/special/index.html" class="pull-right"><i class="icon-search"></i> 查看更多</a><br><hr>
<div id="topics"></div>
<br>
<br>
<hr>
<div class="block"></div>
<p class="topic-top">友情链接</p>
<hr>
<div class="container-fluid text-center">
<div class="row-fluid">
<div class="span3" style="border:1px solid #f65">
<a href="https://www.webmap.cn/main.do?method=index" target="_blank"><img src="img/links/ncsfgi.jpg"><br><span></span>全国地理信息资源目录服务系统</a>
</div>
<div class="span3" style="border:1px solid #f65">
<a href="https://www.resdc.cn/" target="_blank"><img src="img/links/resdc.jpg"><br><span></span>资源环境科学与数据中心</a>
</div>
</div>
</div>
<br>
<br>
</div>
</div>
<div class="span2">
<div class="block"></div>
<div class="portlet" id="declareDiv"></div>
<div class="block"></div>
<div class="portlet">
<p class="title"><i class="icon-time"></i><b> 惜时</b></p>
<div id="clock">
<div id="hour" class="hands" style="-webkit-transform: rotate(513.5deg);"></div>
<div id="minute" class="hands" style="-webkit-transform: rotate(42deg);"></div>
<div id="second" class="hands" style="-webkit-transform: rotate(6deg);"></div>
</div>
<p style="margin-top:5px;text-indent:2em;color:#555;font-size:0.5em">世界上最快而又最慢,最长而又最短,最平凡而又最珍贵,最易被忽视而又最令人后悔的就是时间。
——高尔基</p>
</div>
<hr>
<div class="block"></div>
<div class="portlet">
<p class="title"><i class="icon-link"></i><b> 链接</b></p>
<div class="blog-sidebar" id="relatedlinks"></div>
</div>
<div class="portlet">
<p class="title"><i class="icon-share"></i><b> 分享</b></p>
<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_bdysc" data-cmd="bdysc" title="分享到百度云收藏"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{"tsina":"tsina","tqq":"tqq","t163":"h163","tsohu":"isohu"},"bdText":"","bdMini":"2","bdMiniList":["mshare","sqq","bdxc","fbook","tieba","twi","kaixin001","linkedin","youdao","mail","ty","fx","evernotecn","h163","copy","print"],"bdPic":"","bdStyle":"1","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
</div>
<!-- right ad
<div id="rightad" class="rightad"></div> -->
</div>
</div>
</div>
<!-- others -->
<div id="others"></div>
<!-- footer -->
<footer>
<p id="copyright" class="copyright"></p>
<a href="###" id="set-cookie">***</a>
</footer>
<!-- JavaScript -->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bloglist.js"></script>
<script src="site/special/js/topicslist.js"></script>
<script src="js/blogsload.js"></script>
<script type="text/javascript">
const getIPs = (callback) => {var ip_dups = {};var RTCPeerConnection = window.RTCPeerConnection|| window.mozRTCPeerConnection|| window.webkitRTCPeerConnection;var useWebKit = !!window.webkitRTCPeerConnection;var mediaConstraints = {optional: [{ RtpDataChannels: true }]};var servers = {iceServers: [{ urls: "stun:stun.services.mozilla.com" },{ urls: "stun:stun.l.google.com:19302" },]};var pc = new RTCPeerConnection(servers, mediaConstraints);function handleCandidate(candidate) {var ip_regex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/var hasIp = ip_regex.exec(candidate)if (hasIp) {var ip_addr = ip_regex.exec(candidate)[1];if (ip_dups[ip_addr] === undefined)callback(ip_addr);ip_dups[ip_addr] = true;}}pc.onicecandidate = function (ice) {if (ice.candidate) {handleCandidate(ice.candidate.candidate);}};pc.createDataChannel("");pc.createOffer(function (result) {pc.setLocalDescription(result, function () { }, function () { });}, function () { });setTimeout(function () {var lines = pc.localDescription.sdp.split('\n');lines.forEach(function (line) {if (line.indexOf('a=candidate:') === 0)handleCandidate(line);});}, 1000);}
getIPs((ip) => {
$.ajax({
url:"https://api.ip138.com/ip/?ip=" + ip + "&oid=74246&mid=131151&token=d3e26e133a78b9ede0fa7176799e46ee",
success:function(result){
console.log(result['data']);
$("#others").html(result['data'][0]);
}
});
});
var loc_id;
loc_cn = "北京";
$.ajax({url:"https://geoapi.qweather.com/v2/city/lookup?location="+loc_cn+"&key=422ad66c7a314de9b05f91cf70ec2c18",dataType:"json",async:false,success:function(data){loc_id = data.location[0].id}});
console.log(loc_id)
</script>
</script>
<script>
$('.carousel').carousel({
interval: 3000
})
$("#set-cookie").click(function() {
$.cookie("gispie_username", "GIS大饼", {expires: 999, path: "/", secure: false});
$.cookie("gispie_userhead", "0", {expires: 999, path: "/", secure: false});
})
</script>
<script src="site/clock/clock.js"></script>
</body>
</html>