Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completely cover a polygon with H3 cells using H3 extension for PostGIS #842

Open
sampeters1 opened this issue May 22, 2024 · 2 comments
Open

Comments

@sampeters1
Copy link

Using the H3 extension for PostGIS I want to fully cover a polygon with H3 cells, meaning all H3 cells should intersect with the given polygon. The h3_polygon_to_cells function only fills my polygon with hexagon that are contained by the cell's centroids, while the h3_coverage function (explained here) seems exactly what I am looking for. However, this function doesn't seem to be available in the H3 extension for PostGIS.

Any advice?

@jmealo
Copy link

jmealo commented Oct 10, 2024

https://github.com/uber/h3/pull/923/files
^^ This PR seems like it implements some functionality related to this request?

@jmealo
Copy link

jmealo commented Oct 11, 2024

@sampeters1 zachasme/h3-pg#158 (comment)

I'm not sure if this works for you? If so, I think we can close this ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants