pocketken.H3 3.7.1.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package pocketken.H3 --version 3.7.1.3                
NuGet\Install-Package pocketken.H3 -Version 3.7.1.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="pocketken.H3" Version="3.7.1.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add pocketken.H3 --version 3.7.1.3                
#r "nuget: pocketken.H3, 3.7.1.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install pocketken.H3 as a Cake Addin
#addin nuget:?package=pocketken.H3&version=3.7.1.3

// Install pocketken.H3 as a Cake Tool
#tool nuget:?package=pocketken.H3&version=3.7.1.3                

H3.net: A port of Uber's Hexagonal Hierarchical Geospatial Indexing System to C#

This is a port of Uber's H3 library to C#, with additional functionality to support NetTopologySuite geometries. It is based on release 3.7.1 of the library.

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.

Upstream documentation is available at https://h3geo.org/. Documentation for this port of the library is unfortunately currently limited to documentation in the source and examples via unit tests.

Work in Progress!

This is a work in progress and likely contains some silly bugs and poorly performing or just plain confusing implementation choices. I have tried to make the library work and feel more "C# like" using operators, extension methods, enumerables vs. arrays and so on, but some things may be implemented more or less as straight ports of the upstream library. Other than the obvious difference in some method names and whatnot, the biggest difference vs. the upstream library is the reliance on NTS for geometries (e.g. cell boundary polygons) and algorithms such as polyfill instead of in-library classes such as the GeoBoundary and vertex graph stuff.

While the majority of the core H3 API should be here in one form or another, there's still gaps particularly in terms of documentation and tests to validate behaviour vs. upstream. My focus so far has been on getting the algorithm side of things (such as k-rings, polyfill and so on) working and tested as I needed those features for the project(s) I am working on, however given that the majority of those methods depend on the basics of the library working, test coverage is "ok". I also make use of the PostgreSQL bindings in my work, so I tend to validate results with that as well.

PRs to improve code, tests and documentation are definitely welcome, although please keep in mind I am quite busy these days and may be a bit slow to respond. Sorry in advance!

Installing

Available on nuget.org as pocketken.H3.

PM> Install-Package pocketken.H3 -Version 3.7.1.3

See CHANGES.md for a list of changes between releases.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on pocketken.H3:

Package Downloads
Deploy.LaunchPad.Core

Shared code for LaunchPad framework.

Florence

Package Description

Florence.Notebooks

Package Description

Eutopia

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 99,897 8/31/2022
3.7.2.1 26,644 12/16/2021
3.7.2 7,810 7/19/2021
3.7.1.3 681 4/22/2021
3.7.1.2 420 3/26/2021
3.7.1.1 386 3/24/2021