org.apache.lucene.spatial.geohash
Class GeoHashUtils
java.lang.Object
org.apache.lucene.spatial.geohash.GeoHashUtils
public class GeoHashUtils
- extends Object
Based on http://en.wikipedia.org/wiki/Geohash
NOTE: This API is still in
flux and might change in incompatible ways in the next
release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoHashUtils
public GeoHashUtils()
main
public static void main(String[] args)
encode
public static String encode(double latitude,
double longitude)
decode
public static double[] decode(String geohash)
decode_exactly
public static double[] decode_exactly(String geohash)
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.