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

H3_POLYFILL returns empty list at some H3 resolutions for the same geometry (Postgres) #508

Open
bkanuka opened this issue May 11, 2024 · 0 comments

Comments

@bkanuka
Copy link

bkanuka commented May 11, 2024

I have a come across a couple times when H3_POLYFILL does not produce results. For example:

SELECT carto.H3_POLYFILL(ST_Transform(ST_TileEnvelope(1, 0, 0), 4326), 2, 'center');  -- empty

however, the same geometry works with different H3 resolutions. For example, these 2 produce valid results:

SELECT carto.H3_POLYFILL(ST_Transform(ST_TileEnvelope(1, 0, 0), 4326), 1, 'center'); -- valid
SELECT carto.H3_POLYFILL(ST_Transform(ST_TileEnvelope(1, 0, 0), 4326), 3, 'center'); -- valid
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

1 participant