tile38 地理定位数据存储 tile38

polaris • 3892 次点击    
这是一个分享于 的项目,其中的信息可能已经有所发展或是发生改变。
Tile38是一个开源(MIT许可),内存地理定位数据存储,空间索引,实时地理围栏的软件。它支持各种对象类型比如纬度/经度,边镜框,XYZ tiles, Geohashes和GeoJSON。 特性: * Spatial index with [search](https://github.com/tidwall/tile38#searching) methods such as Nearby, Within, and Intersects. * Realtime [geofencing](https://github.com/tidwall/tile38#geofencing). * Variety of client protocols, including [http](https://github.com/tidwall/tile38#http) (curl), [websockets](https://github.com/tidwall/tile38#websockets), [telnet](https://github.com/tidwall/tile38#telnet), and a [native interface](https://github.com/tidwall/tile38#native-interface). * Object types of [lat/lon](https://github.com/tidwall/tile38#latlon-point), [bbox](https://github.com/tidwall/tile38#bounding-box), [Geohash](https://github.com/tidwall/tile38#geohash), [GeoJSON](https://github.com/tidwall/tile38#geojson), [QuadKey](https://github.com/tidwall/tile38#quadkey), and [XYZ tile](https://github.com/tidwall/tile38#xyz-tile). * Server responses are in json. * Full [command line interface](https://github.com/tidwall/tile38#cli). * Leader / follower [replication](https://github.com/tidwall/tile38#replication). * In-memory database that persists on disk. * Simliar feel and syntax style to the fantastic [Redis](http://redis.io) api. 组件: * `tile38-server` - The server * `tile38-cli` - Command line interface tool 运行tile38 基本操作 <pre class="brush:cpp ;toolbar: true; auto-links: false;">$ ./tile38-cli # add a couple of points named &#39;truck1&#39; and &#39;truck2&#39; to a collection named &#39;fleet&#39;. &gt; set fleet truck1 point 33.5123 -112.2693   # on the Loop 101 in Phoenix &gt; set fleet truck2 point 33.4626 -112.1695   # on the I-10 in Phoenix # search the &#39;fleet&#39; collection. &gt; scan fleet                                 # returns both trucks in &#39;fleet&#39; &gt; nearby fleet point 33.462 -112.268 6000    # search 6 kilometers around a point. returns one truck. # crud operations &gt; get fleet truck1                           # returns &#39;truck1&#39; &gt; del fleet truck2                           # deletes &#39;truck2&#39; &gt; drop fleet                                 # removes all</pre>
授权协议:
MIT
开发语言:
Google Go 查看源码»
操作系统:
跨平台
3892 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传