class Geoq::Geohash
Public Instance Methods
gh_children()
click to toggle source
# File lib/geoq/entity.rb, line 51 def gh_children BASE_32.chars.map { |char| raw + char } end
gh_neighbors(inclusive = false)
click to toggle source
# File lib/geoq/entity.rb, line 55 def gh_neighbors(inclusive = false) if inclusive [raw] + GeoHash.neighbors(raw) else GeoHash.neighbors(raw) end end