Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 8 of 8) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dgeohash_helper.c126 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 Dgeohash.c122 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 Dgeohash_helper.h52 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 Dgeohash.h78 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 Dgeo.h9 double longitude; member
H A Dgeo.c205 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 Dngx_stream_geoip_module.c203 offsetof(GeoIPRecord, longitude), 0, 0 },
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_geoip_module.c225 offsetof(GeoIPRecord, longitude), 0, 0 },