Lines Matching refs:geohash
120 $geohash = $geometry->out('geohash');
121 Logger::debug('Update index for geohash: ' . $geohash);
122 return $this->addToIndex($geohash, $id);
128 * @param string $geohash
133 private function addToIndex(string $geohash, string $id): bool argument
137 if (!array_key_exists($geohash, $this->spatial_idx)) {
138 Logger::debug("Geohash $geohash not in index, just add $id.");
146 $pageIds = $this->spatial_idx [$geohash];
152 if ($knownHash === $geohash) {
167 $pageIds = $this->spatial_idx[$geohash];
172 $this->spatial_idx [$geohash] = $pageIds;
230 $geohash = $geometry->out('geohash');
234 return $this->addToIndex($geohash, 'media__' . $imgId);