uber/h3

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

Aberta

#240 aberto em 28 de mai. de 2019

 (2 comentários) (4 reações) (0 responsável)C (585 forks)github user discovery
documentationgood first issue

Métricas do repositório

Stars
 (6.310 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d 19h) (17 fundiu PRs em 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.

Guia do colaborador