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

[#9165] H3HexagonLayer / Elevation of hexagons above the ground #9166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

birdofpreyru
Copy link

Closes #9165

Background

Change List

  • H3HexagonLayer: Allows to elevate hexagons above the ground.

Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @birdofpreyru Thanks for engaging and putting up a PR.

I will respond in the issue rather than here so we can discuss there.

But this is a good starting point for discussions.


* Default: `object => object.hexagon`

Method called to retrieve the [H3](https://h3geo.org/) hexagon index of each object. Note that all hexagons within one `H3HexagonLayer` must use the same [resolution](https://h3geo.org/docs/core-library/restable).
Method called to retrieve the [H3](https://h3geo.org/) hexagon index of each object. Optionally, it may return `[string, number]` tuple, where the first element is the hexagon index, and the second one is the hexagon base elevation over the ground. Note that all hexagons within one `H3HexagonLayer` must use the same [resolution](https://h3geo.org/docs/core-library/restable).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't normally support tuples. A possible option might be to have a getHexagonElevation accessor. They are likely to come from different columns in the source data anyway?

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

Successfully merging this pull request may close these issues.

[Feat] H3HexagonLayer / Allow to lift hexagons above the ground
2 participants