Home
last modified time | relevance | path

Searched refs:geohash (Results 1 – 9 of 9) sorted by relevance

/plugin/spatialhelper/helper/
Dindex.php120 $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];
[all …]
Dsearch.php88 * @param string $geohash
94 final public function findNearby(string $geohash, Point $p = null): array argument
98 $decodedPoint = $_geohashClass->read($geohash);
105 $adjacent ['center'] = $geohash;
175 if (strlen($geohash) < 10) {
176 $precision = $this->precision[strlen($geohash)];
185 'geohash' => $geohash,
/plugin/structgeohash/
Dgeohash.js45 function decodeGeoHash(geohash) { argument
52 for (i=0; i<geohash.length; i++) {
53 c = geohash[i];
80 geohash = "";
85 while (geohash.length < precision) {
106 geohash += BASE32[ch];
111 return geohash;
/plugin/geotag/
Daction.php66 $geohash = $geotags ['geohash'] ?? null;
99 if (!empty($geohash)) {
100 $event->data ['meta'] [] = ['name' => 'geo.geohash', 'content' => $geohash];
/plugin/spatialhelper/
Daction.php255 $geohash = (string)$searchresults ['geohash'];
279 . ' (geohash: ' . $geohash . ')'
303 . ' (geohash: ' . $geohash . ')'
310 if (strlen($geohash) > 1) {
313 ['do' => 'findnearby', 'geohash' => substr($geohash, 0, -1)]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
DGeoHash.php128 $geohash = '';
137 return $geohash;
140 $geohash .= $char;
143 return $geohash;
/plugin/geotag/syntax/
Dgeotag.php106 $this->geohash($lat, $lon),
139 private function geohash(float $lat, float $lon): string function in syntax_plugin_geotag_geotag
157 [$lat, $lon, $alt, $geohash, $region, $placename, $country, $showlocation, $style] = $data;
209 $renderer->meta ['geo'] ['geohash'] = $geohash;
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/
DAbstractGeoDistance.php138 public function setGeohash(string $geohash): self argument
140 $this->_geohash = $geohash;
/plugin/elasticsearch/vendor/ruflin/elastica/
DCHANGELOG.md1776geohash parameter (BC break, before: ($key, $latitude, $longitude, $distance), after: ($key, $loca…