Joseph Chotard
Results
2
comments of
Joseph Chotard
@quinten-goens I ended up creating my own version https://github.com/JosephChotard/h3spark as there were a couple projects I needed to upgrade to 4.x Sharing in case it's useful :)
Here's the python code snippet instead of my pseudocode ``` import itertools import h3.api.numpy_int as h3 ... tiled = h3.h3shape_to_cells(shape, max_resolution).tolist() compacted = h3.compact_cells(tiled) compacted_min_resolution = list(itertools.chain.from_iterable( [h3.cell_to_children(cell, min_resolution) if...