Questions tagged [geohashing]

Geohash is a latitude/longitude encoding system using Base-32 characters.

Geohash is a latitude/longitude geocode system invented by Gustavo Niemeyer when writing the web service at geohash.org, and put into the public domain. It is a hierarchical spatial data structure which subdivides space, then interleaves the latitude and longitude information in a bitwise fashion.

Geohashes offer properties like arbitrary precision and the possibility of gradually removing characters from the end of the code to reduce its size (and gradually lose precision).

Nearby places will often (but not always) present similar prefixes. The longer a shared prefix is, the closer the two places are.

See https://en.wikipedia.org/wiki/Geohash

188 questions
0
votes
0 answers

SQL query to compare column of geohashes with an unspecified number of short keys?

I've got a table with a column of long geohash keys. My goal is to write a (Snowflake) SQL query to select those rows that match a set of bounding boxes. For the corner of each bounding box I have computed a short geohash (length dictated by the…
Keith
  • 1,777
  • 3
  • 15
  • 20
0
votes
1 answer

Exception: type '_AsBroadcastStream>>' is not a subtype of 'Stream>>>

Full Android Studio Logcat complaint: Dart Unhandled Exception: type '_AsBroadcastStream>>' is not a subtype of type 'Stream>>>' I'm using GeoFlutterFire2 plugin, which…
Sam
  • 1,659
  • 4
  • 23
  • 42
0
votes
1 answer

Install superset on Windows 7 experienced through "build geo_hash" error

I install Anacond with Python 3.7 on Win7 and then install superset but experience build geo_hash error. It said Microsft Visual C++ 14.0 required. However I did have installed it already, see the screenshot: The error message shows: building…
Scott Chu
  • 972
  • 14
  • 26
0
votes
1 answer

How does Google S2's use of Hilbert Curve solve (if not, minimize) the problem of closer cells having different prefix values like in Geohash?

In the case of GeoHash, two points that are close can have totally different hash values, making it impossible to do things like prefix comparison. This is due to the fact that somewhere in the ancestry line, there is a split (in geographical…
Aung Khant
  • 324
  • 3
  • 14
0
votes
1 answer

Java: How to get geohash values close to a given geohash value?

I want to create a function that will create a geohash value from a given latitude and longitude, and then create 4 more geohash values close to it, say within 10 km. I can convert latitude and longitude into a geohash using: GeoHash geohash =…
josh
  • 21
  • 1
0
votes
1 answer

handling a geohash dict look up with spatial joins

I have a dictionary with geohash as keys and a value associated with them. I am looking up values from the dict to create a new column in my pandas dataframe. geo_dict = {'9q5dx': 10, '9q9hv': 15, '9q5dv': 20} df = pd.DataFrame({'geohash':…
kms
  • 1,810
  • 1
  • 41
  • 92
0
votes
1 answer

Query Nearest locations within 10 miles from AWS DynamoDB in Java

I am new to AWS DynamoDB and I want to find the list of locations within r mile of radius from DynamoDB table( based on Latitude, Longitude and GeoHash) What is the best possible way to achieve this?
0
votes
2 answers

GeoMesa Spark can't use geohash

I am using GeoMesa Spark on a Databricks cluster referring to this sample notebook: GeoMesa - NYC Taxis. I had no problem importing and using UDF functions such as st_makePoint and st_intersects. However, when I try to use st_geoHash to create a…
0
votes
0 answers

What is this type of geohash?

I'm trying to get the coordinates of makers of Garmin's ActiveCaptain database and I'm struggling decoding the geohash into "human" coordinates : id poi_type lastUpdate name searchIdentifier geohash corresponding…
Provist
  • 1
  • 1
0
votes
1 answer

Empty bounding box result with geomodel in GAE

I'm attempting to do a bounding box fetch in the GAE using geomodel in python. It is my understanding that you define a box and then the geomodel fetch will return all results with co-ordinates that lie within this box. I am currently inputting a…
Sean Bedford
  • 176
  • 9
0
votes
0 answers

How do you store a latitude and longitude as geohash in realtime database?

Right now I have a latitude and longitude for each user, under the child(uid).child("Coordinates"). Now I want to rather(or also) store the latitude and longitude as a geohash, to be user by Geofire. Where am I going wrong? guard let locValue:…
0
votes
0 answers

MongoDB $centerSphere vs Redis geospatial

I want to show nearby places on the map for a given user. I can do so either by query MongoDB like this: db.places.find( { loc: { $geoWithin: { $centerSphere: [ [ -88, 30 ], 10/3963.2 ] } } } ) and either by query a Reids geospatial set like…
Raz Buchnik
  • 7,753
  • 14
  • 53
  • 96
0
votes
2 answers

How to find points(latitude, longitude) at a fixed distance from the coast line?

I have latitude, longitude and geohash data for some places in a city near some sea(ex. Miami). I want to know which of these places are near the coast line(lets say within 100 m of the coastline). How can I approach this problem? Data I have : Name…
0
votes
1 answer

How to do in-memory search for polygons that contain a given point?

I have a PostgreSQL table that has a geometry type column, in which different simple polygons (possibly intersecting) are stored. The polygons are are all areas within a city. I receive an input of a point (latitude-longitude pair) and need to find…
Abubakar Mehmood
  • 938
  • 1
  • 10
  • 19
0
votes
1 answer

Geomesa-utils: How to choose ResolutionRange

Using geomesa-utils to get geohashes, I shall pass as parameter ResolutionRange instance. See…
Rolintocour
  • 2,934
  • 4
  • 32
  • 63