Lines Matching refs:adjacent
103 // find adjacent blocks
104 $adjacent = [];
105 $adjacent ['center'] = $geohash;
106 $adjacent ['top'] = Geohash::adjacent($adjacent ['center'], 'top');
107 $adjacent ['bottom'] = Geohash::adjacent($adjacent ['center'], 'bottom');
108 $adjacent ['right'] = Geohash::adjacent($adjacent ['center'], 'right');
109 $adjacent ['left'] = Geohash::adjacent($adjacent ['center'], 'left');
110 $adjacent ['topleft'] = Geohash::adjacent($adjacent ['left'], 'top');
111 $adjacent ['topright'] = Geohash::adjacent($adjacent ['right'], 'top');
112 $adjacent ['bottomright'] = Geohash::adjacent($adjacent ['right'], 'bottom');
113 $adjacent ['bottomleft'] = Geohash::adjacent($adjacent ['left'], 'bottom');
114 Logger::debug("adjacent geo hashes", $adjacent);
116 // find all the pages in the index that overlap with the adjacent hashes
118 foreach ($adjacent as $adjHash) {