Skip to content

Commit

Permalink
bump h3lib to v4.1.0 (#402)
Browse files Browse the repository at this point in the history
* bump h3lib to v4.1.0

* passing tests
  • Loading branch information
ajfriend authored Sep 27, 2024
1 parent 919aad8 commit 7cea748
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'scikit_build_core.build'

[project]
name = 'h3'
version = '4.0.0b7'
version = '4.1.0b1'
description = "Uber's hierarchical hexagonal geospatial indexing system"
readme = 'readme.md'
license = {file = 'LICENSE'}
Expand Down
4 changes: 4 additions & 0 deletions src/h3/_cy/latlng.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ def polygon_to_cells(outer, int res, holes=None):
uint64_t n

check_res(res)

if not outer:
return H3MemoryManager(0).to_mv()

gp = GeoPolygon(outer, holes=holes)

check_for_error(
Expand Down
2 changes: 1 addition & 1 deletion src/h3lib
Submodule h3lib updated 89 files
+3 −4 .github/workflows/test-fuzzer.yml
+69 −9 .github/workflows/test-linux.yml
+7 −3 .github/workflows/test-macos.yml
+1 −1 .github/workflows/test-windows.yml
+61 −0 CHANGELOG.md
+45 −16 CMakeLists.txt
+3 −0 CMakeTests.cmake
+3 −2 CONTRIBUTING.md
+1 −1 README.md
+1 −1 VERSION
+0 −16 cmake/toolchain.cmake
+1 −1 examples/CMakeLists.txt
+11 −4 src/apps/applib/include/aflHarness.h
+23 −3 src/apps/fuzzers/README.md
+45 −0 src/apps/fuzzers/fuzzerCellToChildPos.c
+21 −4 src/apps/fuzzers/fuzzerGridDisk.c
+15 −9 src/apps/fuzzers/fuzzerHierarchy.c
+57 −0 src/apps/fuzzers/fuzzerInternalAlgos.c
+53 −0 src/apps/fuzzers/fuzzerInternalCoordIjk.c
+18 −0 src/apps/miscapps/README.md
+20 −0 src/apps/testapps/testBBox.c
+60 −0 src/apps/testapps/testCellToBoundaryEdgeCases.c
+143 −0 src/apps/testapps/testCellToChildPos.c
+67 −0 src/apps/testapps/testCellToLocalIj.c
+3 −3 src/apps/testapps/testCellToLocalIjExhaustive.c
+76 −0 src/apps/testapps/testCellsToLinkedMultiPolygon.c
+75 −0 src/apps/testapps/testCompactCells.c
+2 −2 src/apps/testapps/testCoordIj.c
+42 −0 src/apps/testapps/testCoordIjk.c
+28 −0 src/apps/testapps/testDirectedEdge.c
+59 −2 src/apps/testapps/testGridDisk.c
+12 −0 src/apps/testapps/testGridPathCells.c
+8 −9 src/apps/testapps/testH3Api.c
+1 −1 src/apps/testapps/testH3CellArea.c
+109 −0 src/apps/testapps/testMathExtensions.c
+10 −0 src/apps/testapps/testPentagonIndexes.c
+9 −27 src/apps/testapps/testPolygon.c
+31 −16 src/apps/testapps/testPolygonToCells.c
+6 −4 src/apps/testapps/testVec2d.c
+15 −2 src/apps/testapps/testVertex.c
+5 −5 src/h3lib/include/alloc.h
+5 −2 src/h3lib/include/coordijk.h
+125 −0 src/h3lib/include/h3Assert.h
+20 −0 src/h3lib/include/h3api.h.in
+1 −6 src/h3lib/include/linkedGeo.h
+9 −1 src/h3lib/include/mathExtensions.h
+1 −1 src/h3lib/include/vec2d.h
+47 −24 src/h3lib/lib/algos.c
+9 −1 src/h3lib/lib/bbox.c
+155 −6 src/h3lib/lib/coordijk.c
+16 −1 src/h3lib/lib/directedEdge.c
+2 −2 src/h3lib/lib/faceijk.c
+32 −0 src/h3lib/lib/h3Assert.c
+234 −73 src/h3lib/lib/h3Index.c
+3 −3 src/h3lib/lib/latLng.c
+5 −5 src/h3lib/lib/linkedGeo.c
+30 −25 src/h3lib/lib/localij.c
+7 −6 src/h3lib/lib/vec2d.c
+14 −5 src/h3lib/lib/vertex.c
+44,512 −44,508 tests/inputfiles/rand05cells.txt
+240 −240 tests/inputfiles/res01cells.txt
+7,884 −1,692 tests/inputfiles/res03cells.txt
+2 −2 website/docs/api/directededge.mdx
+119 −8 website/docs/api/hierarchy.mdx
+1 −1 website/docs/api/misc.mdx
+16 −16 website/docs/api/regions.mdx
+2 −2 website/docs/api/vertex.mdx
+12 −2 website/docs/community/bindings.md
+1 −1 website/docs/core-library/cellToBoundaryDesc.md
+2 −2 website/docs/core-library/compilation-options.md
+25 −17 website/docs/core-library/testing.md
+4 −4 website/docs/installation.mdx
+13 −50 website/docs/library/index/cell.md
+78 −0 website/docs/library/index/directededge.md
+95 −0 website/docs/library/index/h3indexing.md
+78 −0 website/docs/library/index/vertex.md
+2 −2 website/docs/library/migrating-3.x.md
+1 −1 website/docs/library/migration-3.x/functions.md
+23 −1 website/docs/library/restable.md
+2 −1 website/docusaurus.config.js
+9 −10 website/package.json
+10 −1 website/sidebars.js
+55 −66 website/src/theme/Playground/index.js
+16 −15 website/src/theme/Playground/styles.module.css
+ website/static/images/cell_mode.png
+ website/static/images/edge_mode.png
+ website/static/images/vertex_mode.png
+1 −1 website/versioned_docs/version-3.x/core-library/h3ToGeoBoundaryDesc.md
+2,999 −4,447 website/yarn.lock

0 comments on commit 7cea748

Please sign in to comment.