@Deprecated public class GeoHashUtils extends Object
Modifier and Type | Method and Description |
---|---|
static double[] |
decode(String geohash)
Deprecated.
Decodes the given geohash into a latitude and longitude
|
static String |
encode(double latitude,
double longitude)
Deprecated.
Encodes the given latitude and longitude into a geohash
|
public static String encode(double latitude, double longitude)
latitude
- Latitude to encodelongitude
- Longitude to encodepublic static double[] decode(String geohash)
geohash
- Geohash to deocdeCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.