Apache License 2.0

项目介绍

uber/h3 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 Apache License 2.0 许可证,目前获得 6.7k 个 Star、658 次 Fork。

仓库全名
uber/h3
开源许可证
Apache License 2.0
Star 数
6.7k
Fork 数
658
未关闭 Issue
190

README 摘要

H3: A Hexagonal Hierarchical Geospatial Indexing System H3 is a geospatial indexing system using a hexagonal grid that can be (approximately) subdivided into finer and finer hexagonal grids, combining the benefits of a hexagonal grid with S2's hierarchical subdivisions. Documentation is available at https://h3geo.org/. Developer documentation in Markdown format is available under the dev-docs directory. Post bug…

完整内容见 GitHub 原始 README 或本页 。

常见问题

h3 用什么语言开发?

主要使用 C 编写,采用 Apache License 2.0 许可证,目前有 6.7k 个 Star。

h3 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 h3 的源码?

可以直接克隆仓库:git clone https://github.com/uber/h3.git,默认分支为 master;安装与运行步骤见仓库 README。

h3 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 190 个未关闭 Issue;Star 数为 6.7k,可作为社区活跃度的参考。

简要分析

热度分
9005
价值分
4311
活跃状态
活跃

语言占比

C
CMake
CSS
JavaScript
MDX
PowerShell
Shell
TypeScript

Release

README

H3 Logo

H3: A Hexagonal Hierarchical Geospatial Indexing System

test-linux test-macos test-windows test-website Coverage Status License

H3 is a geospatial indexing system using a hexagonal grid that can be (approximately) subdivided into finer and finer hexagonal grids, combining the benefits of a hexagonal grid with S2’s hierarchical subdivisions.

Documentation is available at https://h3geo.org/. Developer documentation in Markdown format is available under the dev-docs directory.

Installing

We recommend using prebuilt bindings if they are available for your programming language. Bindings for Java, JavaScript, Python, and others are available.

On macOS, you can install H3 using brew:

brew install h3

Otherwise, to build H3 from source, please see the following instructions.

Building from source

Still here? To build the H3 C library, you’ll need a C compiler (tested with gcc and clang), CMake, and Make. If you intend to contribute to H3, you must have clang-format installed and we recommend installing ccmake and LCOV to configure the cmake arguments to build and run the tests and generate the code coverage report. We also recommend using gcc for the code coverage as some versions of clang generate annotations that aren’t compatible with lcov. Doxygen is needed to build the API documentation.

Install build-time dependencies
  • Alpine
# Installing the bare build requirements
apk add cmake make gcc libtool musl-dev
  • Debian/Ubuntu
# Installing the bare build requirements
sudo apt install cmake make gcc libtool
# Installing useful tools for development
sudo apt install clang-format cmake-curses-gui lcov doxygen
  • macOS (using brew)

First make sure you have the developer tools installed and then

# Installing the bare build requirements
brew install cmake
# Installing useful tools for development
brew install clang-format lcov doxygen
  • Windows (Visual Studio)

You will need to install CMake and Visual Studio, including the Visual C++ compiler. For building on Windows, please follow the Windows build instructions.

  • FreeBSD
# Installing the build requirements
sudo pkg install bash cmake gmake doxygen lcov
Compilation

When checking out the H3 Git repository, by default you will check out the latest development version of H3. When using H3 in an application, you will want to check out the most recently released version:

git checkout v$(

评论

暂无评论