Searched refs:latitude (Results 1 – 8 of 8) sorted by relevance
| /f-stack/app/redis-5.0.5/src/ |
| H A D | geohash_helper.c | 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() 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() 172 if (area.latitude.min < min_lat) { in geohashGetAreasByRadius() 177 if (area.latitude.max > max_lat) { in geohashGetAreasByRadius() [all …]
|
| H A D | geohash.c | 122 double longitude, double latitude, uint8_t step, in geohashEncode() argument 131 latitude > GEO_LAT_MAX || latitude < GEO_LAT_MIN) return 0; in geohashEncode() 136 if (latitude < lat_range->min || latitude > lat_range->max || in geohashEncode() 142 (latitude - lat_range->min) / (lat_range->max - lat_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() 184 area->latitude.min = in geohashDecode() 186 area->latitude.max = in geohashDecode() [all …]
|
| H A D | geohash_helper.h | 52 int geohashBoundingBox(double longitude, double latitude, double radius_meters, 55 double latitude, double radius_meters); 56 GeoHashRadius geohashGetAreasByRadiusWGS84(double longitude, double latitude, 58 GeoHashRadius geohashGetAreasByRadiusMercator(double longitude, double latitude,
|
| H A D | geohash.h | 79 GeoHashRange latitude; 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 | 10 double latitude; member
|
| H A D | geo.c | 206 gp->latitude = xy[1]; in geoAppendIfWithinRadius() 360 D("area.latitude.min: %f\n", myarea.latitude.min); in membersOfAllNeighbors() 361 D("area.latitude.max: %f\n", myarea.latitude.max); in membersOfAllNeighbors() 630 addReplyHumanLongDouble(c, gp->latitude); in georadiusGeneric()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_geoip_module.c | 199 offsetof(GeoIPRecord, latitude), 0, 0 },
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_geoip_module.c | 221 offsetof(GeoIPRecord, latitude), 0, 0 },
|