https://github.com/souravbhadra/maplapse
A python library to create animated timelapse of maps
https://github.com/souravbhadra/maplapse
animation data-visualization geospatial-visualization gif gis map mapping python spatial-data video
Last synced: about 1 year ago
JSON representation
A python library to create animated timelapse of maps
- Host: GitHub
- URL: https://github.com/souravbhadra/maplapse
- Owner: souravbhadra
- License: mit
- Created: 2022-08-28T21:20:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-29T07:16:13.000Z (over 3 years ago)
- Last Synced: 2025-02-22T20:36:26.482Z (about 1 year ago)
- Topics: animation, data-visualization, geospatial-visualization, gif, gis, map, mapping, python, spatial-data, video
- Language: Python
- Homepage: https://maplapse.readthedocs.io
- Size: 33 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README




`MapLapse` is a Python-based library to create animated timelapse maps from given shapefiles. It is mainly built on top of `geopandas` and `matplotlib`, along with other open-source geospatial packages.
## Key Features
- Animated **choropleth** maps
- Animated **proportional circle** maps
- Supports output in `.gif` and `.mp4`
## Example
The `Animator` object of `maplapse` can easily create the animations. Here is a code snippet:
```
anim = Animator(shape='/county_shape.shp',
value='/century_data.csv',
time_column='Year',
data_column='Value',
shape_unique_column='ST_CNT',
map_type='choropleth',
out_path='/animation.gif')
anim.animate()
```
Output:


## Installation
Simply use `pip install maplapse`.
## Problems
If you face any issues with the library, please create an issue by following up the steps [here](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue)