uber/h3

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

Ouverte

#240 ouverte le 28 mai 2019

 (2 commentaires) (4 réactions) (0 personne assignée)C (585 forks)github user discovery
documentationgood first issue

Métriques du dépôt

Stars
 (6 310 étoiles)
Métriques de merge PR
 (Merge moyen 7j 19h) (17 PRs mergées en 30 j)

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.

Guide contributeur