Skip to content
Discussion options

You must be logged in to vote

The overlap is not resolved as “both” or by a timezone rule. The docs explicitly note that the upstream boundary data can contain overlapping polygons and that timezonefinder does not support returning multiple matches; it returns one match.

In the current implementation, the result comes from the precomputed H3 shortcut plus the ordered candidate polygon list. timezone_at() checks candidate polygons and returns the first matching zone it reaches, with a shortcut fast path for cells that are precomputed as unique. So Asia/Thimphu for that coordinate is an artifact of the packaged data/order/index, not a statement that the other overlapping polygon is invalid.

If you need to reason about o…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jannikmi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants