All Projects → jacopofar → location-data-to-heatmap

jacopofar / location-data-to-heatmap

Licence: MIT License
Create an animated heatmap from a Google location data Takeout export

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to location-data-to-heatmap

SimpleLocationGetter
No description or website provided.
Stars: ✭ 21 (-4.55%)
Mutual labels:  location-services
earthacrosstime
Twitter bot that posts videos showcasing how random locations in the world have changed since 1984.
Stars: ✭ 28 (+27.27%)
Mutual labels:  moviepy
bdapis
Rest API service. Build with NodeJS, Express, MongoDB
Stars: ✭ 65 (+195.45%)
Mutual labels:  location-services
ionic-angular-news-app
📋 Ionic-Angular app to fetch news articles from a REST API using Typescript interfaces to define the expected structure of the json objects returned & http service providers. Custom pipes used to modify API news article titles, contents and convert the Universal Time Constant (UTC) date string. Dark mode, Offline Storage of favourite articles & …
Stars: ✭ 21 (-4.55%)
Mutual labels:  location-services
location-api-sl
This API can be use to all developers to get location details of Sri Lanka 🇱🇰 including major cities, sub areas, districts and Provinces. ⛳️
Stars: ✭ 35 (+59.09%)
Mutual labels:  location-services
aic-mobile-ios
Art Institute of Chicago Official Mobile App
Stars: ✭ 29 (+31.82%)
Mutual labels:  location-services
XamarinForms.LocationService
Xamarin Background Services, Background Location Updates, Location Updates, BroadCastReceiver
Stars: ✭ 61 (+177.27%)
Mutual labels:  location-services
CLocation
中国国行安卓手机使用Google定位服务解决方案
Stars: ✭ 33 (+50%)
Mutual labels:  location-services
AdvantEDGE
AdvantEDGE, Mobile Edge Emulation Platform
Stars: ✭ 36 (+63.64%)
Mutual labels:  location-services
tracking-location-provider-android
Tracking the android mobile and animating marker smoothly in Google Maps. Tracking has been done both in foreground and background. Tested in Android Oreo 8.1, Android 6.0 and Android 5.0
Stars: ✭ 37 (+68.18%)
Mutual labels:  location-services
AnywhereMock
kotlin语言,模拟定位 Simulated positioning
Stars: ✭ 24 (+9.09%)
Mutual labels:  location-services
pinpoint
🌎 A python script for finding your Mac.
Stars: ✭ 56 (+154.55%)
Mutual labels:  location-services
ScoutAR
Augmented reality app displays nearby restaurant information in a live camera and map view.
Stars: ✭ 28 (+27.27%)
Mutual labels:  location-services
My Android Garage
A quick reference guide for Android development.
Stars: ✭ 66 (+200%)
Mutual labels:  location-services
aws-serverless-fullstack-swift-apple-carplay-example
This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.
Stars: ✭ 84 (+281.82%)
Mutual labels:  location-services
gps-permission-checks-livedata
Sample project to demonstrate how GPS and Runtime Location Permission checks can be done on UI and Background Service using LiveData
Stars: ✭ 37 (+68.18%)
Mutual labels:  location-services
surger
⚡ Is there surge pricing around me right now?
Stars: ✭ 20 (-9.09%)
Mutual labels:  location-services
ReminderPro
ReminderPro(location, note, voice recording)
Stars: ✭ 27 (+22.73%)
Mutual labels:  location-services
automating-video-itp
A 6 week class at ITP NYU
Stars: ✭ 48 (+118.18%)
Mutual labels:  moviepy
osx-location
🌎 Utility for polling OS X Location Services for current geographic coordinates. Works on Lion or better.
Stars: ✭ 31 (+40.91%)
Mutual labels:  location-services

Location to heatmap

This tool creates static and animated heatmaps of a given zone based on the data from Google location service.

It can be useful to find parts of a city that you never visited and visualize your movement and habits.

Heatmap of locations in Berlin

Click here to see the animated version

Usage

You need to have the Google location service active for some time to collect the data. Use Google Takeout to export the location history.

Then, choose a city or region you are interested in and produce a background map, for example taking a screenshot of Open Street Map.

Then, create a virtualenv, install the dependencies and run the script like this (example coordinates for Berlin, Germany):

python3 -m venv .venv
python3 -m pip install -r requirements.txt
python3 process.py region_name 132700000 135500000 524300000 526000000 1500 /path/to/location/history/export.json /path/to/background/map/image.png

You can use python3 process.py --help to get a description, but in short the numbers you see are the decimal coordinates multiplied by 10^7, the zoom level (1000 = 1 pixel per 10 meters).

It will create a global heatmap and one for every 15 minutes span after midnight. These images are then merged in an animated GIF and a webm video using the amazing MoviePy library.

License

MIT licensed, use as you wish.

Made with ❤️ with Python and open source libraries.

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