Gps Fun

GPS for Fun! How to Cluster Location Data to Find Popular Destinations
Alternatives To Gps Fun
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Arkit Corelocation5,280
232 months ago8August 23, 201945mitSwift
Combines the high accuracy of AR with the scale of GPS data.
5 months ago17mitCSS
Accurately Locate Smartphones using Social Engineering
Open Location Code3,7842615 days ago2April 21, 202157apache-2.0Java
Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.
Geo Heatmap1,919
7 months ago11mitPython
:world_map: Generate an interactive geo heatmap from your Google location data
324 days ago41October 22, 201830lgpl-3.0Swift
Location, motion, and activity recording framework for iOS
Phpgeo1,4506417a month ago46June 04, 202215mitPHP
Simple Yet Powerful Geo Library for PHP
132 years ago25August 06, 20201Java
Simplify getting user's location for Android
Cordova Plugin Geolocation6211,532422 months ago28November 20, 202035apache-2.0JavaScript
Apache Cordova Plugin geolocation
Mad Location Manager447
5 months ago45mitJava
Mad Location Manager is a library for GPS and Accelerometer data "fusion" with Kalman filter
7 years ago31Python
Pokemon GO iOS GPS Emulator - NO Jailbreak needed, lets you play the game on your Mac :)
Alternatives To Gps Fun
Select To Compare

Alternative Project Comparisons

Women Who Code - CONNECT Conference Workshop

What does this repo have?

  1. Data - A list of (lat,lng) coordinates around San Francisco. Look under gps-fun/data.
  2. A Frontend Page - To visualize the raw data and clustered results on the map.
  3. Scripting entries - Run clustering algorithms to generate clusters and find the most representative center of a cluster. Centers can be visualized on the frontend page.


The following steps will help you setup a development environment.

  1. Install pip

$ sudo easy_install pip
  1. Install virtualenv

$ sudo pip install virtualenv
  1. Clone this repository

$ git clone [email protected]:salami162/gps-fun.git
$ cd gps-fun
  1. Activate virtual environment

$ virtualenv venv
$ source venv/bin/activate
  1. Install the required python packages

$ pip install -r requirements.txt
  1. Find Help/Available options

$ python --help
  1. Running the server

python runserver

This will launch a server on localhost at port 5000. Hit up the index page at http://localhost:5000/ The Start/Stop toggle button on the top right corner is meant to start polling for changes in the trained clusters. Before you hit it the first time, make sure you've run atleast one round of clustering, so as to generate a ./data/trained_output.csv. To run one, see the next step.

  1. Running KMeans

python kmeans -c 4 -src './data/wwc_conf_dataset_tiny.csv' -dest './data/trained_output.csv'

Given a csv file of locations, generates clusters and outputs the cluster centers into another csv file. The above command will output 4 clusters, with the lat/lng of the centers in ./data/trained_output.csv

Recommended Reading

Here's some reading you can do to help familiarize yourself with Clustering, k-means clustering and Hierarchical clustering.


sklearn clustering links to docs for the python package that implements various clustering algorithms.

Popular Location Projects
Popular Gps Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Machine Learning
Mapbox Gl