All Projects → ashwin711 → Georaptor

ashwin711 / Georaptor

Licence: apache-2.0
Python Geohash Compression Tool

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Georaptor

Csso Rails
CSS Optimizer(csso) ruby wrapper for Rails Asset pipeline
Stars: ✭ 86 (-39.86%)
Mutual labels:  optimization, compression
Fast zlib
Heavily optimized zlib compression algorithm
Stars: ✭ 105 (-26.57%)
Mutual labels:  optimization, compression
Go Perfbook
Thoughts on Go performance optimization
Stars: ✭ 9,597 (+6611.19%)
Mutual labels:  performance, optimization
Ltecleanerfoss
The last Android cleaner you'll ever need!
Stars: ✭ 141 (-1.4%)
Mutual labels:  performance, optimization
Kepler
The open source full-stack geosocial network platform
Stars: ✭ 125 (-12.59%)
Mutual labels:  geospatial, geolocation
Pc Optimization Hub
collection of various resources devoted to performance and input lag optimization
Stars: ✭ 55 (-61.54%)
Mutual labels:  performance, optimization
Wavefile
Create, read and write wav files according to the specs. ⭐️ 🎶 ❤️
Stars: ✭ 100 (-30.07%)
Mutual labels:  command-line-tool, compression
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+610.49%)
Mutual labels:  optimization, compression
Endlines
Easy conversion between new-line conventions
Stars: ✭ 112 (-21.68%)
Mutual labels:  command-line-tool, utility
Optimus
Image conversion and optimization desktop app.
Stars: ✭ 111 (-22.38%)
Mutual labels:  optimization, compression
Geo On Fire
A library to create high performance geolocation queries for Firebase. Checkout the demos: https://run.plnkr.co/plunks/AYaN8ABEDcMntgbJyLVW/ and https://run.plnkr.co/plunks/xJgstAvXYcp0w7MbOOjm/
Stars: ✭ 54 (-62.24%)
Mutual labels:  geospatial, geolocation
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+1162.24%)
Mutual labels:  utility, command-line-tool
Sanic.js
JS Gotta go fast ! | Increase native JS functions performances
Stars: ✭ 50 (-65.03%)
Mutual labels:  performance, optimization
Powa Web
PoWA user interface
Stars: ✭ 66 (-53.85%)
Mutual labels:  performance, optimization
Tinystr
A small ASCII-only bounded length string representation.
Stars: ✭ 48 (-66.43%)
Mutual labels:  performance, optimization
Arctern
Stars: ✭ 94 (-34.27%)
Mutual labels:  geospatial, geolocation
Text Minimap
Generate text minimap/preview using Braille Patterns
Stars: ✭ 21 (-85.31%)
Mutual labels:  command-line-tool, utility
Model Optimization
A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.
Stars: ✭ 992 (+593.71%)
Mutual labels:  optimization, compression
Pg stat kcache
Gather statistics about physical disk access and CPU consumption done by backends.
Stars: ✭ 106 (-25.87%)
Mutual labels:  performance, optimization
Slickr
A collection of python and bash scripts to collect and analyze frame rendering performance in Android apps.
Stars: ✭ 126 (-11.89%)
Mutual labels:  utility, performance

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

GeoRaptor: Python Geohash Compression Tool

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.

Geohash creation for a polygon at a given precision level could result in a huge set of geohashes.

GeoRaptor creates the best combination of geohashes across various levels to represent a polygon, by 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 for large polygons, thereby improving speed and performance.

Following is a sample of what georaptor does

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

Input: 1096 geohashes at precision 6 for Singapore.

Output: 414 geohashes with a mix of precision 5 and 6.

Performance

Input sample size: 18,992,425

Output: 220,375

Total execution time: 35.8013219833 seconds

Usage

$ georaptor --output --minlevel --maxlevel

Example

$ georaptor sample.csv

OR

$ georaptor sample.csv --output sample_out.csv --minlevel 3 --maxlevel 4

Installation

To install georaptor, simply: ::

$ pip install georaptor

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.

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].