uber/h3

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

Aperta

#240 aperta il 28 mag 2019

 (2 commenti) (4 reazioni) (0 assegnatari)C (585 fork)github user discovery
documentationgood first issue

Metriche repository

Star
 (6310 stelle)
Metriche merge PR
 (Merge medio 7g 19h) (17 PR mergiate in 30 g)

Descrizione

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.

Guida contributor