Skip to content

🔺 🔹 Find all the geohashes in a polygon. Implemented in Java

Notifications You must be signed in to change notification settings

jaredkoontz/GeoHashesInPolygon

Repository files navigation

GeohashesInPolygon

A java implementation to find the geohashes inside of the polygon. Used in my GeoLens Project project to decide the GeoHash tiles to display. Many classes have been reduced to improve readability and to inspire usability.

This project is inspired from: https://github.com/derrickpelletier/geohash-poly

However, it uses a home-brewed method to find the resolution of the geohashes to display. This method is called the longest enclosing hash. In this algorithm, we find the smallest geohash tile that would fully enclose the geohash. More information about this can be found in our publications