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

Highest concentration area

I try to find groups of points within a radius of 300 meters that gather the highest amount. I am looking for the coordinates of this point. Note that the center point of the area that gather the highest amount has no reason to be a point in data…
mharinga
  • 1,708
  • 10
  • 23
0
votes
1 answer

How can I convert geopoint data of mongoDB to Elasticsearch 7.x in this case?

I want to convert geo data of mongodb to elasticsearch 7.x in realtime. I just know that should to use logstash-input-mongodb plugin of logstash. Please, let me know how can I make logstash.conf refer to below. I have a mongodb data like : (some…
GNOKOHEAT
  • 923
  • 6
  • 18
0
votes
3 answers

Is dynamodb-geo supported in lambda running Node?

I'm trying to create a simple application following this article, but I cannot get my Node Lambda function to find the dynamodb-geo package. Here is what I have: const AWS = require('aws-sdk'); const ddbGeo =…
0
votes
2 answers

Downloaded module with Anaconda, but it's not found in Pycharm environment

I successfully downloaded 'geohash' module using Anaconda. I confirmed it works by testing a line of code in Jupyter notebook. However, in Pycharm, it cannot find the geohash module. I see the module 'geohash' clearly is in my Anaconda…
DiamondJoe12
  • 1,879
  • 7
  • 33
  • 81
0
votes
0 answers

Adding external library to Pycharm when using Python in ArcGIS

I've installed arcGIS, which uses Python 2.7. It's sitting here: c:\python27\arcgis10.7 I am using PyCharm, and trying to install python-geohash which unfortunately, I cannot do because the interpreter is set to 2.7. To solve this, I've…
DiamondJoe12
  • 1,879
  • 7
  • 33
  • 81
0
votes
0 answers

Geohash KeyError when reading in CSV

I'm trying to read in a CSV of geohashes, to be converted to lat/longs. I'm using Python's Geohash module. Here's my code: import Geohash import csv with open('C:\Users\Data\myData.csv') as csvfile: readCSV = csv.reader(csvfile,…
DiamondJoe12
  • 1,879
  • 7
  • 33
  • 81
0
votes
1 answer

ArcPy AttributeError: 'module' object has no attribute 'FromGeohash'

I'm trying to use FromGeohash method in Arcpy but it is failing. Here's my code: import arcpy spatial_reference = arcpy.SpatialReference(4326) print spatial_reference extent = arcpy.FromGeohash('9q8yyx') It's giving me the error: Traceback…
DiamondJoe12
  • 1,879
  • 7
  • 33
  • 81
0
votes
1 answer

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 while doing pip3 install python-geohash

I tried all combinations and nothing made import geohash work: pip install geohash pip3 install geohash apt-get install python-dev pip3 install python-geohash the 4th one isn't even installing but threw an error on me…
Joseph
  • 203
  • 1
  • 3
  • 11
0
votes
1 answer

pip python-geohash problem during execution of command

pip install python-geohash I get the following error: Failed building wheel for python-geohash .... tokenize;file='/private/var/folders/y8/blhw9jx1133b9pyg6jbb4c100000gn/T/pip-install-8c750u/python-geohash/setup.py';f=getattr(tokenize, 'open',…
user2555159
  • 3
  • 1
  • 5
0
votes
0 answers

Expected [START_OBJECT] under [field], but got a [VALUE_STRING] in [geohash_grid]

I need to get last registered record for a serial number-or serial numbers- in a restricted area, also I should clustering these records upon zoom precision in map. I'm using Elasticsearch and I've mapped my document in this shape: { "mappings":…
0
votes
1 answer

Finding all geohashes within two bounding coordinates

I have coordinates, which are assigned a corresponding geohash in my database. Now I want to retrieve all of the coordinates within two bounding coordinates (top right and top left corner). How can I do that properly? I tried getting the geohash…
ReasoN
  • 366
  • 4
  • 17
0
votes
2 answers

Performing a geohash in memory range query

At the outset I would like to say I am not interested in using redis or any other spatial DB. I am trying to do a very simplistic in memory geohash range query and I am using the following software to calculate geohash- geohash-int C package and I…
gansub
  • 1,164
  • 3
  • 20
  • 47
0
votes
0 answers

Convert geohash into lat lon values

I have a 'location' column, containing strings like 0101000020E610000000000080FA8C384000000000526E4D40 Is it geohash? How to convert it in two values as latitude and longitude in R or Python or anything else?
Nata
  • 171
  • 3
  • 15
0
votes
1 answer

Anonymizing geo location coordinates in python

I have a csv of names, transaction amount and an exact longitude and latitude of the location where the transaction was performed. I want the final document to be anonymized - for that I need to change it into a CSV where the names are hashed (that…
0
votes
1 answer

How to save Live and Historical Vehicle Location data in Amazon DynamoDB

I am trying to process and store location information of about 30k vehicles in DynamoDB. The Live information will be stored every 10 seconds for each vehicle. It will be processed to Live track single vehicle The info will also be used to get…
RosAng
  • 1,010
  • 2
  • 18
  • 42