-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeohashdi-li-wei-zhi-de-wei-yi-bian-ma-suan-fa.html
76 lines (68 loc) · 4.24 KB
/
geohashdi-li-wei-zhi-de-wei-yi-bian-ma-suan-fa.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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<title>Geohash地理位置的唯一编码算法</title>
<link rel="stylesheet" href="https://sillyemperor.github.io/theme/css/main.css" />
<link href="https://sillyemperor.github.io/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="841BC Atom Feed" />
</head>
<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="https://sillyemperor.github.io/">841BC </a></h1>
<nav><ul>
<li class="active"><a href="https://sillyemperor.github.io/category/gis.html">GIS</a></li>
<li><a href="https://sillyemperor.github.io/category/java.html">Java</a></li>
<li><a href="https://sillyemperor.github.io/category/jin-rong.html">金融</a></li>
<li><a href="https://sillyemperor.github.io/category/linux.html">Linux</a></li>
<li><a href="https://sillyemperor.github.io/category/neural-network.html">Neural Network</a></li>
<li><a href="https://sillyemperor.github.io/category/nginx.html">Nginx</a></li>
<li><a href="https://sillyemperor.github.io/category/python.html">Python</a></li>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<article>
<header>
<h1 class="entry-title">
<a href="https://sillyemperor.github.io/geohashdi-li-wei-zhi-de-wei-yi-bian-ma-suan-fa.html" rel="bookmark"
title="Permalink to Geohash地理位置的唯一编码算法">Geohash地理位置的唯一编码算法</a></h1>
</header>
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2019-06-04T00:00:00+02:00">
Published: Tue 04 June 2019
</abbr>
<address class="vcard author">
By <a class="url fn" href="https://sillyemperor.github.io/author/wang-jiang.html">Wang Jiang</a>
</address>
<p>In <a href="https://sillyemperor.github.io/category/gis.html">GIS</a>.</p>
<p>tags: <a href="https://sillyemperor.github.io/tag/gis.html">GIS</a> <a href="https://sillyemperor.github.io/tag/geohash.html">Geohash</a> </p>
</footer><!-- /.post-info --> <p><a href="https://en.wikipedia.org/wiki/Geohash">Geohash</a>是一种能够让经纬度和唯一字符串相互转换的算法。例如:可以用 ‘ ezs42’代表‘-5.60302734375, 42.60498046875’。该技术具备这样一种特性,字符串的长途和小数点后的位数成正比,也就是说,字符串越长精度越高。</p>
<p>这个技术运行我们对一个位置进行带精度的比较,比如说:我们可以将一个点作为缓存的键值。</p>
</div><!-- /.entry-content -->
</article>
</section>
<section id="extras" class="body">
<div class="blogroll">
<h2>links</h2>
<ul>
<li><a href="http://getpelican.com/">Pelican</a></li>
<li><a href="http://python.org/">Python.org</a></li>
<li><a href="http://jinja.pocoo.org/">Jinja2</a></li>
<li><a href="#">You can modify those links in your config file</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="https://sillyemperor.github.io/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>
</ul>
</div><!-- /.social -->
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
</body>
</html>