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