Giter Club home page Giter Club logo

h3-duckdb's Introduction

tests DuckDB Version H3 Version License

To build, type

make duckdb_release release

To run, run the bundled duckdb shell:

./duckdb/build/release/duckdb 

Then, load the H3 extension like so:

LOAD 'build/release/h3.duckdb_extension';

Test running an H3 function:

SELECT h3_cell_to_parent(cast(586265647244115967 as ubigint), 1);

Implemented functions

  • h3_latlng_to_cell
  • h3_cell_to_lat
  • h3_cell_to_lng
  • h3_get_resolution
  • h3_get_base_cell_number
  • h3_string_to_h3
  • h3_h3_to_string
  • h3_is_valid_cell
  • h3_is_res_class_iii
  • h3_is_pentagon
  • h3_cell_to_parent
  • h3_cell_to_center_child

Development

For a greatly sped up build (enables parallelism), run:

CMAKE_BUILD_PARALLEL_LEVEL=4 make duckdb_release release

To update the submodules to latest upstream, run:

make update_deps

To run tests:

make test

License

h3-duckdb Copyright 2022 Isaac Brodsky. Licensed under the Apache 2.0 License.

H3 Copyright 2018 Uber Technologies Inc. (Apache 2.0 License)

DGGRID Copyright (c) 2015 Southern Oregon University

DuckDB Copyright 2018-2022 Stichting DuckDB Foundation (MIT License)

Build system adapted from sqlitescanner Copyright 2018-2022 DuckDB Labs BV (MIT License)

h3-duckdb's People

Contributors

isaacbrodsky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.