Vecinos de un geohash
geohash-neighborsDevuelve las 8 celdas geohash vecinas de la misma precisión, para búsquedas por cercanía. Cuándo: hay que calcular coordenadas, distancias, rumbos o áreas a partir de puntos dados. No para: decodificar un geohash en su punto central, caja delimitadora y margen de error (geohash-decode). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Returns the 8 neighboring geohash cells (n, ne, e, se, s, sw, w, nw) of the same precision, for proximity searches. When: coordinates, distances, bearings or areas have to be computed from given points. Not for: decoding a geohash to its center point, bounding box and error margins (geohash-decode). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geohash | Yes | Geohash (string; required; at least 1 chars; up to 12 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e | No | ||
| n | No | ||
| s | No | ||
| w | No | ||
| ne | No | ||
| nw | No | ||
| se | No | ||
| sw | No |