anovis / proximity_hash

Proximity Hash generates a set of geohashes that cover a circular area, given the center coordinates and the radius.

Home Page:https://pub.dev/packages/proximity_hash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

createGeohashes returns duplicate geohashes

yulkin2002 opened this issue · comments

tried createGeohashes(43.649093099999995, -79.42056769999999, 4000, 5);

result: [dpz83, dpz82, dpz83, dpz2r, dpz89, dpz81, dpz88, dpz80, dpz89, dpz81, dpz2x, dpz2p]

three of these are duplicates, is this intended?
dpz83,dpz89,dpz81

thanks for reporting @yulkin2002 . this is not intended so will investigate and provide a fix.

was able to fix the bug @yulkin2002 . please try version 1.1.0 for the fix

@anovis thank you for a quick fix, it works now. Also, thank you for creating and publishing this package, it is very useful!