Open ghirardinicola opened 1 year ago
@ghirardinicola This is a great idea. Do you want to contribute this to Sedona?
Yes! Can you give me some direction on where to start? Do you think using another lib is fine or rewriting the algorithm on top of what is there (don't know which geohash lib is used) it's a better solution?
@ghirardinicola
Sedona implements the GeoHash from scratch. But you can take the Neighbor function from ElasticSearch and integrates it with the existing GeoHash function in Sedona since they both are in Apache License.
I'm proposing a new feature to get the adjacent gh of a given one. It's already implemented in many libs, starting from getAdjacent