C# Класс SensorbergSDK.NGeoHash.GeoHash

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Base32CodesDict int>.Dictionary

Открытые методы

Метод Описание
Bboxes ( double minLat, double minLon, double maxLat, double maxLon, int numberOfChars = 9 ) : string[]
BboxesInt ( double minLat, double minLon, double maxLat, double maxLon, int bitDepth = 52 ) : long[]
Decode ( string hashString ) : GeohashDecodeResult
DecodeBbox ( string hashString ) : double[]
DecodeBboxInt ( long hashInt, int bitDepth = 52 ) : double[]
DecodeInt ( long hashInt, int bitDepth = 52 ) : GeohashDecodeResult
Encode ( double latitude, double longitude, int numberOfChars = 9 ) : string
EncodeInt ( double latitude, double longitude, int bitDepth = 52 ) : long
EncodeNeighbor ( int hashstringLength, int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords ) : string
EncodeNeighborInt ( int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords, int bitDepth ) : long
Neighbor ( string hashString, int direction ) : string
NeighborInt ( long hashInt, int direction, int bitDepth = 52 ) : long
Neighbors ( string hashString ) : string[]
NeighborsInt ( long hashInt, int bitDepth = 52 ) : long[]
get_bit ( long bits, int position ) : long

Приватные методы

Метод Описание
GeoHash ( ) : System

Описание методов

Bboxes() публичный статический Метод

public static Bboxes ( double minLat, double minLon, double maxLat, double maxLon, int numberOfChars = 9 ) : string[]
minLat double
minLon double
maxLat double
maxLon double
numberOfChars int
Результат string[]

BboxesInt() публичный статический Метод

public static BboxesInt ( double minLat, double minLon, double maxLat, double maxLon, int bitDepth = 52 ) : long[]
minLat double
minLon double
maxLat double
maxLon double
bitDepth int
Результат long[]

Decode() публичный статический Метод

public static Decode ( string hashString ) : GeohashDecodeResult
hashString string
Результат GeohashDecodeResult

DecodeBbox() публичный статический Метод

public static DecodeBbox ( string hashString ) : double[]
hashString string
Результат double[]

DecodeBboxInt() публичный статический Метод

public static DecodeBboxInt ( long hashInt, int bitDepth = 52 ) : double[]
hashInt long
bitDepth int
Результат double[]

DecodeInt() публичный статический Метод

public static DecodeInt ( long hashInt, int bitDepth = 52 ) : GeohashDecodeResult
hashInt long
bitDepth int
Результат GeohashDecodeResult

Encode() публичный статический Метод

public static Encode ( double latitude, double longitude, int numberOfChars = 9 ) : string
latitude double
longitude double
numberOfChars int
Результат string

EncodeInt() публичный статический Метод

public static EncodeInt ( double latitude, double longitude, int bitDepth = 52 ) : long
latitude double
longitude double
bitDepth int
Результат long

EncodeNeighbor() публичный статический Метод

public static EncodeNeighbor ( int hashstringLength, int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords ) : string
hashstringLength int
neighborLatDir int
neighborLonDir int
coords GeohashDecodeResult
Результат string

EncodeNeighborInt() публичный статический Метод

public static EncodeNeighborInt ( int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords, int bitDepth ) : long
neighborLatDir int
neighborLonDir int
coords GeohashDecodeResult
bitDepth int
Результат long

Neighbor() публичный статический Метод

public static Neighbor ( string hashString, int direction ) : string
hashString string
direction int
Результат string

NeighborInt() публичный статический Метод

public static NeighborInt ( long hashInt, int direction, int bitDepth = 52 ) : long
hashInt long
direction int
bitDepth int
Результат long

Neighbors() публичный статический Метод

public static Neighbors ( string hashString ) : string[]
hashString string
Результат string[]

NeighborsInt() публичный статический Метод

public static NeighborsInt ( long hashInt, int bitDepth = 52 ) : long[]
hashInt long
bitDepth int
Результат long[]

get_bit() публичный статический Метод

public static get_bit ( long bits, int position ) : long
bits long
position int
Результат long

Описание свойств

Base32CodesDict публичное статическое свойство

public static Dictionary Base32CodesDict
Результат int>.Dictionary