All Projects → ashwin711 → Proximityhash

ashwin711 / Proximityhash

Licence: apache-2.0
Geohashes in proximity

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Proximityhash

Georaptor
Python Geohash Compression Tool
Stars: ✭ 143 (-38.1%)
Mutual labels:  utility, geolocation
Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (-3.03%)
Mutual labels:  utility
Weather
Taiwan's Weather Maps! 想查詢每個地方的天氣嗎!?藉由 Google Maps API 的地圖服務,以及中央氣象局網站的天氣預報,讓你快速輕鬆的查詢台灣 368 個鄉鎮的天氣概況!
Stars: ✭ 206 (-10.82%)
Mutual labels:  geolocation
Percircle
⭕️ CSS percentage circle built with jQuery
Stars: ✭ 217 (-6.06%)
Mutual labels:  circle
Discord Image Downloader Go
A simple tool which downloads pictures posted in discord channels of your choice to a local folder.
Stars: ✭ 210 (-9.09%)
Mutual labels:  utility
Util
Wonderful reusable code from Twitter
Stars: ✭ 2,488 (+977.06%)
Mutual labels:  utility
Geolocation
Flutter geolocation plugin for Android and iOS.
Stars: ✭ 205 (-11.26%)
Mutual labels:  geolocation
Use Position
🌍 React hook usePosition() for fetching and following a browser geolocation
Stars: ✭ 230 (-0.43%)
Mutual labels:  geolocation
Iploc
Fastest IP To Country Library
Stars: ✭ 224 (-3.03%)
Mutual labels:  geolocation
Kld Intersections
A library of intersection algorithms covering all SVG shape types
Stars: ✭ 214 (-7.36%)
Mutual labels:  circle
Facon
Tiny utility (272B) to create DOM elements with manner.
Stars: ✭ 212 (-8.23%)
Mutual labels:  utility
Electron Is
An 'is' utility for Electron which provides a set of handy functions, with a self-descriptive name.
Stars: ✭ 210 (-9.09%)
Mutual labels:  utility
Ios
OwnTracks' iPhone App
Stars: ✭ 222 (-3.9%)
Mutual labels:  geolocation
Lxrunoffline
A full-featured utility for managing Windows Subsystem for Linux (WSL)
Stars: ✭ 3,005 (+1200.87%)
Mutual labels:  utility
Cartodb
Location Intelligence & Data Visualization tool
Stars: ✭ 2,537 (+998.27%)
Mutual labels:  geolocation
Actual Number Picker
Android: A horizontal number picker
Stars: ✭ 206 (-10.82%)
Mutual labels:  circle
Powerkey
Remap your Macbook's power key to Forward Delete
Stars: ✭ 212 (-8.23%)
Mutual labels:  utility
Synth Shell
Boost your terminal, script by script
Stars: ✭ 217 (-6.06%)
Mutual labels:  utility
Relude
FP-inspired prelude/standard library for ReasonML projects
Stars: ✭ 230 (-0.43%)
Mutual labels:  utility
Bbo
bbo is a utility library of zero dependencies for javascript. 🍖🌭🍔
Stars: ✭ 227 (-1.73%)
Mutual labels:  utility

.. image:: http://donatecoins.org/btc/1HeMeMU2qUFDRZpRQMJ2v27Dw3h3gShJ5b.svg :target: http://donatecoins.org/btc/1HeMeMU2qUFDRZpRQMJ2v27Dw3h3gShJ5b

ProximityHash: Geohashes in Proximity (with the option of compression using Georaptor_)

.. _GeoRaptor: https://github.com/ashwin711/georaptor

Geohash is a geocoding system invented by Gustavo Niemeyer and placed into the public domain. It is a hierarchical spatial data structure which subdivides space into buckets of grid shape, which is one of the many applications of what is known as a Z-order curve, and generally space-filling curves.

ProximityHash generates a set of geohashes that cover a circular area, given the center coordinates and the radius. It also has an additional option to use GeoRaptor that creates the best combination of geohashes across various levels to represent the circle, starting from the highest level and iterating till the optimal blend is brewed. Result accuracy remains the same as that of the starting geohash level, but data size reduces considerably, thereby improving speed and performance.

Usage

::

$ proximityhash -h

::

usage: proximityhash [-h] [--georaptor GEORAPTOR] [--minlevel MINLEVEL] [--maxlevel MAXLEVEL] latitude longitude radius precision_level

positional arguments: latitude latitude of the center point longitude longitude of the center point radius radius of coverage in metres precision_level geohash precision level

optional arguments: -h, --help show this help message and exit --georaptor GEORAPTOR georaptor flag to compress the output (default: false) --minlevel MINLEVEL minimum level of geohash if georaptor set to true(default: 1) --maxlevel MAXLEVEL maximum level of geohash if georaptor set to true(default: 12)

Example

::

$ proximityhash 48.858156 2.294776 1000 7

.. image:: https://raw.github.com/ashwin711/proximityhash/master/images/proximityhash.png :width: 480 :height: 320

::

$ proximityhash 48.858156 2.294776 2000 7 --georaptor true

.. image:: https://raw.github.com/ashwin711/proximityhash/master/images/proximityhash_georaptor.png :width: 480 :height: 320

::

$ proximityhash 48.858156 2.294776 2000 7 --georaptor true --minlevel 3 --maxlevel 6

.. image:: https://raw.github.com/ashwin711/proximityhash/master/images/proximityhash_georaptor_limited.png :width: 480 :height: 320

Installation

To install proximityhash, simply: ::

$ pip install proximityhash

License:

Licensed under the Apache License, Version 2.0. ::

Copyright 2017 Ashwin Nair <https://www.linkedin.com/in/nairashwin7>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Contributors:

  • Ashwin Nair [https://github.com/ashwin711]
  • Arjun Menon - [http://github.com/arjunmenon92]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].