A python library to create animated timelapse of maps
Project description
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
. The library has dependencies to
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maplapse-0.0.6b0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for maplapse-0.0.6b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2a55d665c9858fd5478c88de8e8a760a1f685e428be664ec2cfcf73c3e27386 |
|
MD5 | 8d6acf559b5d8e1553bf33bf7887e2b2 |
|
BLAKE2b-256 | 250d313c4aa24c7b5226f84628f35b1faaba82f9e60f4e77ff763560fd2b53f6 |