https://github.com/vanng822/geosearch
https://github.com/vanng822/geosearch
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vanng822/geosearch
- Owner: vanng822
- License: mit
- Created: 2015-06-07T12:00:01.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2026-02-21T08:49:36.000Z (4 months ago)
- Last Synced: 2026-02-21T16:05:13.716Z (4 months ago)
- Language: Python
- Size: 7.92 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Geosearch
Index and search on data containing geo-point within a circle.
It uses RTree and SpatialIndex for looking for items inside bbox.
Radius filter is applied further on result if needed.
## Install deps
### libspatialindex
# From source
cd deps/spatialindex-src-1.8.5
./configure
make
make install
# Ubuntu
sudo apt-get install libspatialindex-dev
You may need to run sudo and make sure install-sh executable
### install Python packages
pip install -r requirements.txt
## Running
### Building the index
mkdir index
python indexer.py
this can take sometimes
### Running api
python runserver.py
### Running client
cd client
python -m SimpleHTTPServer
## Running tests
py.test tests