// static bool BtreeLocation::hasPrefix(const BSONObj& key, const GeoHash& hash) { BSONElement e = key.firstElement(); if (e.eoo()) { return false; } return GeoHash(e).hasPrefix(hash); }
void R2RegionCoverer::getInitialCandidates() { // Add the full plane // TODO a better initialization. addCandidate(newCandidate(GeoHash())); }