uber / h3

Hexagonal hierarchical geospatial indexing system

Home Page:https://h3geo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in testCellsToLinkedMultiPolygon/gridDiskResolutions?

grim7reaper opened this issue · comments

Since the test use a 2-disks, I think that numHexes should be 19 (instead of 7), and thus countLinkedCoords would be 30.

Or am I misunderstanding something?

That... is completely correct. We were only taking the first 7 cells in the gridDisk output, which only represent the 1-disk, not the 2-disk. So the test was still working, but we weren't actually testing the full 2-disk. Thanks for the report!