Searched refs:radius_meters (Results 1 – 3 of 3) sorted by relevance
| /f-stack/app/redis-5.0.5/src/ |
| H A D | geohash_helper.c | 103 int geohashBoundingBox(double longitude, double latitude, double radius_meters, in geohashBoundingBox() argument 109 bounds[1] = latitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox() 110 bounds[3] = latitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox() 126 geohashBoundingBox(longitude, latitude, radius_meters, bounds); in geohashGetAreasByRadius() 132 steps = geohashEstimateStepsByRadius(radius_meters,latitude); in geohashGetAreasByRadius() 154 < radius_meters) decrease_step = 1; in geohashGetAreasByRadius() 156 < radius_meters) decrease_step = 1; in geohashGetAreasByRadius() 158 < radius_meters) decrease_step = 1; in geohashGetAreasByRadius() 160 < radius_meters) decrease_step = 1; in geohashGetAreasByRadius() 200 double radius_meters) { in geohashGetAreasByRadiusWGS84() argument [all …]
|
| H A D | geohash_helper.h | 52 int geohashBoundingBox(double longitude, double latitude, double radius_meters, 55 double latitude, double radius_meters); 57 double radius_meters); 59 double radius_meters);
|
| H A D | geo.c | 494 double radius_meters = 0, conversion = 1; in georadiusGeneric() local 495 if ((radius_meters = extractDistanceOrReply(c, c->argv + base_args - 2, in georadiusGeneric() 561 geohashGetAreasByRadiusWGS84(xy[0], xy[1], radius_meters); in georadiusGeneric() 565 membersOfAllNeighbors(zobj, georadius, xy[0], xy[1], radius_meters, ga); in georadiusGeneric()
|