geohash-java
geohash-java copied to clipboard
Implementation of GeoHashes in java. We try to be/stay compliant to the spec, as far as possible.
Sometimes `VincentyGeodesy.distanceInMeters` produces `NaN` for pretty valid input points. There are examples (not a complete list!) of arguments for `distanceInMeters` below that result it to generate `NaN`: ``` foo=(0.0,0.0), bar=(0.0,-180.0)...
changed containslatitude and containslongitude to >/< instead of =
this probably happens because containslongtitude uses = instead of .
Hi! Just wondering if this library is able to form a list of geohashes of some precision (precision as a parameter as well as corners coordinates) which are within 2...
I have a datasource that uses geohashes encoded with Base16 and I'm trying to figure out how to use your library with that data. I have tried to decode using...
It would be a nice touch to be able to initialize the hash based on a bounding box precision measurement, which will just wrap the bit precision call (e.g `withSizePrecision(GeoHash.PRECISION_1KM)`...
Where can I find instructions on how to use it? I'm completely lost.
Example (all results in meters are converted into kilometers for convenience): ``` VincentyGeodesy.distanceInMeters(new WGS84Point(90, 0), new WGS84Point(89, 0)) / 1000.0 results to 19892.237593638412 ``` whereas ``` VincentyGeodesy.distanceInMeters(new WGS84Point(-90, 0), new...