kungfoo / geohash-java

Implementation of GeoHashes in java. We try to be/stay compliant to the spec, as far as possible.
Other
982 stars 310 forks source link

I need a function #4

Closed hunterlee closed 13 years ago

hunterlee commented 13 years ago

would you like to provide a function that convert a 'bits' and 'signifciantbits' to a GeoHash ? for example:

public static GeoHash fromGeoHashBits(long bits, byte significantBits);

kungfoo commented 13 years ago

Will add that soon! Cheers.

ktcorby commented 13 years ago

Hello hunterlee,

I've created a fork that contains a similar method to the one your are requesting. You may want to check it out.

kungfoo commented 13 years ago

Thanks Kevin, I'll check it out and merge!

kungfoo commented 13 years ago

I merged Kevins code. Check out whether it does what you wanted.

hunterlee commented 13 years ago

That is exactly what I want ! Kevin and kungfoo, thanks for your support !

kungfoo commented 13 years ago

That's great!