uber/h3

Calculate and include more size/area/distortion stats per resolution

Open

#240 opened on May 28, 2019

 (2 comments) (4 reactions) (0 assignees)C (585 forks)github user discovery
documentationgood first issue

Repository metrics

Stars
 (6,310 stars)
PR merge metrics
 (Avg merge 7d 19h) (17 merged PRs in 30d)

Description

When building algorithms using H3, consumers may need to satisfy specific constraints, e.g. "buffer within X meters of a given point". Our existing edgeLength and hexArea stats are averages, which is insufficient to determine whether a given resolution or buffer size will satisfy the requirement.

I think it would be worthwhile to calculate and publish (either in the library or in the docs) the following stats for each res:

  • min, max, mean, and stddev for
  • edgeLength, area, and possibly minDiameter (perpendicular edge-edge) and maxDiameter (vertex-vertex)
  • both with and without pentagons

It might not be worthwhile to include all of this in the lib, but publishing it would allow others to use it in their code if needed.

Contributor guide