|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.spatial.geohash.GeoHashUtils
@Deprecated public class GeoHashUtils
Utilities for encoding and decoding geohashes. Based on http://en.wikipedia.org/wiki/Geohash.
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String encode(double latitude,
double longitude)
latitude - Latitude to encodelongitude - Longitude to encode
public static double[] decode(String geohash)
geohash - Geohash to deocde
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||