Skip to main content

A python library to create animated timelapse of maps

Project description

check-status license downloads

maplapse-logo

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: maplapse-ex1

maplapse-ex2

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

Project details


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.6b2.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

maplapse-0.0.6b2-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page