| /f-stack/app/redis-5.0.5/src/ |
| H A D | geohash_helper.c | 126 geohashBoundingBox(longitude, latitude, radius_meters, bounds); in geohashGetAreasByRadius() 135 geohashEncode(&long_range,&lat_range,longitude,latitude,steps,&hash); in geohashGetAreasByRadius() 153 if (geohashGetDistance(longitude,latitude,longitude,north.latitude.max) in geohashGetAreasByRadius() 155 if (geohashGetDistance(longitude,latitude,longitude,south.latitude.min) in geohashGetAreasByRadius() 157 if (geohashGetDistance(longitude,latitude,east.longitude.max,latitude) in geohashGetAreasByRadius() 159 if (geohashGetDistance(longitude,latitude,west.longitude.min,latitude) in geohashGetAreasByRadius() 165 geohashEncode(&long_range,&lat_range,longitude,latitude,steps,&hash); in geohashGetAreasByRadius() 182 if (area.longitude.min < min_lon) { in geohashGetAreasByRadius() 187 if (area.longitude.max > max_lon) { in geohashGetAreasByRadius() 199 GeoHashRadius geohashGetAreasByRadiusWGS84(double longitude, double latitude, in geohashGetAreasByRadiusWGS84() argument [all …]
|
| H A D | geohash.c | 122 double longitude, double latitude, uint8_t step, in geohashEncode() argument 130 if (longitude > GEO_LONG_MAX || longitude < GEO_LONG_MIN || in geohashEncode() 137 longitude < long_range->min || longitude > long_range->max) { in geohashEncode() 144 (longitude - long_range->min) / (long_range->max - long_range->min); in geohashEncode() 153 int geohashEncodeType(double longitude, double latitude, uint8_t step, GeoHashBits *hash) { in geohashEncodeType() argument 156 return geohashEncode(&r[0], &r[1], longitude, latitude, step, hash); in geohashEncodeType() 159 int geohashEncodeWGS84(double longitude, double latitude, uint8_t step, in geohashEncodeWGS84() argument 161 return geohashEncodeType(longitude, latitude, step, hash); in geohashEncodeWGS84() 188 area->longitude.min = in geohashDecode() 190 area->longitude.max = in geohashDecode() [all …]
|
| H A D | geohash_helper.h | 52 int geohashBoundingBox(double longitude, double latitude, double radius_meters, 54 GeoHashRadius geohashGetAreasByRadius(double longitude, 56 GeoHashRadius geohashGetAreasByRadiusWGS84(double longitude, double latitude, 58 GeoHashRadius geohashGetAreasByRadiusMercator(double longitude, double latitude,
|
| H A D | geohash.h | 78 GeoHashRange longitude; member 99 double longitude, double latitude, uint8_t step, 101 int geohashEncodeType(double longitude, double latitude, 103 int geohashEncodeWGS84(double longitude, double latitude, uint8_t step,
|
| H A D | geo.h | 9 double longitude; member
|
| H A D | geo.c | 205 gp->longitude = xy[0]; in geoAppendIfWithinRadius() 358 D("area.longitude.min: %f\n", myarea.longitude.min); in membersOfAllNeighbors() 359 D("area.longitude.max: %f\n", myarea.longitude.max); in membersOfAllNeighbors() 629 addReplyHumanLongDouble(c, gp->longitude); in georadiusGeneric()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_geoip_module.c | 203 offsetof(GeoIPRecord, longitude), 0, 0 },
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_geoip_module.c | 225 offsetof(GeoIPRecord, longitude), 0, 0 },
|