C# Class Rubber.Common.GeoHashUtils

Shamelessly stolen from Lucene.Net.Spatial.GeoHash :D
Afficher le fichier Open project: stephenpope/Rubber

Méthodes publiques

Méthode Description
Decode ( String geohash ) : double[]
DecodeExactly ( String geohash ) : double[]
Encode ( double latitude, double longitude ) : String
GetPrecision ( double x, double precision ) : double

Private Methods

Méthode Description
GeoHashUtils ( ) : System

Method Details

Decode() public static méthode

public static Decode ( String geohash ) : double[]
geohash String
Résultat double[]

DecodeExactly() public static méthode

public static DecodeExactly ( String geohash ) : double[]
geohash String
Résultat double[]

Encode() public static méthode

public static Encode ( double latitude, double longitude ) : String
latitude double
longitude double
Résultat String

GetPrecision() public static méthode

public static GetPrecision ( double x, double precision ) : double
x double
precision double
Résultat double