Searched refs:area (Results 1 – 4 of 4) sorted by relevance
| /redis-3.2.3/deps/geohash-int/ |
| H A D | geohash.c | 171 area->hash = hash; in geohashDecode() 184 area->latitude.min = in geohashDecode() 186 area->latitude.max = in geohashDecode() 188 area->longitude.min = in geohashDecode() 190 area->longitude.max = in geohashDecode() 199 return geohashDecode(r[0], r[1], hash, area); in geohashDecodeType() 203 return geohashDecodeType(hash, area); in geohashDecodeWGS84() 208 xy[0] = (area->longitude.min + area->longitude.max) / 2; in geohashDecodeAreaToLongLat() 209 xy[1] = (area->latitude.min + area->latitude.max) / 2; in geohashDecodeAreaToLongLat() 214 GeoHashArea area = { { 0 } }; in geohashDecodeToLongLatType() local [all …]
|
| H A D | geohash_helper.c | 122 GeoHashArea area; in geohashGetAreasByRadius() local 138 geohashDecode(long_range,lat_range,hash,&area); in geohashGetAreasByRadius() 168 geohashDecode(long_range,lat_range,hash,&area); in geohashGetAreasByRadius() 172 if (area.latitude.min < min_lat) { in geohashGetAreasByRadius() 177 if (area.latitude.max > max_lat) { in geohashGetAreasByRadius() 182 if (area.longitude.min < min_lon) { in geohashGetAreasByRadius() 187 if (area.longitude.max > max_lon) { in geohashGetAreasByRadius() 194 radius.area = area; in geohashGetAreasByRadius()
|
| H A D | geohash.h | 106 const GeoHashBits hash, GeoHashArea *area); 107 int geohashDecodeType(const GeoHashBits hash, GeoHashArea *area); 108 int geohashDecodeWGS84(const GeoHashBits hash, GeoHashArea *area); 109 int geohashDecodeAreaToLongLat(const GeoHashArea *area, double *xy);
|
| H A D | geohash_helper.h | 47 GeoHashArea area; member
|