Skip to content

Cubicroots-Playground/osmint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSMINT

OpenStreetMap INTelligence. Playing with OSM data.

Usage

Install dependencies with:

pip install -r requirements.txt

First store data into the local cache in order to avoid re-fetching it for every plot.

Use the --help flag on any command to get detailed information and options on its usage.

Download data

Changesets

Add changesets to the cache with the following command:

python3 main.py download changesets ${USERNAME}

Plot

python3 main.py plot --help

Heatmap

To plot a heatmap of changesets first load the changesets into the cache (see "Download data" -> "Changesets").

The following command will plot an interactive world map with the changesets and open it in your default browser:

python3 main.py plot heatmap ${USERNAME}

Daytraces

To plot a map of changes of the same day connected by lines first load the changesets into the cache (see "Download data" -> "Changesets").

The following command will plot an interactive world map with the changesets and open it in your default browser:

python3 main.py plot daytraces ${USERNAME}

Delete cache

To get rid of your locally cached data:

python3 main.py cache delete

Development

Dependencies

requirements.txt is generated with:

pipreqs . --force

About

OpenStreetMap INTelligence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages