ion-elgreco / polars-hash

Polars plugin for stable hashing functionality
MIT License
51 stars 4 forks source link

Base 16 Geohash Support #9

Open ThomasMAhern opened 7 months ago

ThomasMAhern commented 7 months ago

Would it be possible to add base 16 (0123456789abcdef) geohash support to the library (the default looks to be base 32). I think the old library supported specifying the base geohash.neighbors(' ', 16), but didn't think of it until now.

ion-elgreco commented 7 months ago

I can check but I'm quite swamped at the moment

ThomasMAhern commented 5 months ago

I'm running into things again where my workaround isn't ideal. I tried looking into trying it myself but I'm at a loss of what to do/which pieces connect.

ion-elgreco commented 5 months ago

@ThomasMAhern you just need to expose another expression that is the base 16 variant. And then on the python side, you can have param for the base