Method | Description | |
---|---|---|
Decode ( String geohash, |
||
DecodeBoundary ( String geohash, |
||
EncodeLatLon ( double latitude, double longitude ) : String |
Encodes the given latitude and longitude into a geohash
|
|
EncodeLatLon ( double latitude, double longitude, int precision ) : String | ||
GetSubGeohashes ( String baseGeohash ) : String[] | ||
LookupDegreesSizeForHashLen ( int hashLen ) : double[] | ||
LookupHashLenForWidthHeight ( double lonErr, double latErr ) : int |
Return the shortest geohash length that will have a width & height >= specified arguments.
|
Method | Description | |
---|---|---|
GeohashUtils ( ) : System |
public static Decode ( String geohash, |
||
geohash | String | |
ctx | ||
return | System.Point |
public static DecodeBoundary ( String geohash, |
||
geohash | String | |
ctx | ||
return | Rectangle |
public static EncodeLatLon ( double latitude, double longitude ) : String | ||
latitude | double | Latitude to encode |
longitude | double | Longitude to encode |
return | String |
public static EncodeLatLon ( double latitude, double longitude, int precision ) : String | ||
latitude | double | |
longitude | double | |
precision | int | |
return | String |
public static GetSubGeohashes ( String baseGeohash ) : String[] | ||
baseGeohash | String | |
return | String[] |
public static LookupDegreesSizeForHashLen ( int hashLen ) : double[] | ||
hashLen | int | |
return | double[] |
public static LookupHashLenForWidthHeight ( double lonErr, double latErr ) : int | ||
lonErr | double | |
latErr | double | |
return | int |